Nothing Special   »   [go: up one dir, main page]

CN101556575B - Method for allotting bandwidth of redundant array of independent disks automatically and device thereof - Google Patents

Method for allotting bandwidth of redundant array of independent disks automatically and device thereof Download PDF

Info

Publication number
CN101556575B
CN101556575B CN2009101393967A CN200910139396A CN101556575B CN 101556575 B CN101556575 B CN 101556575B CN 2009101393967 A CN2009101393967 A CN 2009101393967A CN 200910139396 A CN200910139396 A CN 200910139396A CN 101556575 B CN101556575 B CN 101556575B
Authority
CN
China
Prior art keywords
bandwidth
parameter
bandwidth parameter
utilized
target
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
Application number
CN2009101393967A
Other languages
Chinese (zh)
Other versions
CN101556575A (en
Inventor
唐娴
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chengdu Huawei Technology Co Ltd
Original Assignee
Huawei Symantec Technologies Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Huawei Symantec Technologies Co Ltd filed Critical Huawei Symantec Technologies Co Ltd
Priority to CN2009101393967A priority Critical patent/CN101556575B/en
Publication of CN101556575A publication Critical patent/CN101556575A/en
Application granted granted Critical
Publication of CN101556575B publication Critical patent/CN101556575B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the invention provides a method for allotting the bandwidth of a redundant array arithmetic system of independent disks automatically and a device thereof, which relate to the technical field of communication; wherein the method comprises the steps of: receiving an input target bandwidth parameter, determining an actually-used bandwidth parameter according to the target bandwidthparameter and respectively allotting a cache bandwidth of a cache unit and an arithmetic bandwidth of an arithmetic unit of a redundant array arithmetic system of the independent disks according to t he actually-used bandwidth parameter. The embodiment of the invention has the advantages that the bandwidth of the redundant array arithmetic system of the independent disks with a corresponding parameter can be configured according to the received target bandwidth parameter, thereby avoiding the problem that only a fixed bandwidth can be used for arithmetic, not only providing rather good servicequality, but also causing the hardware on the redundant array of the independent disks to save certain power consumption when the operand is small.

Description

A kind of method of allotting bandwidth of redundant array of independent disks automatically and device
Technical field
The present invention relates to the communications field, particularly a kind of method of allotting bandwidth of redundant array of independent disks automatically and device.
Background technology
RAID (Redundant Array of Independent Disk; Raid-array) is a kind of technology that the polylith hard disk is combined into the virtual big capacity hard disk of monolithic through corresponding controller; It is fast to have reading of data speed, the good advantage of fault-tolerance (Fault Tolerant).RAID is divided into different ranks according to the difference that realizes principle, and like RAID 0, RAID 1, RAID 5, RAID 6 etc., each grade all has standard separately.
In the corresponding standard of RAID 6 ranks; The data block that not only is divided into data and check code stores into respectively on each hard disk of disk array; But also added an independently verification disk; Can all back up the check code that is distributed on each disk together like this, prevent that a plurality of hard disks from breaking down simultaneously, improved safety of data greatly.RAID 6 can be when two hard disks breaks down simultaneously and still can recover data.
But; The inventor finds in realizing process of the present invention; The defective that exists in the prior art is: in the prior art RAID 6 is being carried out in the process of redundancy with failover capabilities or restore data, system only provides multiple RAID level fault-tolerant networks, but no matter which kind of other scheme of level all is to carry out computing with fixed-bandwidth; So not only good quality of service can not be provided, and cause the waste of computation bandwidth easily.
Summary of the invention
The purpose of the embodiment of the invention is to provide a kind of method and device of automatic distribution RAID 6 bandwidth; Automatically the method for distribution RAID 6 bandwidth and device can be different users and dispose suitable R AID 6 bandwidth; Thereby the service that not only makes the user obtain to suit, and can make the certain power consumption of hardware saving on the RAID 6.
In order to address the deficiencies of the prior art and realize above-mentioned purpose, the embodiment of the invention provides a kind of method of automatic distribution RAID 6 bandwidth, and said method comprises:
Receive the target bandwidth parameter of input;
Judge maximum bandwidth in the raid-array arithmetic system whether be assigned with finish and said target bandwidth parameter whether smaller or equal to the bandwidth that is not assigned with in the maximum bandwidth; If said maximum bandwidth be not assigned with finish and said target bandwidth parameter smaller or equal to the bandwidth that is not assigned with in the maximum bandwidth, confirm that then the utilized bandwidth parameter is said target bandwidth parameter;
According to the buffer memory bandwidth of the buffer unit in said RAID 6 arithmetic systems of said utilized bandwidth parameter configuration and the computing bandwidth of arithmetic element.
The embodiment of the invention also provides a kind of device of automatic distribution RAID 6 bandwidth, and said device comprises:
Receiving element is used to receive the target bandwidth parameter of input;
Decision package; The maximum bandwidth that is used for judging the raid-array arithmetic system whether be assigned with finish and said target bandwidth parameter whether smaller or equal to the bandwidth that is not assigned with in the maximum bandwidth; If said maximum bandwidth be not assigned with finish and said target bandwidth parameter smaller or equal to the bandwidth that is not assigned with in the maximum bandwidth, confirm that then the utilized bandwidth parameter is said target bandwidth parameter;
The band width configuration unit, the buffer memory bandwidth of the buffer unit of said RAID 6 arithmetic systems of utilized bandwidth parameter configuration that are used for confirming and the computing bandwidth of arithmetic element according to said decision package.
The beneficial effect of the embodiment of the invention is; According to the target bandwidth parameter that receives; Can dispose the bandwidth in RAID 6 arithmetic systems of corresponding parameter; Thereby avoid and to carry out computing with fixed-bandwidth, good quality of service not only is provided, and operand makes the certain power consumption of hardware saving on the RAID 6 after a little while.
Description of drawings
The description of drawings here is used for combining embodiment to provide further understanding of the present invention, constitutes the application's a part, but does not constitute qualification of the present invention.In the accompanying drawings:
Fig. 1 is the method flow block diagram of automatic distribution RAID 6 bandwidth of the embodiment of the invention one;
Fig. 2 is the FB(flow block) of step 102 among Fig. 1;
Fig. 3 is according to the FB(flow block) of the buffer memory bandwidth of said utilized bandwidth parameter configuration buffer unit in Fig. 1 step 103;
Fig. 4 is according to the FB(flow block) of the computing bandwidth of said utilized bandwidth parameter configuration arithmetic element in Fig. 1 step 103;
Fig. 5 is the apparatus structure block diagram of bandwidth in automatic distribution RAID 6 arithmetic systems of the embodiment of the invention three.
Embodiment
For making the object of the invention, technical scheme and advantage clearer, the embodiment of the invention is explained further details below in conjunction with accompanying drawing.The embodiment of the invention is a kind of technology of automatic distribution RAID 6 bandwidth; Target bandwidth parameter according to user's input is distributed to user's utilized bandwidth; Thereby avoid and to carry out computing with fixed-bandwidth; Good quality of service not only is provided, and has made the certain power consumption of hardware saving on the RAID 6.
At this, illustrative examples of the present invention and explanation thereof are used to explain the present invention, but not as to qualification of the present invention.
Embodiment one
The embodiment of the invention provides the method for bandwidth in a kind of automatic distribution RAID 6 arithmetic systems, and as shown in Figure 1, said method comprises:
101, receive the target bandwidth parameter of input;
102, confirm the utilized bandwidth parameter according to said target bandwidth parameter;
103, according to the buffer memory bandwidth of the buffer unit in said RAID 6 arithmetic systems of said utilized bandwidth parameter configuration and the computing bandwidth of arithmetic element.
Can receive the target bandwidth parameter of user communication device input in the embodiment of the invention step 101; This target bandwidth parameter can be that user communication device hopes to communicate the bandwidth numerical value that expectation reaches with RAID 6 arithmetic systems; The big more explanation user communication device of bandwidth parameter hopes that the speed that communicates with RAID 6 arithmetic systems is fast more, hopes to obtain communication efficiency preferably with this.Step 102 is confirmed the utilized bandwidth parameter according to the target bandwidth parameter that step 101 receives.Because the total bandwidth in the RAID6 arithmetic system is limited after all,, could reach reasonable disposition to total bandwidth like this so will confirm the utilized bandwidth parameter that said target bandwidth parameter is corresponding according to certain condition.Such as the utilized bandwidth parameter that can confirm user communication device according to conditions such as the priority of user communication device or network conditions, the information that ID carried when wherein conditions such as the priority of user communication device or network condition can be landed according to user communication device etc. is obtained.Step 103 can be according to the buffer memory bandwidth of the buffer unit in definite utilized bandwidth parameter configuration RAID 6 arithmetic systems of step 102 and the computing bandwidth of arithmetic element; Because source data is to arrive arithmetic element again through buffer unit; So at every turn in the process that source data is handled; The bandwidth of buffer unit and arithmetic element must be complementary; But because each source data amount of handling is different; So each buffer memory bandwidth that requires is also different with the computing amount of bandwidth, so buffer memory bandwidth in the buffer unit and the computing bandwidth in the arithmetic element must be adjustable, can not all fix as buffer memory bandwidth in the buffer unit of the prior art and the computing bandwidth in the arithmetic element.Such as the adjustable pushup storage of buffer unit available depth, i.e. the CELL FIFO of depth-adjustment (CELL First In First Out), arithmetic element available parallelism multiplier.
So just can distribute the bandwidth in RAID 6 arithmetic systems automatically; Thereby also adjusted the utilized bandwidth of user communication device; Make user communication device communicate through utilized bandwidth and RAID 6 arithmetic systems; RAID 6 arithmetic systems also can be carried out corresponding operation according to the bandwidth of automatic distribution, thereby proper service quality (QoS, Quality of Service) are provided for user communication device.
Need to prove; To before last time source data is handled, the target bandwidth parameter that newly receives input is not deposited in the storer, such as register; When to after last time source data is handled, newly confirm the utilized bandwidth parameter according to target bandwidth parameter renegotiation.
According to the bandwidth in RAID 6 arithmetic systems of said utilized bandwidth parameter configuration not necessarily is exactly the corresponding target bandwidth of said target bandwidth parameter; Generally do not have only when the maximum utilized bandwidth in RAID 6 arithmetic systems is assigned with and just can obtain the corresponding target bandwidth of target bandwidth parameter when finishing; Promptly the bandwidth numerical value in RAID 6 arithmetic systems of configuration this moment equals the target bandwidth parameter; Perhaps when the priority of user communication device is higher, just can obtain the corresponding target bandwidth of target bandwidth parameter, i.e. utilized bandwidth; If but the priority of certain user communication device is lower; And the maximum utilized bandwidth in RAID 6 arithmetic systems is assigned with and finishes; The utilized bandwidth that this moment, user communication device was assigned with possibly just be not equal to the target bandwidth; But serve as that the basis be the only utilized bandwidth of the user communication device distribution of lower priority through algorithm (such as priority algorithm) with the target bandwidth parameter; Though the user communication device of lower priority can not communicate through target bandwidth and RAID 6 arithmetic systems like this, also can communicate through a more suitable bandwidth and RAID 6 arithmetic systems, obtain good quality of service.
Like this, different user communication devices just can obtain different bandwidth and RAID 6 arithmetic systems communicate, thereby obtain different service quality.
Need to prove; The target bandwidth parameter can not be greater than the applicable maximum bandwidth of user communication device self of input target bandwidth parameter; Even the target bandwidth parameter of input greater than the applicable maximum bandwidth of user self, also can receive user self the restriction of applicable maximum bandwidth.
Present embodiment advantage compared with prior art is; User communication device no longer relies on fixed-bandwidth and RAID 6 arithmetic systems to communicate; Can obtain the corresponding utilized bandwidth of target bandwidth parameter according to the target bandwidth parameter of input; Rationally obtain utilized bandwidth separately, thereby enjoy service separately.
Embodiment two
The embodiment of the invention also provides the method for bandwidth in a kind of automatic distribution RAID 6 arithmetic systems; This method is behind the target bandwidth parameter that receives input; Confirm the utilized bandwidth parameter according to said target bandwidth parameter, and according to the buffer memory bandwidth of the buffer unit in said utilized bandwidth parameter configuration RAID 6 arithmetic systems and the computing bandwidth of arithmetic element.As shown in Figure 2, in the method that present embodiment provides, confirm that according to said target bandwidth parameter the utilized bandwidth parameter comprises:
201, the maximum bandwidth of judging RAID 6 whether be assigned with finish and the target bandwidth parameter whether smaller or equal to the bandwidth that is not assigned with in the maximum bandwidth; If said maximum bandwidth be not assigned with finish and the target bandwidth parameter smaller or equal to the bandwidth that is not assigned with in the maximum bandwidth, then execution in step 202; If said maximum bandwidth be assigned with finish or the target bandwidth parameter greater than the bandwidth that is not assigned with in the maximum bandwidth, then execution in step 203;
202, confirm that the utilized bandwidth parameter is the target bandwidth parameter;
203, confirm the priority of the user communication device of the said target bandwidth parameter of input, confirm the utilized bandwidth parameter that said target bandwidth parameter is corresponding according to said priority.
Confirm the utilized bandwidth parameter according to the target bandwidth parameter that receives in the embodiment of the invention; Wherein definite actual bandwidth parameter that uses can be confirmed according to the priority of the user communication device of importing the target bandwidth parameter and/or the maximum bandwidth distribution condition of RAID 6 arithmetic systems; Such as when the maximum bandwidth of RAID 6 arithmetic systems not by whole distribution and target bandwidth parameter the time smaller or equal to the bandwidth that is not assigned with in the maximum bandwidth, general utilized bandwidth parameter just equals the target bandwidth parameter; But when the maximum bandwidth of RAID6 has all been assigned or target bandwidth parameter greater than the bandwidth that is not assigned with in the maximum bandwidth time; Will consider to import the priority of the user communication device of target bandwidth parameter; The user communication device that priority is high can obtain the corresponding target bandwidth of target bandwidth parameter, also is the obtainable utilized bandwidth of user communication device.The utilized bandwidth that the user communication device that priority is low obtains just is not the corresponding target bandwidth of target bandwidth parameter, but the corresponding utilized bandwidth parameter of target bandwidth parameter that the process priority algorithm obtains.As long as confirm that the utilized bandwidth parameter just can be according to the buffer memory bandwidth of the buffer unit in said utilized bandwidth parameter configuration RAID 6 arithmetic systems and the computing bandwidth of arithmetic element, thereby acquisition utilized bandwidth.
Behind the target bandwidth parameter that receives the user communication device input, will carry out allocated bandwidth according to said target bandwidth parameter.Because the bandwidth that user communication device and RAID 6 arithmetic systems communicate is limited after all;, more user communication device and RAID 6 arithmetic systems can not satisfy each user's target bandwidth when communicating, so will distribute bandwidth according to the rank of the user communication device of input target bandwidth parameter.But the bandwidth that whether maximum bandwidth that before distributing bandwidth, can judge RAID 6 earlier according to step 301 assigns and whether the target bandwidth parameter is not assigned with in smaller or equal to maximum bandwidth; If do not assign and the target bandwidth parameter less this moment smaller or equal to the bandwidth statement that is not assigned with in the maximum bandwidth with the user communication device that RAID 6 arithmetic systems communicate; Can satisfy the target bandwidth parameter of these user communication device inputs fully; Through distributing the target bandwidth to communicate for they and RAID 6 arithmetic systems, RAID 6 arithmetic systems also can communicate according to different bandwidth that is assigned to and corresponding user communication device simultaneously.
But if the maximum bandwidth in RAID 6 arithmetic systems has assigned or though maximum bandwidth does not assign; But the target bandwidth parameter is greater than the bandwidth that is not assigned with in the maximum bandwidth; Explain that this moment and the user communication device that communicates of RAID 6 arithmetic systems are more; All user communication devices that can not satisfy input target bandwidth parameter fully obtain the target bandwidth; So will confirm the priority of the user communication device of the said target bandwidth parameter of input this moment according to step 303, and confirm the utilized bandwidth parameter that the target bandwidth parameter is corresponding according to said priority; And confirm that according to said priority the corresponding utilized bandwidth parameter of said target bandwidth parameter can be is the only utilized bandwidth parameter of the user communication device selection of lower grade through priority algorithm, thereby be that subsequent step is according to said utilized bandwidth parameter configuration utilized bandwidth.Though the user communication device of lower grade can not communicate through target bandwidth and RAID 6 arithmetic systems like this, also can communicate through a more suitable bandwidth and RAID 6 arithmetic systems, obtain good quality of service.
For instance; When the maximum bandwidth in RAID 6 arithmetic systems was 10M, user communication device D hoped to communicate with RAID 6 arithmetic systems, supposed that the target bandwidth parameter that user communication device D is provided with is 2M; Inserting the user communication device A of RAID 6 arithmetic systems and the utilized bandwidth of user communication device B acquisition earlier respectively is 3M; The utilized bandwidth that user communication device C obtains is 2M, the RAID6 arithmetic system after finding have user communication device D to insert, can judge whether current maximum bandwidth 10M assigns and target bandwidth parameter 2M whether smaller or equal to the bandwidth that is not assigned with in the maximum bandwidth; Because the utilized bandwidth that user communication device A and user communication device B obtain respectively is 3M; The utilized bandwidth that user communication device C obtains is 2M, and promptly total bandwidth is assigned as 8M, also has the 2M bandwidth not to be assigned with; And the target bandwidth parameter of user communication device D is 2M; Vacant 2M bandwidth can satisfy the target bandwidth of user communication device D fully, so the actual bandwidth parameter of user communication device D is the target bandwidth parameter, the utilized bandwidth of acquisition is 2M.
When having user communication device E to hope to communicate again with RAID 6 arithmetic systems, can judge earlier still whether current maximum bandwidth 10M assigns, suppose that the target bandwidth parameter that user communication device E is provided with is 2M; Because the utilized bandwidth that user communication device A and user communication device B obtain respectively is 3M; The utilized bandwidth that user communication device C and user communication device D obtain is 2M respectively, and promptly total bandwidth is assigned as 10M, does not have bandwidth left; So need the priority of judges communication facilities E this moment; The user profile that obtains when inserting according to user communication device E, as according to the priority that sign is confirmed user communication device E landed in the user profile, and the priority that user communication device A, B, C, D report when inserting before searching; Confirm that user communication device A, B, E are same one-level; The priority of user communication device C, D is identical and lower than user communication device A, B, E, thus maximum bandwidth is distributed again, because the priority of user communication device E is higher than user communication device C, D; So user communication device E can actual bandwidth parameter be the target bandwidth parameter, the utilized bandwidth of acquisition is 2M.The utilized bandwidth of user communication device A, B is constant, still respectively is 3M.The priority of user communication device C, D is minimum, respectively is 1M.In above-mentioned example; If user communication device A, B, C are same one-level; The priority of user communication device D, E is identical and lower than user communication device A, B, C, thus also to distribute again maximum bandwidth, because the priority of user communication device E is lower than user communication device A, B, C; So user communication device E can actual bandwidth parameter be not the target bandwidth parameter just; Can dispose number percent according to priority algorithm the bandwidth of user communication device D, E is configured this moment, and such as being 50% according to priority algorithm configuration number percent of the prior art, then the utilized bandwidth that obtains of user communication device D, E is 1M.The utilized bandwidth of user communication device A, B, C is constant.The priority of user communication device D, E is minimum, respectively is 1M.
Like this, different user communication devices just can obtain different bandwidth and RAID 6 arithmetic systems communicate, thereby obtain different service quality.
The advantage of doing like this is; Can according to priority the suitable utilized bandwidth parameter of user communication device selection of different stage; Thereby more rationally dispose the buffer memory bandwidth of the buffer unit in RAID 6 arithmetic systems and the computing bandwidth of arithmetic element accurately according to the utilized bandwidth parameter; Be the utilized bandwidth of user communication device, make the distribution of bandwidth to adjust flexibly, no longer arrest in each user and all communicate with fixed-bandwidth and RAID 6 arithmetic systems.
In the present embodiment; Will be after confirming the utilized bandwidth parameter according to the buffer memory bandwidth of the buffer unit in said utilized bandwidth parameter configuration RAID 6 arithmetic systems and the computing bandwidth of arithmetic element according to said target bandwidth parameter; Buffer memory bandwidth according to the said buffer unit of said utilized bandwidth parameter configuration can realize through mode as shown in Figure 3; Please with reference to Fig. 3, this method comprises:
301, the quantity of cache module in the said buffer unit of the corresponding said utilized bandwidth parameter of distribution;
302, adjust the buffer memory framework of said buffer unit according to the quantity of said cache module.
Said buffer memory bandwidth is meant the bandwidth of data buffer in RAID 6 arithmetic systems, also claims the front end data bandwidth according to the transmission direction of source data, so the data of buffer zone promptly can be described as front end data here.Because the source data that when user communication device and RAID 6 arithmetic systems communicate, inserts is the process buffer unit earlier; So using that the source data of suitable bandwidth and entering is flux matched must be according to the utilized bandwidth parameter; The quantity of cache module in the said buffer unit of the corresponding said utilized bandwidth parameter of step 301 distribution; Buffer unit in the present embodiment is the adjustable buffer unit of bandwidth, and such as the CELL FIFO of depth-adjustment, said buffer unit all has the data storage capacities cache module by several and forms; Such as the cell among the CELL FIFO; The quantity of these cache modules can change according to the utilized bandwidth parameter accordingly, and the quantity of said cache module changes the change that also means buffer memory framework in the buffer unit, finally makes the buffer memory bandwidth change.Such as in the CELL of depth-adjustment FIFO, the utilized bandwidth parameter is 3M, then needs 3 cell to carry out the buffer memory to source data; When the utilized bandwidth parameter is 5M, then just need 5 cell to carry out buffer memory to source data; Certainly the maximum bandwidth number in the buffer memory can not become, and promptly cache size can not become, but the change of cell quantity also means the change of each cell storage data capability.So in case change when the quantity of cache module, original buffer memory framework of buffer unit also just changes, be adjusted into new buffer memory framework according to the quantity of new cache module, thereby adapt to new source data amount size.
The buffer memory bandwidth indicate the RAID6 arithmetic system can the process source data volume ability of size; Adjust the buffer memory framework according to the corresponding cache module of parameter configuration; Thereby reach the purpose of allocating cache bandwidth; Improve the dirigibility of RAID6 arithmetic system greatly, when handling small amount of data, can save system power dissipation.
Computing bandwidth according to said utilized bandwidth parameter configuration arithmetic element in the present embodiment can realize that please with reference to Fig. 4, this method comprises through mode as shown in Figure 4:
The quantity of 401, distributing the concurrent operation unit of corresponding said utilized bandwidth parameter;
402, according to said concurrent operation element number adjustment computing framework.
Said computing bandwidth is meant according to the bandwidth in data operation district in said utilized bandwidth parameter configuration RAID 6 arithmetic systems, also claims the Back end data bandwidth according to the transmission direction of source data, so the data here promptly can be described as Back end data.And the computing bandwidth is configured mainly is to distribute the quantity of the concurrent operation unit of corresponding said utilized bandwidth parameter to realize through step 401; Because the concurrent operation unit can carry out concurrent operation to Back end data; The quantity of concurrent operation unit is many more; It is just strong more in the set time, simultaneously Back end data to be carried out the ability of computing, makes the computing bandwidth big more.But the change of the quantity of concurrent operation unit means the variation of computing framework, thus also to adjust the computing framework according to said concurrent operation element number according to step 402, thus could accomplish operation of data.
Back end data mainly comprises checking data and failure recovery data in the RAID arithmetic system, thus distribute the quantity of the concurrent operation unit of corresponding said utilized bandwidth parameter just distribute corresponding said utilized bandwidth parameter the parallel computation checking data arithmetic element and distribute the parallel fail data of corresponding said utilized bandwidth parameter to recover arithmetic element.
So it is main just to of the configuration of actual checking data computing bandwidth with considered repealed data recovery computing bandwidth to the configuration of computing bandwidth.Describe respectively in the face of this down.
It is different that different user communications device accesses RAID 6 arithmetic systems communicate mutual data; And each source data all will be carried out verification computing acquisition checking data in RAID 6 arithmetic systems, so how many source datas are the utilized bandwidth of different user communication facilities determined to be carried out the verification computing basically.Source data is carried out the arithmetic element that the verification computing then needs certain parallel computation checking data; So distribute the quantity of arithmetic element of the parallel computation checking data of corresponding said utilized bandwidth parameter; The arithmetic element quantity of parallel computation checking data is many more; It is just strong more Back end data to be carried out the ability of verification computing in unit interval, makes that verification computing bandwidth is big more.After distributing the arithmetic element of parallel computation checking data,, thereby prepare for the verification source data again according to the framework of the quantity adjustment verification computing of the arithmetic element of parallel computation checking data.The framework of wherein said verification computing comprises path, flow process and the operation time sequence of verification computing.
Equally, recover computing because how many source datas are the utilized bandwidth of different user communication facilities determine to have at most to be carried out data basically.Source data is carried out data recover the parallel fail data recovery arithmetic element that computing then need be certain; Recover the quantity of arithmetic element so distribute the parallel fail data of corresponding said utilized bandwidth parameter; The quantity that parallel fail data is recovered arithmetic element is many more; Back end data being carried out data in unit interval, to recover the ability of computing just strong more, and it is big more to make fail data recover the computing bandwidth.Distribute after parallel fail data recovers arithmetic element, the quantity adjustment fail data of recovering arithmetic element according to parallel fail data is again recovered the framework of computing, thereby prepares for the recovery computing of source data.The framework of wherein said fail data recovery computing comprises the sequential of path, flow process and the fail data recovery computing of fail data recovery computing.
In the present embodiment, the adjustment through to checking data computing bandwidth and fail data recovery bandwidth finally makes the computing bandwidth identical with the buffer memory bandwidth, thereby has guaranteed that Back end data bandwidth and front end data bandwidth are complementary.The adjustable fifo buffer of buffer unit available depth wherein, i.e. the CELL FIFO of depth-adjustment (CELL First In First Out), arithmetic element available parallelism multiplier.
The advantage of present embodiment is; Not only can confirm the utilized bandwidth parameter of target bandwidth parameter according to priority; And can be according to utilized bandwidth parameter configuration buffer memory bandwidth and computing bandwidth; And when configuration computing bandwidth, can obtain actual checking data computing bandwidth and obtain considered repealed data recovery computing bandwidth through disposing parallel fail data recovery arithmetic element through the arithmetic element of configuration parallel computation checking data; Thereby make that front end data bandwidth and Back end data bandwidth are complementary in the RAID6 arithmetic system; Not only more help inserting user communication device and obtain the proper service quality, also brief power consumption necessarily on hardware is promptly used the reasonable configuration bandwidth service of offering the best.
Embodiment three
In order better to realize embodiment one, embodiment two described methods; The embodiment of the invention also provides the device of bandwidth in a kind of automatic distribution RAID 6 arithmetic systems; This device can provide RAID6 service for user communication device, and is as shown in Figure 5, and Fig. 5 is the structured flowchart of device of a kind of automatic distribution RAID 6 bandwidth of the embodiment of the invention; Said device comprises receiving element 501, decision package 502 and band width configuration unit 503, wherein:
Receiving element 501 is mainly used in the target bandwidth parameter that receives input;
Decision package 502 is mainly used in according to said target bandwidth parameter and confirms the utilized bandwidth parameter;
Allocated bandwidth unit 503 is mainly used in the buffer memory bandwidth of the buffer unit in the said RAID6 arithmetic system of confirming according to said decision package of utilized bandwidth parameter configuration and the computing bandwidth of arithmetic element.
In the present embodiment; Decision package 502 be mainly used in whether the maximum bandwidth of judging in RAID 6 arithmetic systems assigns and the target bandwidth parameter whether smaller or equal to the bandwidth that is not assigned with in the maximum bandwidth; If do not assign and the target bandwidth parameter smaller or equal to the bandwidth that is not assigned with in the maximum bandwidth, confirm that then the utilized bandwidth parameter is the target bandwidth parameter; If assign or the target bandwidth parameter greater than the bandwidth that is not assigned with in the maximum bandwidth, then confirm the utilized bandwidth parameter that said target bandwidth parameter is corresponding according to the priority of the said target bandwidth parameter side of input.
Wherein, said allocated bandwidth unit 503 can comprise: buffer memory band width configuration module 531 and computing band width configuration module 532,
Buffer memory band width configuration module 531 is mainly used in the quantity of cache module in the said buffer unit that distributes corresponding said utilized bandwidth parameter, and adjusts the buffer memory framework of said buffer unit according to the quantity of said cache module;
Computing band width configuration module 532 is mainly used in the quantity of the concurrent operation unit that distributes corresponding said utilized bandwidth parameter, and according to said concurrent operation element number adjustment computing framework.
Wherein, When said computing band width configuration module 532 is used to distribute the quantity of concurrent operation unit of corresponding said utilized bandwidth parameter in said computing band width configuration module; Can specifically be used to distribute the quantity of arithmetic element of the parallel computation checking data of corresponding said utilized bandwidth parameter, and according to the computing framework of the quantity adjustment parallel computation checking data of the arithmetic element of parallel computation checking data; Can also specifically be used to distribute the parallel fail data of corresponding said utilized bandwidth parameter to recover the quantity of arithmetic element, and recover the computing framework that the parallel fail data of quantity adjustment of arithmetic element is recovered according to parallel fail data.
The adjustable fifo buffer of buffer unit available depth in the present embodiment, i.e. the CELL FIFO of depth-adjustment (CELL First In First Out), arithmetic element available parallelism multiplier.
The device of bandwidth not only can provide RAID6 service for user communication device in automatic distribution RAID 6 arithmetic systems in the embodiment of the invention; And can be according to buffer memory bandwidth and the computing bandwidth in the utilized bandwidth parameter configuration RAID6 arithmetic system; Thereby make the front end data bandwidth of RAID 6 and rear end computing bandwidth be complementary; Not only more help inserting user communication device and obtain the proper service quality; And on hardware brief power consumption necessarily, use the reasonable configuration bandwidth service of offering the best.
The method of describing in conjunction with embodiment disclosed herein or the step of algorithm can be directly with the software modules of hardware, processor execution, and perhaps the combination of the two is implemented.Software module can place the storage medium of any other form known in random access memory (RAM), internal memory, ROM (read-only memory) (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or the technical field.
Above-described specific embodiment; The object of the invention, technical scheme and beneficial effect have been carried out further explain, and institute it should be understood that the above is merely specific embodiment of the present invention; And be not used in qualification protection scope of the present invention; All within spirit of the present invention and principle, any modification of being made, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (5)

1. method of automatically distributing bandwidth in the raid-array arithmetic system is characterized in that said method comprises:
Receive the target bandwidth parameter of input;
Judge maximum bandwidth in the raid-array arithmetic system whether be assigned with finish and said target bandwidth parameter whether smaller or equal to the bandwidth that is not assigned with in the maximum bandwidth; If said maximum bandwidth be not assigned with finish and said target bandwidth parameter smaller or equal to the bandwidth that is not assigned with in the maximum bandwidth, confirm that then the utilized bandwidth parameter is said target bandwidth parameter; If said maximum bandwidth be assigned with finish or the target bandwidth parameter greater than the bandwidth that is not assigned with in the maximum bandwidth; Then confirm the priority of the said target bandwidth parameter side of input; The subscriber equipment priority allocation required bandwidth high to priority; The low subscriber equipment of priority is pro rata distributed bandwidth according to priority algorithm, with the utilized bandwidth parameter of confirming that said target bandwidth parameter is corresponding;
According to the buffer memory bandwidth of the buffer unit in the said raid-array arithmetic system of said utilized bandwidth parameter configuration and the computing bandwidth of arithmetic element, comprising:
The quantity of distributing cache module in the said buffer unit of corresponding said utilized bandwidth parameter; Dispose the buffer memory bandwidth of said buffer unit according to the quantity of said cache module;
The quantity of distributing the concurrent operation unit of corresponding said utilized bandwidth parameter; Dispose the computing bandwidth of said concurrent operation unit according to the quantity of said concurrent operation unit.
2. the method for bandwidth in the automatic distribution raid-array arithmetic system according to claim 1 is characterized in that said concurrent operation unit comprises: the arithmetic element of parallel computation checking data and parallel fail data are recovered arithmetic element.
3. device that automatically distributes bandwidth in the raid-array arithmetic system is characterized in that said device comprises:
Receiving element is used to receive the target bandwidth parameter of input;
Decision package; The maximum bandwidth that is used for judging the raid-array arithmetic system whether be assigned with finish and said target bandwidth parameter whether smaller or equal to the bandwidth that is not assigned with in the maximum bandwidth; If said maximum bandwidth be not assigned with finish and said target bandwidth parameter smaller or equal to the bandwidth that is not assigned with in the maximum bandwidth, confirm that then the utilized bandwidth parameter is said target bandwidth parameter; If said maximum bandwidth be assigned with finish or the target bandwidth parameter greater than the bandwidth that is not assigned with in the maximum bandwidth; Then confirm the priority of the said target bandwidth parameter side of input; The subscriber equipment priority allocation required bandwidth high to priority; The low subscriber equipment of priority is pro rata distributed bandwidth according to priority algorithm, with the utilized bandwidth parameter of confirming that said target bandwidth parameter is corresponding;
The band width configuration unit, the buffer memory bandwidth of the buffer unit of the said raid-array arithmetic system of utilized bandwidth parameter configuration that is used for confirming and the computing bandwidth of arithmetic element according to said decision package, said band width configuration unit comprises:
Buffer memory band width configuration module is used for distributing the quantity of the said buffer unit cache module of corresponding said utilized bandwidth parameter, and disposes the buffer memory bandwidth of said buffer unit according to the quantity of said cache module;
Computing band width configuration module is used to distribute the quantity of the concurrent operation unit of corresponding said utilized bandwidth parameter, and disposes the computing bandwidth of said concurrent operation unit according to said concurrent operation element number.
4. the device of bandwidth in the automatic distribution raid-array arithmetic system according to claim 3 is characterized in that: when said computing band width configuration module is used to distribute the quantity of concurrent operation unit of corresponding said utilized bandwidth parameter,
The quantity of arithmetic element of distributing the parallel computation checking data of corresponding said utilized bandwidth parameter, and dispose the computing bandwidth of said concurrent operation unit according to the quantity of the arithmetic element of parallel computation checking data; And
Distribute the parallel fail data of corresponding said utilized bandwidth parameter to recover the quantity of arithmetic element, and dispose the computing bandwidth of said concurrent operation unit according to the quantity that parallel fail data is recovered arithmetic element.
5. according to the device of bandwidth in claim 3 or the 4 described automatic distribution raid-array arithmetic systems, it is characterized in that said buffer unit is a pushup storage, said arithmetic element is a parallel multiplier.
CN2009101393967A 2009-05-21 2009-05-21 Method for allotting bandwidth of redundant array of independent disks automatically and device thereof Active CN101556575B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009101393967A CN101556575B (en) 2009-05-21 2009-05-21 Method for allotting bandwidth of redundant array of independent disks automatically and device thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009101393967A CN101556575B (en) 2009-05-21 2009-05-21 Method for allotting bandwidth of redundant array of independent disks automatically and device thereof

Publications (2)

Publication Number Publication Date
CN101556575A CN101556575A (en) 2009-10-14
CN101556575B true CN101556575B (en) 2012-04-25

Family

ID=41174693

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009101393967A Active CN101556575B (en) 2009-05-21 2009-05-21 Method for allotting bandwidth of redundant array of independent disks automatically and device thereof

Country Status (1)

Country Link
CN (1) CN101556575B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102262657B (en) * 2011-06-29 2014-12-03 华为数字技术(成都)有限公司 Method and system for storing multimedia data
CN109831391B (en) * 2018-12-29 2022-05-13 华为云计算技术有限公司 Flow control method, storage device and system in distributed storage system
WO2024164672A1 (en) * 2023-02-11 2024-08-15 华为云计算技术有限公司 Cloud technology-based data transmission method, cloud computing system and cloud management platform

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001089203A2 (en) * 2000-05-12 2001-11-22 Tivo, Inc. Method for improving bandwidth efficiency

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001089203A2 (en) * 2000-05-12 2001-11-22 Tivo, Inc. Method for improving bandwidth efficiency
CN1606343A (en) * 2000-05-12 2005-04-13 提维股份有限公司 Method for improving bandwidth efficiency

Also Published As

Publication number Publication date
CN101556575A (en) 2009-10-14

Similar Documents

Publication Publication Date Title
US11636015B2 (en) Storage system and control software deployment method
CN108023967B (en) Data balancing method and device and management equipment in distributed storage system
CN108200124B (en) High-availability application program architecture and construction method
US10333859B2 (en) Multi-tenant resource coordination method
CN104166606A (en) File backup method and main storage device
CN104836819A (en) Dynamic load balancing method and system, and monitoring and dispatching device
CN102694868A (en) Cluster system implementation and task dynamic distribution method
CN106909310B (en) Method and apparatus for path selection for storage systems
CN111045602B (en) Cluster system control method and cluster system
CN101118521A (en) System and method for spanning multiple logical sectorization to distributing virtual input-output operation
CN103124299A (en) Distributed block-level storage system in heterogeneous environment
KR101586354B1 (en) Communication failure recover method of parallel-connecte server system
CN105187464A (en) Data synchronization method, device and system in distributed storage system
CN102761528A (en) System and method for data management
WO2017118080A1 (en) Heat removing and heat adding method and device for central processing unit (cpu)
CN102982182A (en) Data storage planning method and device
CN101533336B (en) Redundant array of independent disks memory system and method thereof
CN104702691A (en) Distributed load balancing method and device
CN101556575B (en) Method for allotting bandwidth of redundant array of independent disks automatically and device thereof
CN104123183A (en) Cluster assignment dispatching method and device
CN106844052A (en) A kind of method and device that fusion cluster is built based on Windows Server
CN105487946A (en) Fault computer automatic switching method and device
CN102262597B (en) Memory pool management method and system
CN108762672B (en) Distributed storage device, method and cascade module
CN103414588B (en) VTL backup method and VTL nodes

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
C56 Change in the name or address of the patentee

Owner name: HUAWEI DIGITAL TECHNOLOGY (CHENGDU) CO., LTD.

Free format text: FORMER NAME: CHENGDU HUAWEI SYMANTEC TECHNOLOGIES CO., LTD.

CP01 Change in the name or title of a patent holder

Address after: 611731 Chengdu high tech Zone, Sichuan, West Park, Qingshui River

Patentee after: HUAWEI DIGITAL TECHNOLOGIES (CHENG DU) Co.,Ltd.

Address before: 611731 Chengdu high tech Zone, Sichuan, West Park, Qingshui River

Patentee before: CHENGDU HUAWEI SYMANTEC TECHNOLOGIES Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20220915

Address after: No. 1899 Xiyuan Avenue, high tech Zone (West District), Chengdu, Sichuan 610041

Patentee after: Chengdu Huawei Technologies Co.,Ltd.

Address before: 611731 Qingshui River District, Chengdu hi tech Zone, Sichuan, China

Patentee before: HUAWEI DIGITAL TECHNOLOGIES (CHENG DU) Co.,Ltd.