CN103139099B - adaptive bandwidth adjustment method and device - Google Patents
adaptive bandwidth adjustment method and device Download PDFInfo
- Publication number
- CN103139099B CN103139099B CN201310058679.5A CN201310058679A CN103139099B CN 103139099 B CN103139099 B CN 103139099B CN 201310058679 A CN201310058679 A CN 201310058679A CN 103139099 B CN103139099 B CN 103139099B
- Authority
- CN
- China
- Prior art keywords
- bandwidth
- access request
- territory
- information table
- equipment
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 50
- 230000003044 adaptive effect Effects 0.000 title claims abstract description 34
- 230000005540 biological transmission Effects 0.000 claims description 24
- 230000008569 process Effects 0.000 claims description 14
- 230000003247 decreasing effect Effects 0.000 claims description 8
- 238000000151 deposition Methods 0.000 claims description 3
- 230000001105 regulatory effect Effects 0.000 claims description 2
- 230000002452 interceptive effect Effects 0.000 abstract description 4
- 230000006870 function Effects 0.000 description 6
- 238000005516 engineering process Methods 0.000 description 4
- 238000010586 diagram Methods 0.000 description 3
- 230000009897 systematic effect Effects 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 239000012141 concentrate Substances 0.000 description 1
- 230000008713 feedback mechanism Effects 0.000 description 1
- 239000000203 mixture Substances 0.000 description 1
- 238000005192 partition Methods 0.000 description 1
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The present invention relates to a kind of adaptive bandwidth adjustment method and apparatus, the method is based on adaptive bandwidth adjustment device, adaptive bandwidth adjustment device includes bandwidth information table, described bandwidth information table is for recording bandwidth distribution and the use information of each memory access main equipment and system, the method includes: request receiving step, receives the access request of main equipment;Accept to judge step, judge whether to accept the access request of this equipment according to described bandwidth information table.The present invention can be on the premise of ensureing equipment high bandwidth and real-time demand, improve system bandwidth utilization rate, and reduce interfering of access request to greatest extent, thus in the case of ensureing equipment memory access performance, be effectively improved Bandwidth Management efficiency, improve equipment and the performance of system.
Description
Technical field
The present invention relates to modern heterogeneous multi-core system (Multi-processor System-on-Chip) memory access
Can optimize, particularly relate to a kind of adaptive bandwidth adjustment method and corresponding device.
Background technology
Multi-processor system-on-chip design is increasingly becoming the main flow of present multimedia system design.Along with multimedia should
Development, System on Chip/SoC is integrated increasing memory access main equipment (IP core).These memory access master
The access request of equipment has different bandwidth and real-time demand, different memory access main equipments to have not
With memory access mode (Memory Access Pattern) and bandwidth and real-time demand.Different memory access
Main equipment can require high bandwidth and Real-time ensuring technology simultaneously, and interfering of these access requests gradually becomes
Key factor for system for restricting chip performance.Each memory access main equipment of bandwidth partition technical point dispensing is certain
System bandwidth use quota, to realize effective allocation manager of memory access resource.Traditional Bandwidth Management plan
Slightly fair bandwidth allocation and fixed-bandwidth distribution.Fair bandwidth allocation strategy distributes to each main equipment
The memory bandwidth of identical quota;Fixed-bandwidth allocation strategy then gives the visit of the fixing quota of each main equipment distribution
Deposit bandwidth.Fair bandwidth allocation strategy and fixed-bandwidth allocation strategy lack visits different memory access main equipments
Deposit request characteristic and the consideration of access request interference, certain performance loss can be caused.Therefore,
Reducing access request interference is the key improving systematic function.
Summary of the invention
The technical problem to be solved is to provide a kind of adaptive bandwidth adjustment method and apparatus,
To solve the bandwidth improper problem causing performance loss of distribution.
In order to solve above-mentioned technical problem, the invention provides a kind of adaptive bandwidth adjustment method, its
The method includes bandwidth information based on adaptive bandwidth adjustment device, adaptive bandwidth adjustment device
Table, described bandwidth information table is for recording the bandwidth distribution of each memory access main equipment and system and using
Information, the method includes:
Request receiving step, receives the access request of main equipment;
Accept to judge step, judge whether to accept the access request of this equipment according to described bandwidth information table.
Further, described bandwidth information table includes that device bandwidth uses territory and device bandwidth regulation territory,
Described acceptance judges step, judges that according to described bandwidth information table the device bandwidth use territory of this main equipment is
No less than device bandwidth regulation territory, if being judged as YES, accepting described access request, otherwise refusing described visit
Depositing request, after refusing described access request, the method also includes:
Bandwidth adjustment step, adjusts bandwidth distribution in real time, turns and perform to accept to judge step after adjusting bandwidth distribution
Suddenly.
Further, described bandwidth information table includes bandwidth locking bit, is used for representing that equipment use bandwidth is
No reach distributed bandwidth;Described acceptance judges in step, when bandwidth locking bit represents not up to institute
During distribution bandwidth, accepting described access request, otherwise refuse described access request, refusing described memory access please
After asking, the method also includes:
Bandwidth adjustment step, adjusts bandwidth distribution in real time, turns and perform to accept to judge step after adjusting bandwidth distribution
Suddenly.
Further, described bandwidth information table also includes that system bandwidth uses territory, described Bandwidth adjustment step
Including:
Judge that system uses bandwidth whether less than setting value;
If judging less than setting value, then to increase the device bandwidth of the unaccepted main equipment of access request of transmission
Regulation territory;
If judging more than setting value, then to reduce the device bandwidth of the unaccepted main equipment of access request of transmission
Regulation territory.
Further, described wide-band-message table also includes bandwidth stepping domain information, it is judged that system uses bandwidth
During more than or less than setting value, described device bandwidth is increased or decreased according to described bandwidth stepping domain information and adjusts
Joint territory.
Further, described bandwidth information table also includes that system bandwidth uses territory, described Bandwidth adjustment step
Including:
Judge that system uses bandwidth whether less than setting value;
If judging less than setting value, then to increase the device bandwidth of the unaccepted main equipment of access request of transmission
Regulation territory;
If judging more than setting value, then the device bandwidth of all main equipments is regulated territory and is adjusted to initialize threshold
Value.
Further, described wide-band-message table also includes device bandwidth step direction position, by all main equipments
Device bandwidth regulation territory when being adjusted to initial threshold value, all devices bandwidth step direction position is believed simultaneously
Breath is updated to be incremented by.
Further, described bandwidth information table includes system bandwidth spare bits, described Bandwidth adjustment step
In, if system bandwidth spare bits represents also idle bandwidth, then the access request increasing transmission is unaccepted
The device bandwidth regulation territory of main equipment;If system bandwidth spare bits represents do not have idle bandwidth, then reduce
The device bandwidth regulation territory of the unaccepted main equipment of access request sent, maybe by the equipment of all main equipments
Bandwidth adjustment territory is adjusted to initial threshold value.
Further, if receive the access request of multiple main equipment, according to the preferential grating of access request
Confidence breath processes each access request successively.
For solving prior art, present invention also offers a kind of adaptive bandwidth adjustment device, described from
The bandwidth adjustment device adapted to includes:
Memory cell, for memory bandwidth information table, described bandwidth information table is used for recording each memory access master
The bandwidth distribution of equipment and system and the information of use;
Request reception unit, for receiving the access request of main equipment;
Accept judging unit, judge whether to accept the access request of this equipment according to described bandwidth information table.
Further, described bandwidth information table includes that device bandwidth uses territory and device bandwidth regulation territory;Connect
By judging unit, judge that according to described bandwidth information table the device bandwidth of this main equipment uses whether territory is less than
Device bandwidth regulation territory, if being judged as YES, accepts described access request, and otherwise refusing described memory access please
Ask;Described adaptive bandwidth adjustment device also includes:
Bandwidth adjustment unit, when refusing described access request, distributes for adjusting bandwidth in real time and notifies
Accept judging unit again to judge.
Further, described bandwidth information table includes that device bandwidth uses territory and device bandwidth regulation territory;Connect
By judging unit, judge that according to described bandwidth information table the device bandwidth of this main equipment uses whether territory is less than
Device bandwidth regulation territory, if being judged as YES, accepts described access request, and otherwise refusing described memory access please
Ask;Described adaptive bandwidth adjustment device also includes:
Bandwidth adjustment unit, when refusing described access request, distributes for adjusting bandwidth in real time and notifies
Accept judging unit again to judge.
Further, described bandwidth information table includes bandwidth locking bit, is used for representing that equipment use bandwidth is
No reach distributed bandwidth;When described bandwidth locking bit represents distributed bandwidth, described
Accept judging unit and accept described access request, otherwise refuse described access request;Described adaptive band
Wide adjusting means also includes:
Bandwidth adjustment unit, after refusing described access request, adjusts bandwidth distribution, adjusts band in real time
Turn after wide distribution and perform to accept to judge step.
Further, described bandwidth information table also includes that system bandwidth uses territory, described Bandwidth adjustment unit
Including:
System bandwidth judge module, is used for judging that system uses bandwidth whether less than setting value;
Device bandwidth adjustment module, it is judged that during less than setting value, is refused for increasing the access request of transmission
The device bandwidth regulation territory of exhausted main equipment, it is judged that during more than setting value, please for reducing the access of transmission
Ask the device bandwidth regulation territory of unaccepted main equipment.
Further, described wide-band-message table also includes bandwidth stepping domain information, it is judged that system uses bandwidth
During more than or less than setting value, described device bandwidth is increased or decreased according to described bandwidth stepping domain information and adjusts
Joint territory.
Further, described bandwidth information table also includes that system bandwidth uses territory, described Bandwidth adjustment unit
Including:
System bandwidth judge module, is used for judging that system uses bandwidth whether less than setting value;
Device bandwidth adjustment module, it is judged that during less than setting value, is refused for increasing the access request of transmission
The device bandwidth regulation territory of exhausted main equipment;When judging more than setting value, for setting all main equipments
Standby bandwidth adjustment territory is adjusted to initial threshold value.
Further, described bandwidth information table includes system bandwidth spare bits;If system bandwidth spare bits table
Showing also idle bandwidth, described Bandwidth adjustment unit increases the unaccepted main equipment of access request of transmission
Device bandwidth regulation territory, otherwise reduces the device bandwidth regulation of the unaccepted main equipment of access request of transmission
Territory, maybe regulates territory by the device bandwidth of all main equipments and is adjusted to initial threshold value.
Further, if receive the access request of multiple main equipment, described accept judging unit according to
Access request priority configuration information processes each access request successively.
Compared with prior art, the application adaptive bandwidth adjustment method and apparatus, use bandwidth information
Table records bandwidth distribution and the use information of each memory access main equipment and system, afterwards according to bandwidth
Information table decides whether to accept the access request of this equipment, with reduce access request interfere and
Unnecessary bandwidth cost, improves the energy efficiency of Bandwidth Management.
Other features and advantages of the present invention will illustrate in the following description, and, partly from froming the perspective of
Bright book becomes apparent, or understands by implementing the present invention.The purpose of the present invention is excellent with other
Point can be realized by structure specifically noted in specification, claims and accompanying drawing and be obtained
?.
Accompanying drawing explanation
Fig. 1 is the schematic diagram of the present invention adaptive bandwidth adjustment embodiment of the method 1;
Fig. 2 is the schematic diagram of the present invention adaptive bandwidth adjustment embodiment of the method 2;
Fig. 3 is the flow chart of bandwidth adjustment step in Fig. 2;
Fig. 4 is another flow chart of bandwidth adjustment step in Fig. 2;
Fig. 5, Fig. 6 are the schematic flow sheet of the present invention adaptive bandwidth adjustment embodiment of the method 3;
Fig. 7 to Fig. 9 is the embodiment schematic diagram of the present invention adaptive bandwidth adjustment device.
Accompanying drawing is used for providing being further appreciated by technical solution of the present invention, and constitutes one of specification
Point, it is used for explaining technical scheme together with embodiments herein, is not intended that the present invention
The restriction of technical scheme.
Detailed description of the invention
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with the accompanying drawings and tool
Technical scheme of the present invention is described in further detail by body embodiment, so that those skilled in the art
Member can be better understood from the present invention and can be practiced, but illustrated embodiment is not as the limit to the present invention
Fixed.It should be noted that in the case of not conflicting, the embodiment in the application and the spy in embodiment
Levy and can be mutually combined.
Below in conjunction with accompanying drawing and preferred embodiment, technical scheme is illustrated in further detail.Should
Working as understanding, specific embodiment described herein, only in order to explain the present invention, is not used to limit this
Bright technical scheme.
Embodiment 1
The present invention adaptive bandwidth adjustment embodiment of the method 1 is based on adaptive bandwidth adjustment device, certainly
The bandwidth adjustment device adapted to includes that bandwidth information table, described bandwidth information table are used for recording each memory access master
The bandwidth distribution of equipment and system and the information of use, as it is shown in figure 1, the method includes:
Step 101: request receiving step, receives the access request of main equipment;
Step 102: accept to judge step, judge whether to accept this equipment according to described bandwidth information table
Access request.
This method embodiment judges whether to accept according to the system bandwidth use information etc. of wide-band-message table record
The access request of equipment, to be effectively improved systematic function.
Alternatively, such as, described bandwidth information table includes that device bandwidth uses territory and device bandwidth regulation
Territory.
Device bandwidth uses territory, and the real-time bandwidth for recording equipment uses information;Alternatively, equipment belt
The wide value using territory can determine, every necessarily according to the average bandwidth use value in statistics equipment a period of time
This value is once updated by the time, to produce the average bandwidth use value in nearest a period of time.Therefore
Strictly speaking, this value is the device bandwidth use value before receiving access request, belongs to the history that bandwidth uses
The value of information.
Equipment went to read once the bandwidth in this equipment the past period (N) every certain set time
Use value, the bandwidth that this value was in this period (N) uses mean value.
Device bandwidth regulation territory, for the real-time bandwidth allocation threshold information of recording equipment;
Described acceptance judges step, i.e. step 102 judges this main equipment according to described bandwidth information table
Device bandwidth uses whether territory regulates territory less than device bandwidth, if being judged as YES, accepting described memory access please
Ask, otherwise refuse described access request.
Alternatively, described bandwidth information table includes bandwidth locking bit, is used for representing whether equipment uses bandwidth
Reach distributed bandwidth;Described acceptance judges step, i.e. step 102, when bandwidth locking bit represents
Not up to during distributed bandwidth, accept described access request, otherwise refuse described access request.
Embodiment 2
The present invention adaptive bandwidth adjustment embodiment of the method 2 is based on adaptive bandwidth adjustment device, certainly
The bandwidth adjustment device adapted to includes that bandwidth information table, described bandwidth information table are used for recording each memory access master
The bandwidth distribution of equipment and system and the information of use, as in figure 2 it is shown, the method includes:
Step 201: request receiving step, receives the access request of main equipment;
Step 202: accept to judge step, judge whether to accept this equipment according to described bandwidth information table
Access request, if judging to refuse described access request, then turns execution step 203;
Step 203: Bandwidth adjustment step, adjusts bandwidth distribution in real time, turns and perform after adjusting bandwidth distribution
Accept to judge step.
Described bandwidth information table also includes that system bandwidth uses territory, alternatively, described Bandwidth adjustment step,
I.e. step 203, as it is shown on figure 3, include:
Step 301: judge that system uses bandwidth whether less than setting value;
Step 302: if judging less than setting value, then to increase the unaccepted main equipment of access request of transmission
Device bandwidth regulation territory;
Step 303: if judging more than setting value, then to reduce the unaccepted main equipment of access request of transmission
Device bandwidth regulation territory.
Alternatively, described wide-band-message table also includes bandwidth stepping domain information, it is judged that system uses band roomy
In or less than setting value time, according to described bandwidth stepping domain information be increased or decreased described device bandwidth regulation
Territory.
Described bandwidth information table also includes that system bandwidth uses territory, alternatively, for reducing difference to greatest extent
Main equipment access request influence each other to improve systematic function, described Bandwidth adjustment step, i.e. step
203, as shown in Figure 4, including:
Step 401: judge that system uses bandwidth whether less than setting value;
Step 402: if judging less than setting value, then to increase the unaccepted main equipment of access request of transmission
Device bandwidth regulation territory;
Step 403: if judging more than setting value, then regulate territory regulation by the device bandwidth of all main equipments
For initial threshold value.
Or, bandwidth information table includes system bandwidth spare bits, is used for the most available free band of the system that identifies
Wide.When this system bandwidth spare bits is effective, expression system also has idle bandwidth, it is allowed to equipment heightens it
Bandwidth set by bandwidth adjustment territory uses threshold value.When this system bandwidth spare bits is invalid, expression system does not has
Available free bandwidth, only makes equipment turn down bandwidth set by its bandwidth adjustment territory and uses threshold value.
Specifically, if system bandwidth spare bits represents also idle bandwidth, then the access request of transmission is increased
The device bandwidth regulation territory of unaccepted main equipment;
If system bandwidth spare bits represents do not have idle bandwidth, then the access request reducing transmission is unaccepted
The device bandwidth regulation territory of main equipment, maybe regulates the device bandwidth of all main equipments territory and is adjusted to initialize
Threshold value.
Described wide-band-message table also includes device bandwidth step direction position, by the device bandwidth of all main equipments
When regulation territory is adjusted to initial threshold value, simultaneously by all devices bandwidth step direction position information updating for passing
Increase.
In foregoing embodiments, if receive the access request of multiple main equipment, according to access request
Priority configuration information processes each access request successively.
Embodiment 3
The present invention adaptive bandwidth adjustment embodiment of the method 3 is based on adaptive bandwidth adjustment device, certainly
The bandwidth adjustment device adapted to includes that bandwidth information table, bandwidth information table are used for recording each memory access main equipment
And the bandwidth of system is distributed and the information of use.
The present embodiment specifies corresponding counter to record memory access activity periods to each memory access main equipment
Number.Counter updated once to provide real-time memory access activity periods number (to refer to set every one period of set time
Bus cycles number when standby access request is accepted by system and processes), and then be calculated each and lead and set
Standby and the bandwidth occupancy ratio of system, simultaneously when system idle bandwidth is more than certain proportion time, mark
For system bandwidth idle condition.In this embodiment 3, each list item of bandwidth information table preserves a bandwidth
Regulation or use percent information, including following 7 territories:
Device bandwidth initial domain, for the original bandwidth allocation threshold information of recording equipment;
Device bandwidth uses territory, and the real-time bandwidth for recording equipment uses information;Alternatively, equipment belt
The wide value using territory can determine, every necessarily according to the average bandwidth use value in statistics equipment a period of time
This value is once updated by the time, to produce the average bandwidth use value in nearest a period of time.Therefore
Strictly speaking, this value is the device bandwidth use value before receiving access request, belongs to the history that bandwidth uses
The value of information.Equipment went to read once in this equipment the past period (N) every certain set time
Bandwidth use value, the bandwidth that this value was in this period (N) uses mean value.
System bandwidth uses territory, uses information for recording the real-time bandwidth of system;
Bandwidth stepping territory, the step size arranged for recording equipment bandwidth adjustment;
Device bandwidth regulation territory, for the real-time bandwidth allocation threshold information of recording equipment;
Device bandwidth step direction position, the direction increasing for recording equipment bandwidth adjustment or reducing;This sets
Standby bandwidth step direction position is arranged according to system bandwidth spare bits information.
System bandwidth spare bits, is used for whether the system that identifies also has idle bandwidth, when this system bandwidth is idle
When position is effective, expression system also has idle bandwidth, it is allowed to equipment heightens bandwidth set by its bandwidth adjustment territory
Use threshold value.When this system bandwidth spare bits is invalid, expression system does not has idle bandwidth, only makes to set
Threshold value is used for turning down bandwidth set by its bandwidth adjustment territory.
Further, also include:
Bandwidth locking bit, is used for the equipment that identifies and uses bandwidth to reach distributed bandwidth.In memory access
When main equipment sends new access request, use bandwidth information table index bandwidth locking identification information, read
The value of corresponding list item, to determine to accept still to refuse this access request.
I.e. when equipment uses bandwidth to reach distributed bandwidth (i.e. device bandwidth regulation territory) time, band
Wide latched position is that effectively now system refuses the access request of this equipment, and system changes over time,
Constantly read the memory bandwidth service condition of this renewal of the equipment, until the band in this equipment the past period
Wide service condition meets the threshold value that this device bandwidth is distributed, set by namely device bandwidth regulation territory
Value, at this moment by invalid for bandwidth latched position, simultaneity factor starts to accept the access request from this equipment.
As it is shown in figure 5, accepting after main equipment sends access request, carry out the rope to bandwidth information table
Draw.Judge whether to meet device bandwidth regulation thresholding, please for meeting the memory access in device bandwidth regulation territory
Ask, authorize, it is allowed to it carries out accessing operation.Please for being unsatisfactory for the memory access in device bandwidth regulation territory
Ask, forward the bandwidth adjustment flow process shown in Fig. 6 to.
Specifically, when certain main equipment sends access request, the present invention uses bandwidth information table to instruct
Whether accept or refuse the request of this accessing operation.
When bandwidth shared by this equipment (device bandwidth use territory) is less than the bandwidth threshold distributing to this equipment
(device bandwidth regulation territory), this request is accepted;When bandwidth shared by this equipment, (device bandwidth uses
Territory) it is more than the bandwidth threshold (device bandwidth regulation territory) distributing to this equipment, this request is rejected one section
Time is until above-mentioned condition is satisfied.
Therefore, bandwidth allocation information and real-time bandwidth are used information to be all saved in bandwidth information table by the present invention
In, decide whether to process this access request according to these information afterwards.
For improving system bandwidth utilization rate, when equipment sends request, the present invention uses bandwidth information table
Adjust bandwidth distribution in real time, as shown in Figure 6, update corresponding list item in bandwidth information table according to situations below
Value:
First, use thresholding less than setting value, mark band if system bandwidth spare bits is effectively system bandwidth
Wide step direction position information is incremental, and indexes bandwidth stepping domain information in bandwidth information table, believes according to this
Breath regulation device bandwidth allocation threshold (the highest be assigned as whole system bandwidth), updates relevant device band
Wide regulation domain information, and decide whether to process this visit according to the device bandwidth regulation domain information after updating
Deposit request;
Second, i.e. system bandwidth as invalid in system bandwidth spare bits uses thresholding to meet or exceed setting value,
Mark bandwidth step direction position information is for successively decreasing, and indexes bandwidth stepping domain information, root in bandwidth information table
Information regulation device bandwidth allocation threshold (the bandwidth threshold recorded in minimum allocation device bandwidth initial domain accordingly
Value), update relevant device bandwidth adjustment domain information (device bandwidth of successively decreasing distribution share or equipment belt is set
Wide distribution share is to initial threshold value), and judge whether according to the device bandwidth regulation domain information after updating
This access request should be processed;
When multiple equipment ask accessing operation simultaneously, carry out according to access request priority configuration information on
State handling process.
Further, for reduce to greatest extent different main equipment access request influence each other improve system
Performance, when the invalid i.e. system bandwidth of system bandwidth spare bits uses more than setting value, by all main equipments
Memory bandwidth allocation threshold is adjusted to initial threshold value (i.e. device bandwidth initial domain information), simultaneously by institute
It is incremental for having the position information updating of device bandwidth step direction.
By said process, the present invention can ensure equipment high bandwidth and the premise of real-time demand
Under, improve system bandwidth utilization rate, and reduce interfering of access request to greatest extent, thus
It is effectively improved Bandwidth Management efficiency in the case of guarantee equipment memory access performance, improves equipment and the property of system
Energy.
In above-mentioned bandwidth adjustment embodiment, certain request be issued or process time, the present invention according to
The processing procedure of bandwidth information table item index this access request of information guiding, and the renewal of corresponding list item is deposited
Enter in bandwidth information table.Meanwhile, the present invention is by more new equipment within each time period and the reality of system
Time memory access information.
Meanwhile, being configured to reduce to greatest extent different influencing each other of main equipment access request it is, this
Bright when the invalid i.e. system bandwidth of system bandwidth spare bits uses more than setting value, by all main equipment memory access
Bandwidth allocation threshold is adjusted to initial threshold value (i.e. device bandwidth initial domain information), sets all simultaneously
Standby bandwidth step direction position information updating is incremental.Thus in the case of ensureing equipment memory access performance effectively
Improve Bandwidth Management efficiency, improve equipment and the performance of system.
In order to realize said method embodiment, the invention provides a kind of adaptive bandwidth adjustment device,
As it is shown in fig. 7, comprises:
Memory cell, for memory bandwidth information table, described bandwidth information table is used for recording each memory access master
The bandwidth distribution of equipment and system and the information of use;
Request reception unit, for receiving the access request of main equipment;
Accept judging unit, judge whether to accept the access request of this equipment according to described bandwidth information table.
Corresponding to embodiment of the method 1, described bandwidth information table includes that device bandwidth uses territory and device bandwidth
Regulation territory;Accept judging unit, judge that according to described bandwidth information table the device bandwidth of this main equipment uses
Whether territory regulates territory less than device bandwidth, if being judged as YES, accepting described access request, otherwise refusing institute
State access request;
Alternatively, described bandwidth information table includes bandwidth locking bit, is used for representing whether equipment uses bandwidth
Reach distributed bandwidth;When described bandwidth locking bit represents distributed bandwidth, described in connect
Accepted described access request by judging unit, otherwise refuse described access request.
Corresponding to embodiment of the method 2, as shown in Figure 8, described adaptive bandwidth adjustment device also wraps
Include:
Bandwidth adjustment unit, after refusing described access request, adjusts bandwidth distribution, adjusts band in real time
Turn after wide distribution and perform to accept to judge step.
Alternatively, described bandwidth information table also includes that system bandwidth uses territory, as it is shown in figure 9, described band
Wide adjustment unit includes:
System bandwidth judge module, is used for judging that system uses bandwidth whether less than setting value;
Device bandwidth adjustment module, it is judged that during less than setting value, is refused for increasing the access request of transmission
The device bandwidth regulation territory of exhausted main equipment, it is judged that during more than setting value, please for reducing the access of transmission
Ask the device bandwidth regulation territory of unaccepted main equipment.
Preferably, described wide-band-message table also includes bandwidth stepping domain information, it is judged that system uses band roomy
In or less than setting value time, according to described bandwidth stepping domain information be increased or decreased described device bandwidth regulation
Territory.
Alternatively, described bandwidth information table also includes that system bandwidth uses territory, as it is shown in figure 9, described band
Wide adjustment unit includes:
System bandwidth judge module, is used for judging that system uses bandwidth whether less than setting value;
Device bandwidth adjustment module, it is judged that during less than setting value, is refused for increasing the access request of transmission
The device bandwidth regulation territory of exhausted main equipment;When judging more than setting value, for setting all main equipments
Standby bandwidth adjustment territory is adjusted to initial threshold value.
Alternatively, described bandwidth information table includes system bandwidth spare bits;If system bandwidth spare bits represents
Also having idle bandwidth, described Bandwidth adjustment unit increases setting of the unaccepted main equipment of access request of transmission
Standby bandwidth adjustment territory, otherwise reduces the device bandwidth regulation of the unaccepted main equipment of access request of transmission
Territory, maybe regulates territory by the device bandwidth of all main equipments and is adjusted to initial threshold value.
Further, if receive the access request of multiple main equipment, described accept judging unit according to
Access request priority configuration information processes each access request successively.
The present invention adaptive bandwidth adjustment method and corresponding device, use bandwidth information table to record respectively
The bandwidth distribution of individual memory access main equipment and system and the information of use, simultaneously mark system bandwidth free time shape
State.Set share according to device bandwidth afterwards and device bandwidth service condition decides whether to accept
The access request of this equipment, to reduce the impact of equipment access request.Meanwhile, in order to improve system bandwidth
Utilization rate, when equipment sends request, the present invention uses bandwidth information table to adjust bandwidth in real time to distribute part
Volume, takies situation according to system bandwidth and determines to judge whether to improve or reduce device bandwidth allocation
Degree, is distributed the information guiding handling process to its access request by the device bandwidth after adjusting, and forms bandwidth
Distribution regulation feedback mechanism.The present invention can ensure equipment high bandwidth and the premise of real-time demand
Under, improve system bandwidth utilization rate, and reduce interfering of access request to greatest extent, thus
It is effectively improved Bandwidth Management efficiency in the case of guarantee equipment memory access performance, improves equipment and the property of system
Energy.
Can be at the computer of such as one group of computer executable instructions in the step shown in the flow chart of accompanying drawing
System performs.And, although show logical order in flow charts, but in some cases,
Can be to be different from the step shown or described by order execution herein.
Those skilled in the art should be understood that device that above-mentioned the embodiment of the present application provided and/or
Each part of system, and all or part of step in method can instruct relevant hard by program
Part completes, and described program can be stored in computer-readable recording medium, such as read-only storage, disk
Or CD etc..They can concentrate on single calculating device, or is distributed in multiple calculating device institute
On the network of composition.Alternatively, they can realize with calculating the executable program code of device.From
And, can be stored in storing in device and being performed by calculating device, or they are made respectively
Become each integrated circuit modules, or the multiple modules in them or step are fabricated to single integrated circuit
Module realizes.So, the present invention is not restricted to the combination of any specific hardware and software.
Various unit described in the embodiment of the present invention, module are only carry out dividing according to its function one
Plant example, it will be appreciated that ground, in the case of system/device/apparatus realizes identical function, art technology
Personnel can provide one or more other function dividing mode, when concrete application can by wherein any one
Or multiple functional module uses a functional entity device or unit to realize, undeniablely, with up conversion
Mode is all within the application protection domain.
Although the embodiment that disclosed herein is as above, but described content only readily appreciates the present invention
And the embodiment used, it is not limited to the present invention.Technology people in any art of the present invention
Member, on the premise of without departing from the spirit and scope that disclosed herein, can be in the form implemented and thin
Any amendment and change is carried out on joint, but the scope of patent protection of the present invention, still must be with appended right
Claim is defined in the range of standard.
Claims (8)
1. an adaptive bandwidth adjustment method, it is characterised in that be applied to multi-processor system-on-chip,
The method includes bandwidth information based on adaptive bandwidth adjustment device, adaptive bandwidth adjustment device
Table, described bandwidth information table is for recording the bandwidth distribution of each memory access main equipment and system and using
Information, uses territory, device bandwidth regulation territory and system bandwidth to use territory, the method bag including device bandwidth
Include:
Request receiving step, receives the access request of main equipment;
Accept to judge step, judge that according to described bandwidth information table the device bandwidth of this main equipment uses territory
Whether regulate territory less than device bandwidth, if being judged as YES, accepting described access request, otherwise refusing institute
State access request;
After refusing described access request, perform Bandwidth adjustment step, adjust bandwidth distribution in real time, adjust
Turn after bandwidth distribution and perform to accept to judge step;
Wherein, described Bandwidth adjustment step includes:
Judge that system uses bandwidth whether less than setting value;
If judging less than setting value, then to increase the equipment belt of the unaccepted main equipment of access request of transmission
Wide regulation territory;
If judging more than setting value, then to reduce the equipment belt of the unaccepted main equipment of access request of transmission
Wide regulation territory, maybe regulates territory by the device bandwidth of all main equipments and is adjusted to initial threshold value;
Described bandwidth information table includes system bandwidth spare bits and device bandwidth step direction position;Described bandwidth
In set-up procedure, if system bandwidth spare bits represents also idle bandwidth, then the access increasing transmission please
Ask the device bandwidth regulation territory of unaccepted main equipment;If system bandwidth spare bits represents does not has idle band
Width, then regulate territory by the device bandwidth of all main equipments and be adjusted to initial threshold value, set all simultaneously
Standby bandwidth step direction position information updating is incremental.
2. the method for claim 1, it is characterised in that: described bandwidth information table includes bandwidth
Locking bit, is used for representing that equipment uses bandwidth to reach distributed bandwidth;Described acceptance judges step
In Zhou, when bandwidth locking bit represents distributed bandwidth, accept described access request, otherwise refuse
Exhausted described access request, after refusing described access request, the method also includes:
Bandwidth adjustment step, adjusts bandwidth distribution in real time, turns execution and accept judgement after adjusting bandwidth distribution
Step.
3. the method for claim 1, it is characterised in that: described bandwidth information table also includes band
Wide stepping domain information, it is judged that when system uses bandwidth more than or less than setting value, according to described bandwidth stepping
Domain information is increased or decreased described device bandwidth regulation territory.
4. the method for claim 1, it is characterised in that: if receiving the visit of multiple main equipment
When depositing request, process each access request successively according to access request priority configuration information.
5. an adaptive bandwidth adjustment device, it is characterised in that be applied to multi-processor system-on-chip,
Described adaptive bandwidth adjustment device includes:
Memory cell, for memory bandwidth information table, described bandwidth information table is used for recording each memory access
The bandwidth distribution of main equipment and system and the information of use, use territory, device bandwidth including device bandwidth
Regulation territory and system bandwidth use territory;
Request reception unit, for receiving the access request of main equipment;
Accept judging unit, judge that according to described bandwidth information table the device bandwidth of this main equipment uses territory
Whether regulate territory less than device bandwidth, if being judged as YES, accepting described access request, otherwise refusing institute
State access request;
Bandwidth adjustment unit, when refusing described access request, distributes for adjusting bandwidth in real time and leads to
Know that accepting judging unit judges again;Described Bandwidth adjustment unit includes:
System bandwidth judge module, is used for judging that system uses bandwidth whether less than setting value;
Device bandwidth adjustment module, it is judged that during less than setting value, for increasing the access request quilt of transmission
The device bandwidth regulation territory of the main equipment of refusal, it is judged that during more than setting value, for reducing the visit of transmission
Ask the device bandwidth regulation territory asking unaccepted main equipment, maybe the device bandwidth of all main equipments is regulated
Territory is adjusted to initial threshold value;
Described bandwidth information table includes system bandwidth spare bits and device bandwidth step direction position;If system
Bandwidth spare bits represents also idle bandwidth, and described Bandwidth adjustment unit increases the access request quilt sent
The device bandwidth regulation territory of the main equipment of refusal, otherwise regulates territory by the device bandwidth of all main equipments and adjusts
All devices bandwidth step direction position information updating for initial threshold value, is incremental by joint simultaneously.
6. device as claimed in claim 5, it is characterised in that: described bandwidth information table includes bandwidth
Locking bit, is used for representing that equipment uses bandwidth to reach distributed bandwidth;When described bandwidth locks
During position expression not up to distributed bandwidth, the described judging unit that accepts accepts described access request, otherwise refuses
Exhausted described access request;Described adaptive bandwidth adjustment device also includes:
Bandwidth adjustment unit, after refusing described access request, adjusts bandwidth distribution, adjusts in real time
Turn after bandwidth distribution and perform to accept to judge step.
7. device as claimed in claim 5, it is characterised in that: described bandwidth information table also includes band
Wide stepping domain information, it is judged that when system uses bandwidth more than or less than setting value, according to described bandwidth stepping
Domain information is increased or decreased described device bandwidth regulation territory.
8. device as claimed in claim 5, it is characterised in that: if receiving the visit of multiple main equipment
When depositing request, the described judging unit that accepts processes each visit successively according to access request priority configuration information
Deposit request.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310058679.5A CN103139099B (en) | 2012-12-31 | 2013-02-25 | adaptive bandwidth adjustment method and device |
Applications Claiming Priority (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2012105941572 | 2012-12-31 | ||
CN201210594157 | 2012-12-31 | ||
CN201210594157.2 | 2012-12-31 | ||
CN201310058679.5A CN103139099B (en) | 2012-12-31 | 2013-02-25 | adaptive bandwidth adjustment method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103139099A CN103139099A (en) | 2013-06-05 |
CN103139099B true CN103139099B (en) | 2016-08-24 |
Family
ID=48498424
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310058679.5A Active CN103139099B (en) | 2012-12-31 | 2013-02-25 | adaptive bandwidth adjustment method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103139099B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104426798B (en) * | 2013-09-02 | 2018-02-27 | 联想(北京)有限公司 | A kind of data processing method and electronic equipment |
CN105893140A (en) * | 2015-12-17 | 2016-08-24 | 乐视移动智能信息技术(北京)有限公司 | Method and apparatus used for allocating dynamic memory resources |
CN108632170A (en) * | 2017-03-15 | 2018-10-09 | 北京北大众志微系统科技有限责任公司 | A kind of method and device for realizing bandwidth allocation |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1647457A (en) * | 2002-05-08 | 2005-07-27 | 国际商业机器公司 | Bandwidth management in a wireless network |
CN101184041A (en) * | 2007-12-07 | 2008-05-21 | 烽火通信科技股份有限公司 | Method for implementing automatic grading bandwidth regulation on multi-service transmission platform |
CN101662799A (en) * | 2009-08-28 | 2010-03-03 | 中兴通讯股份有限公司 | Method and device for realizing admission control |
CN102333041A (en) * | 2009-03-05 | 2012-01-25 | 华为技术有限公司 | Method, system and equipment for admission control |
-
2013
- 2013-02-25 CN CN201310058679.5A patent/CN103139099B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1647457A (en) * | 2002-05-08 | 2005-07-27 | 国际商业机器公司 | Bandwidth management in a wireless network |
CN101184041A (en) * | 2007-12-07 | 2008-05-21 | 烽火通信科技股份有限公司 | Method for implementing automatic grading bandwidth regulation on multi-service transmission platform |
CN102333041A (en) * | 2009-03-05 | 2012-01-25 | 华为技术有限公司 | Method, system and equipment for admission control |
CN101662799A (en) * | 2009-08-28 | 2010-03-03 | 中兴通讯股份有限公司 | Method and device for realizing admission control |
Also Published As
Publication number | Publication date |
---|---|
CN103139099A (en) | 2013-06-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108667748B (en) | Method, device, equipment and storage medium for controlling bandwidth | |
CN110276182A (en) | The implementation method of API distribution current limliting | |
US8091088B2 (en) | Method and system for hierarchical resource management involving hard and soft resource limits | |
US8443373B2 (en) | Efficient utilization of idle resources in a resource manager | |
CN107357661A (en) | A kind of fine granularity GPU resource management method for mixed load | |
CN110597639B (en) | CPU distribution control method, device, server and storage medium | |
JPH1049390A (en) | System and method for sharing resource | |
CN103929819B (en) | Cognitive radio network slave user combination price-fixing and resource distributing method | |
CN105260230B (en) | Data center's resources of virtual machine dispatching method based on segmentation service-level agreement | |
GB2610144A (en) | Low trust privileged access management | |
CN103139099B (en) | adaptive bandwidth adjustment method and device | |
CN110297698A (en) | A kind of multipriority dynamic current limiting method, apparatus, server and storage medium | |
TWI744068B (en) | Resource management system and resource management method | |
CN113486042B (en) | Data processing method, device, computer readable medium and electronic equipment | |
JP3734732B2 (en) | Dynamic bandwidth allocation circuit, dynamic bandwidth allocation method, dynamic bandwidth allocation program, and recording medium | |
CN112882827A (en) | Method, electronic device and computer program product for load balancing | |
CN101431475B (en) | Settings of high-performance streaming media server and method for reading high-performance program | |
CN110532062B (en) | Virtual SoC bus system and configuration method | |
CN116938947A (en) | Task scheduling strategy considering calculation demand constraint | |
CN105072049A (en) | Resource distribution method and device oriented to multi-level elastic application of data center | |
CN110955522B (en) | Resource management method and system for coordination performance isolation and data recovery optimization | |
CN107294765B (en) | Network function virtualization self-adaptive trust management method | |
CN112765106A (en) | File access method, electronic device and computer program product | |
Rahman et al. | Group based resource management and pricing model in cloud computing | |
CN117149442B (en) | Hardware acceleration method and system based on distributed architecture database |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CP03 | Change of name, title or address | ||
CP03 | Change of name, title or address |
Address after: 100080, Beijing Haidian District Zhongguancun 151 North Street, building 11, resources Patentee after: Beijing Zhongzhi Microsystem Technology Co.,Ltd. Country or region after: China Address before: 100080, Beijing Haidian District Zhongguancun 151 North Street, building 11, resources Patentee before: BEIJING PKUNITY MICROSYSTEMS TECHNOLOGY Co.,Ltd. Country or region before: China |