CN111399985B - Load balancing method based on storage difference iteration in cloud computing environment - Google Patents
Load balancing method based on storage difference iteration in cloud computing environment Download PDFInfo
- Publication number
- CN111399985B CN111399985B CN202010198368.9A CN202010198368A CN111399985B CN 111399985 B CN111399985 B CN 111399985B CN 202010198368 A CN202010198368 A CN 202010198368A CN 111399985 B CN111399985 B CN 111399985B
- Authority
- CN
- China
- Prior art keywords
- virtual machine
- equal
- allocated
- iteration
- less
- 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 26
- 230000007246 mechanism Effects 0.000 claims abstract description 16
- 238000004364 calculation method Methods 0.000 claims description 9
- 238000012163 sequencing technique Methods 0.000 claims description 6
- 230000008569 process Effects 0.000 claims description 5
- 238000013500 data storage Methods 0.000 description 3
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000013523 data management Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000007726 management method Methods 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 238000013468 resource allocation Methods 0.000 description 1
- 230000004044 response Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45533—Hypervisors; Virtual machine monitors
- G06F9/45558—Hypervisor-specific management and integration aspects
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5083—Techniques for rebalancing the load in a distributed system
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45533—Hypervisors; Virtual machine monitors
- G06F9/45558—Hypervisor-specific management and integration aspects
- G06F2009/4557—Distribution of virtual machine instances; Migration and load balancing
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention relates to a load balancing method based on storage difference iteration in a cloud computing environment, which is characterized by comprising a difference storing mechanism and a stepping iteration mechanism, solving the problem of unbalanced load of user resource distribution in the cloud computing environment, realizing load balancing of a virtual machine for reasonably distributing storage tasks, effectively avoiding bad states of idling, overload and the like of the virtual machine, and fully playing the dynamic storage function of a server.
Description
Technical Field
The invention belongs to the technical field of cloud computing, and relates to a load balancing method based on storage difference iteration in a cloud computing environment.
Background
Cloud computing is one of distributed computing, and is to decompose a huge data computing processing program into countless small programs through a network cloud, analyze and process the small programs through a system consisting of a plurality of servers, obtain a computing result and return the computing result to a user. By this technique, the processing of tens of thousands of data can be completed in a short time, thereby providing a strong network service.
Cloud storage is a new concept provided by combining a cloud computing-based concept with big data storage, and also can be said to be a cloud computing system focusing on data storage and management. Cloud storage is a system that connects a large number of storage devices of different configurations and different types together by server clusters, distributed file systems and grid technologies, and provides data storage management as a whole. The load balancer is used for coordinating resource allocation among the servers to achieve load balancing.
At present, the load balancing strategy mainly comprises the following methods: (1) a random method, wherein the storage task is randomly allocated to the virtual machine; (2) the weighted random method is used for randomly distributing the storage tasks to the virtual machines, and the greater the weight of the virtual machines is, the greater the distribution possibility is; (3) a polling method, in which requests from users are distributed to internal virtual machines in turn; (4) the weighted polling method distributes different weights to each server according to different processing capacities of the servers, so that the servers can receive service requests with corresponding weight numbers. However, these methods still have some problems, mainly expressed in:
(1) the random strategy is unstable in the storage process, and the possibility that one or a plurality of servers are continuously stored and overloaded exists.
(2) The common polling method assumes that the processing performance of all servers is the same, does not consider the current remaining space and response speed of each server, and when the size of a storage task changes greatly, the polling algorithm easily causes load imbalance among the servers.
(3) The weights of the weighted random strategy and the weighted polling strategy in the storage need to be statically configured, and cannot be dynamically adjusted according to the current situation of the virtual machine.
Disclosure of Invention
The invention aims to provide a load balancing method based on storage difference iteration in a cloud computing environment, aiming at the problem of load imbalance of user resource distribution in the cloud computing environment.
The purpose of the invention is realized by the following technical scheme: a load balancing method based on storage difference iteration in a cloud computing environment is characterized by comprising the following steps: the content of the method comprises a differentiable value mechanism and a stepping iteration mechanism,
1) the differentiable mechanism;
in the cloud computing environment, a certain number of user demands in unit time are used as a batch processing object to be subjected to batch processing, and in the user demand batch processing process, all virtual machines are set to be M1,M2,...,MnThe size of the residual space of each virtual machine is S1,S2,...,SnThe performance index of the virtual machine is P1,P2,...,PnPerformance index P of jth virtual machinejThe calculation formula is as follows:
wherein S isjRepresents the size of the residual space of the jth virtual machine, CjDenotes the CPU utilization, V, of the jth virtual machinejIndicating the reference calculation speed, V, of the jth virtual machinekA performance index P of the k-th virtual machine1,P2,...,PnSequencing from low to high to obtain P1′,P2′,...,Pn', according to the performance index P1′,P2′,...,Pn' ordering the virtual machines, the order of the virtual machines is M in turn1′,M2′,...,Mn', the residual space after the virtual machine sequencing is S in sequence1′,S2′,...,Sn' let the task to be stored be T1,T2,…,TmThe size of the task to be stored is Z1,Z2,…,ZmWhen n isWhen the number of the virtual machines is more than or equal to m, namely the number of the virtual machines is more than or equal to the number of the tasks, defining the storable difference value of each virtual machine as follows:
Di=Si′-Zi,(1≤i≤m) (2)
wherein D isiRepresenting the storable difference value of the ith sorted virtual machine, Si' denotes the remaining space of the i-th virtual machine after sorting, ZiRepresenting the size of the ith task to be stored, and when n is less than m, defining the storable difference value of each virtual machine as:
Di-(i|n)×n=Si-(i|n)×n′-Zi,(1≤i≤m) (3)
wherein D isi-(i|n)×nRepresenting the storable difference, S, of the i- (i | n) × n sorted virtual machinesi-(i|n)×n' represents the size of the remaining space of the i- (i | n) × n virtual machines after sorting, ZiRepresenting the size of the ith task to be stored;
2) the step-back iteration mechanism;
when n is larger than or equal to m, namely the number of the virtual machines is larger than or equal to the number of the tasks, judging whether D is met or notiNot less than 0, if DiIf T is more than or equal to 0, theni(i-1, 2, …, M) are assigned to M in order1′,M2′,...,Mn', i.e. T1Is allocated to M1′,T2Is allocated to M2′,...,TmIs allocated to Mm', if Di< 0, judging whether S is satisfiedi+1′-ZiIf S is more than or equal to 0i+1′-ZiNot less than 0, adding TiIs allocated to Mi+1', if Si+1′-Zi< 0, judging whether S is satisfiedi+2′-ZiIf S is more than or equal to 0i+2′-ZiNot less than 0, adding TiIs allocated to Mi+2', if Si+2′-Zi< 0, judge Si+3′-Zi,., following Si′-ZiAllocate T > 0iIs allocated to Mi′,Si′-ZiStep back is judged S when the time is less than 0i+1′-ZiIf the rule is more than or equal to 0, the task to be stored is allocated to a restVirtual machines with a space size larger than the size of the task to be stored, in particular, when Si′-Zi,Si+1′-Zi,Si+2′-Zi,...,Sn′-ZiWhen the values are all less than 0, the first round of iteration is judged to be finished at the moment, and S is returned1′-ZiA second iteration is performed, i.e. S is calculated one by one1′-Zi,S2′-Zi,S3′-Zi,...,Sn′-ZiIf the condition is not satisfied, a third iteration is performed, …, following Si′-Zi,Si+1′-Zi,Si+2′-Zi,...,Sn′-ZiAll are less than 0, return to S1′-ZiCarrying out a new iteration and carrying out the iteration in a circulating way until the condition of more than or equal to 0 is finished, wherein each iteration possibly meets the requirement of S according to the randomness of the stored data and the released data of the virtual machine1′-Zi,S2′-Zi,S3′-Zi,...,Sn′-ZiIf the value is larger than or equal to zero, the performance of the virtual machine is arranged from low to high, and the subsequent virtual machine can store TiThe probability of (D) becomes higher in turn, the calculation time of the virtual machine can be saved, and when n is less than m, whether D is satisfied is judgedi-(i|n)×nNot less than 0, if Di-(i|n)×nIf the number of the distribution is more than or equal to 0, starting to distribute according to rounds, and carrying out T distribution in the first round1Is allocated to M1′,T2Is allocated to M2′,...,TnIs allocated to Mn', the second round will Tn+1Is allocated to M1', will Tn+2Is allocated to M2Until T is gotmIs allocated to Mm-(m|n)×n' at this point, if Di-(i|n)×nIf < 0, it is judged whether S is satisfiedi-(i|n)×n+1′-ZiIf S is more than or equal to 0i-(i|n)×n+1′-ZiIf T is more than or equal to 0, theniIs allocated to Mi-(i|n)×n+1If less than 0, determine whether S is satisfiedi-(i|n)×n+2′-ZiIf S is more than or equal to 0i-(i|n)×n+2′-ZiIf T is more than or equal to 0, theniIs allocated to Mi-(i|n)×n+2If it is less than0, judgment Si-(i|n)×n+3′-ZiIs more than or equal to 0i-(i|n)×n′-ZiAllocate T > 0iIs allocated to Mi-(i|n)×n′,Si-(i|n)×n′-ZiStep back is judged S when the time is less than 0i-(i|n)×n+1′-ZiIf the rule is greater than or equal to 0, the task to be stored is allocated to a virtual machine with the residual space size greater than that of the task to be stored, in particular, when S isi-(i|n)×n′-Zi,Si-(i|n)×n+1′-Zi,Si-(i|n)×n+2′-Zi,...,Sn′-ZiWhen the values are all less than 0, the first round of iteration is judged to be finished at the moment, and S is returned1′-ZiA new iteration is performed, i.e. S is calculated one by one1′-Zi,S2′-Zi,S3′-Zi,...,Sn′-ZiIf the condition is not satisfied, a third iteration is performed, …, following Si-(i|n)×n′-Zi,Si-(i|n)×n+1′-Zi,Si-(i|n)×n+2′-Zi,...,Sn′-ZiAll are less than 0, return to S1′-ZiAnd carrying out a new iteration and circulating until the condition that the condition is more than or equal to 0 is met.
The load balancing method based on storage difference iteration in the cloud computing environment comprises a difference storing mechanism and a stepping iteration mechanism, can solve the problem of unbalanced load of user resource distribution in the cloud computing environment, realizes load balancing of a virtual machine for reasonably distributing storage tasks, effectively avoids bad states of idling, overload and the like of the virtual machine, gives full play to the dynamic storage function of a server, and has the advantages of being scientific and reasonable, strong in applicability, good in effect and the like.
Drawings
Fig. 1 is a flowchart of a load balancing method based on storage difference iteration in a cloud computing environment according to the present invention.
Detailed Description
The invention is further illustrated by the following figures and detailed description.
Referring to fig. 1, the load balancing method based on storage difference iteration in a cloud computing environment of the present invention includes a difference storing mechanism and a back-stepping iteration mechanism:
1) the differentiable mechanism;
in the cloud computing environment, a certain number of user demands in unit time are used as a batch processing object to be subjected to batch processing, and in the user demand batch processing process, all virtual machines are set to be M1,M2,...,MnThe size of the residual space of each virtual machine is S1,S2,...,SnThe performance index of the virtual machine is P1,P2,...,PnPerformance index P of jth virtual machinejThe calculation formula is as follows:
wherein S isjRepresents the size of the residual space of the jth virtual machine, CjDenotes the CPU utilization, V, of the jth virtual machinejIndicating the reference calculation speed, V, of the jth virtual machinekA performance index P of the k-th virtual machine1,P2,...,PnSequencing from low to high to obtain P1′,P2′,...,Pn', according to the performance index P1′,P2′,...,Pn' ordering the virtual machines, the order of the virtual machines is M in turn1′,M2′,...,Mn', the residual space after the virtual machine sequencing is S in sequence1′,S2′,...,Sn' let the task to be stored be T1,T2,…,TmThe size of the task to be stored is Z1,Z2,…,ZmWhen n is larger than or equal to m, namely the number of the virtual machines is larger than or equal to the number of the tasks, defining the storable difference value of each virtual machine as follows:
Di=Si′-Zi,(1≤i≤m) (2)
wherein D isiRepresents the ith after sortingVirtual machine storable difference value, Si' denotes the remaining space of the i-th virtual machine after sorting, ZiRepresenting the size of the ith task to be stored, and when n is less than m, defining the storable difference value of each virtual machine as:
Di-(i|n)×n=Si-(i|n)×n′-Zi,(1≤i≤m) (3)
wherein D isi-(i|n)×nRepresenting the storable difference, S, of the i- (i | n) × n sorted virtual machinesi-(i|n)×n' represents the size of the remaining space of the i- (i | n) × n virtual machines after sorting, ZiRepresenting the size of the ith task to be stored;
2) the step-back iteration mechanism;
when n is larger than or equal to m, namely the number of the virtual machines is larger than or equal to the number of the tasks, judging whether D is met or notiNot less than 0, if DiIf T is more than or equal to 0, theni(i-1, 2, …, M) are assigned to M in order1′,M2′,...,Mn', i.e. T1Is allocated to M1′,T2Is allocated to M2′,...,TmIs allocated to Mm', if Di< 0, judging whether S is satisfiedi+1′-ZiIf S is more than or equal to 0i+1′-ZiNot less than 0, adding TiIs allocated to Mi+1', if Si+1′-Zi< 0, judging whether S is satisfiedi+2′-ZiIf S is more than or equal to 0i+2′-ZiNot less than 0, adding TiIs allocated to Mi+2', if Si+2′-Zi< 0, judge Si+3′-Zi,., following Si′-ZiAllocate T > 0iIs allocated to Mi′,Si′-ZiStep back is judged S when the time is less than 0i+1′-ZiIf the rule is greater than or equal to 0, the task to be stored is allocated to a virtual machine with the residual space size greater than that of the task to be stored, in particular, when S isi′-Zi,Si+1′-Zi,Si+2′-Zi,...,Sn′-ZiWhen the values are all less than 0, the first round of iteration is judged to be finished at the moment, and S is returned1′-ZiA second iteration is performed, i.e. S is calculated one by one1′-Zi,S2′-Zi,S3′-Zi,...,Sn′-ZiIf the condition is not satisfied, a third iteration is performed, …, following Si′-Zi,Si+1′-Zi,Si+2′-Zi,...,Sn′-ZiAll are less than 0, return to S1′-ZiCarrying out a new iteration and carrying out the iteration in a circulating way until the condition of more than or equal to 0 is finished, wherein each iteration possibly meets the requirement of S according to the randomness of the stored data and the released data of the virtual machine1′-Zi,S2′-Zi,S3′-Zi,...,Sn′-ZiIf the value is larger than or equal to zero, the performance of the virtual machine is arranged from low to high, and the subsequent virtual machine can store TiThe probability of (D) becomes higher in turn, the calculation time of the virtual machine can be saved, and when n is less than m, whether D is satisfied is judgedi-(i|n)×nNot less than 0, if Di-(i|n)×nIf the number of the distribution is more than or equal to 0, starting to distribute according to rounds, and carrying out T distribution in the first round1Is allocated to M1′,T2Is allocated to M2′,...,TnIs allocated to Mn', the second round will Tn+1Is allocated to M1', will Tn+2Is allocated to M2Until T is gotmIs allocated to Mm-(m|n)×n' at this point, if Di-(i|n)×nIf < 0, it is judged whether S is satisfiedi-(i|n)×n+1′-ZiIf S is more than or equal to 0i-(i|n)×n+1′-ZiIf T is more than or equal to 0, theniIs allocated to Mi-(i|n)×n+1If less than 0, determine whether S is satisfiedi-(i|n)×n+2′-ZiIf S is more than or equal to 0i-(i|n)×n+2′-ZiIf T is more than or equal to 0, theniIs allocated to Mi-(i|n)×n+2If it is less than 0, determine Si-(i|n)×n+3′-ZiIs more than or equal to 0i-(i|n)×n′-ZiAllocate T > 0iIs allocated to Mi-(i|n)×n′,Si-(i|n)×n′-ZiStep back is judged S when the time is less than 0i-(i|n)×n+1′-ZiWhether or not it is greater than or equal toRule 0, assign the task to be stored to a virtual machine with a size of the remaining space larger than the size of the task to be stored, in particular, when Si-(i|n)×n′-Zi,Si-(i|n)×n+1′-Zi,Si-(i|n)×n+2′-Zi,...,Sn′-ZiWhen the values are all less than 0, the first round of iteration is judged to be finished at the moment, and S is returned1′-ZiA new iteration is performed, i.e. S is calculated one by one1′-Zi,S2′-Zi,S3′-Zi,...,Sn′-ZiIf the condition is not satisfied, a third iteration is performed, …, following Si-(i|n)×n′-Zi,Si-(i|n)×n+1′-Zi,Si-(i|n)×n+2′-Zi,...,Sn′-ZiAll are less than 0, return to S1′-ZiAnd carrying out a new iteration and circulating until the condition that the condition is more than or equal to 0 is met.
The software routines involved in the present invention are organized according to automation, networking, and computer processing techniques, and are well known to those skilled in the art.
The particular embodiments of the present invention have been shown by way of example only and not by way of limitation, and it will be understood by those skilled in the art that variations and modifications in other variations may be made in the practice of the invention, and it is not necessary to exhaustively enumerate all embodiments, but rather, obvious variations and modifications may be resorted to without departing from the scope of the invention.
Claims (1)
1. A load balancing method based on storage difference iteration in a cloud computing environment is characterized by comprising the following steps: the content of the method comprises a differentiable value mechanism and a stepping iteration mechanism,
1) the differentiable mechanism;
in the cloud computing environment, a certain number of user demands in unit time are used as a batch processing object to be subjected to batch processing, and in the user demand batch processing process, all virtual machines are set to be M1,M2,...,MnThe size of the residual space of each virtual machine is S1,S2,...,SnThe performance index of the virtual machine is P1,P2,...,PnPerformance index P of jth virtual machinejThe calculation formula is as follows:
wherein S isjRepresents the size of the residual space of the jth virtual machine, CjDenotes the CPU utilization, V, of the jth virtual machinejIndicating the reference calculation speed, V, of the jth virtual machinekA performance index P of the k-th virtual machine1,P2,...,PnSequencing from low to high to obtain P1′,P2′,...,Pn', according to the performance index P1′,P2′,...,Pn' ordering the virtual machines, the order of the virtual machines is M in turn1′,M2′,...,Mn', the residual space after the virtual machine sequencing is S in sequence1′,S2′,...,Sn' let the task to be stored be T1,T2,…,TmThe size of the task to be stored is Z1,Z2,…,ZmWhen n is larger than or equal to m, namely the number of the virtual machines is larger than or equal to the number of the tasks, defining the storable difference value of each virtual machine as follows:
Di=Si′-Zi,1≤i≤m (2)
wherein D isiRepresenting the storable difference value of the ith sorted virtual machine, Si' denotes the remaining space of the i-th virtual machine after sorting, ZiRepresenting the size of the ith task to be stored, and when n is less than m, defining the storable difference value of each virtual machine as:
Di-(i|n)×n=Si-(i|n)×n′-Zi,1≤i≤m (3)
wherein D isi-(i|n)×nRepresents the i- (i | n) × n virtual items after sortingValue of the available difference of the machines, Si-(i|n)×n' represents the size of the remaining space of the i- (i | n) × n virtual machines after sorting, ZiRepresenting the size of the ith task to be stored;
2) the step-back iteration mechanism;
when n is larger than or equal to m, namely the number of the virtual machines is larger than or equal to the number of the tasks, judging whether D is met or notiNot less than 0, if DiIf T is more than or equal to 0, theniI is 1,2, …, M is assigned to M in sequence1′,M2′,...,Mn', i.e. T1Is allocated to M1′,T2Is allocated to M2′,...,TmIs allocated to Mm', if Di< 0, judging whether S is satisfiedi+1′-ZiIf S is more than or equal to 0i+1′-ZiNot less than 0, adding TiIs allocated to Mi+1', if Si+1′-Zi< 0, judging whether S is satisfiedi+2′-ZiIf S is more than or equal to 0i+2′-ZiNot less than 0, adding TiIs allocated to Mi+2', if Si+2′-Zi< 0, judge Si+3′-Zi,., following Si′-ZiAllocate T > 0iIs allocated to Mi′,Si′-ZiStep back is judged S when the time is less than 0i+1′-ZiIf the rule is greater than or equal to 0, the task to be stored is allocated to a virtual machine with the residual space size greater than that of the task to be stored, in particular, when S isi′-Zi,Si+1′-Zi,Si+2′-Zi,...,Sn′-ZiWhen the values are all less than 0, the first round of iteration is judged to be finished at the moment, and S is returned1′-ZiA second iteration is performed, i.e. S is calculated one by one1′-Zi,S2′-Zi,S3′-Zi,...,Sn′-ZiIf the condition is not satisfied, a third iteration is performed, …, following Si′-Zi,Si+1′-Zi,Si+2′-Zi,...,Sn′-ZiAll are less than 0, return to S1′-ZiCarrying out a new iteration and carrying out the iteration in a circulating way until the condition of more than or equal to 0 is finished, wherein each iteration possibly meets the requirement of S according to the randomness of the stored data and the released data of the virtual machine1′-Zi,S2′-Zi,S3′-Zi,...,Sn′-ZiIf the value is larger than or equal to zero, the performance of the virtual machine is arranged from low to high, and the subsequent virtual machine can store TiThe probability of (D) becomes higher in turn, the calculation time of the virtual machine can be saved, and when n is less than m, whether D is satisfied is judgedi-(i|n)×nNot less than 0, if Di-(i|n)×nIf the number of the distribution is more than or equal to 0, starting to distribute according to rounds, and carrying out T distribution in the first round1Is allocated to M1′,T2Is allocated to M2′,...,TnIs allocated to Mn', the second round will Tn+1Is allocated to M1', will Tn+2Is allocated to M2Until T is gotmIs allocated to Mm-(m|n)×n' at this point, if Di-(i|n)×nIf < 0, it is judged whether S is satisfiedi-(i|n)×n+1′-ZiIf S is more than or equal to 0i-(i|n)×n+1′-ZiIf T is more than or equal to 0, theniIs allocated to Mi-(i|n)×n+1If less than 0, determine whether S is satisfiedi-(i|n)×n+2′-ZiIf S is more than or equal to 0i-(i|n)×n+2′-ZiIf T is more than or equal to 0, theniIs allocated to Mi-(i|n)×n+2If it is less than 0, determine Si-(i|n)×n+3′-ZiIs more than or equal to 0i-(i|n)×n′-ZiAllocate T > 0iIs allocated to Mi-(i|n)×n′,Si-(i|n)×n′-ZiStep back is judged S when the time is less than 0i-(i|n)×n+1′-ZiIf the rule is greater than or equal to 0, the task to be stored is allocated to a virtual machine with the residual space size greater than that of the task to be stored, in particular, when S isi-(i|n)×n′-Zi,Si-(i|n)×n+1′-Zi,Si-(i|n)×n+2′-Zi,...,Sn′-ZiWhen the values are all less than 0, the first round of iteration is judged to be finished at the moment, and S is returned1′-ZiA new iteration is performed, i.e. S is calculated one by one1′-Zi,S2′-Zi,S3′-Zi,...,Sn′-ZiIf the condition is not satisfied, a third iteration is performed, …, following Si-(i|n)×n′-Zi,Si-(i|n)×n+1′-Zi,Si-(i|n)×n+2′-Zi,...,Sn′-ZiAll are less than 0, return to S1′-ZiAnd carrying out a new iteration and circulating until the condition that the condition is more than or equal to 0 is met.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010198368.9A CN111399985B (en) | 2020-03-19 | 2020-03-19 | Load balancing method based on storage difference iteration in cloud computing environment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010198368.9A CN111399985B (en) | 2020-03-19 | 2020-03-19 | Load balancing method based on storage difference iteration in cloud computing environment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111399985A CN111399985A (en) | 2020-07-10 |
CN111399985B true CN111399985B (en) | 2021-02-19 |
Family
ID=71431039
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010198368.9A Active CN111399985B (en) | 2020-03-19 | 2020-03-19 | Load balancing method based on storage difference iteration in cloud computing environment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111399985B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111813556B (en) * | 2020-07-21 | 2021-04-09 | 北京东方通软件有限公司 | Elastic expansion method of virtual cluster in cloud computing environment |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103634330A (en) * | 2012-08-20 | 2014-03-12 | 曙光信息产业(北京)有限公司 | Automatic resource distribution method in cloud calculation environment |
CN106339388A (en) * | 2015-07-08 | 2017-01-18 | 阿里巴巴集团控股有限公司 | Flexible scheduling method and device for database |
CN107273185A (en) * | 2017-06-19 | 2017-10-20 | 成都鼎智汇科技有限公司 | A kind of control method for equalizing load based on virtual machine |
CN108304256A (en) * | 2018-02-08 | 2018-07-20 | 北京信息科技大学 | The method for scheduling task and device of low overhead in a kind of edge calculations |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103414784B (en) * | 2013-08-26 | 2016-05-11 | 浙江大学 | Support the cloud computing resource scheduling method of contingency mode |
CN104598316B (en) * | 2014-12-25 | 2018-06-05 | 华为技术有限公司 | A kind of storage resource distribution method and device |
US10579439B2 (en) * | 2017-08-29 | 2020-03-03 | Red Hat, Inc. | Batched storage hinting with fast guest storage allocation |
JP2019159724A (en) * | 2018-03-12 | 2019-09-19 | 富士通株式会社 | Management device, management program, and management method |
CN110569157B (en) * | 2019-08-30 | 2023-07-14 | 华云数据有限公司 | Storage testing method, device, server and storage medium |
-
2020
- 2020-03-19 CN CN202010198368.9A patent/CN111399985B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103634330A (en) * | 2012-08-20 | 2014-03-12 | 曙光信息产业(北京)有限公司 | Automatic resource distribution method in cloud calculation environment |
CN106339388A (en) * | 2015-07-08 | 2017-01-18 | 阿里巴巴集团控股有限公司 | Flexible scheduling method and device for database |
CN107273185A (en) * | 2017-06-19 | 2017-10-20 | 成都鼎智汇科技有限公司 | A kind of control method for equalizing load based on virtual machine |
CN108304256A (en) * | 2018-02-08 | 2018-07-20 | 北京信息科技大学 | The method for scheduling task and device of low overhead in a kind of edge calculations |
Non-Patent Citations (2)
Title |
---|
Decoupling Design Based on Power Dispatching Management Cloud Computing Platform;Zheng Xu,Ti Guan,Huicong Li,Qiang Ma,Yujie Geng,Pei Zhang;《ICBDR 2018: Proceedings of the 2nd International Conference on Big Data Research》;20181029;全文 * |
Maximum incremental load recursive model based on LS-SVM considering;Ti Guan,Zheng Xu,Lin Lin,Guilin Zhang,Yujian Jia, Yawen Shi;《IEEE》;20190603;全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN111399985A (en) | 2020-07-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107124472A (en) | Load-balancing method and device, computer-readable recording medium | |
CN102541655A (en) | Method and device for implementing dynamic load balancing | |
CN107800768A (en) | Open platform control method and system | |
CN110233866B (en) | Load balancing method and load balancer | |
CN111124687A (en) | CPU resource reservation method, device and related equipment | |
CN111045808A (en) | Distributed network task scheduling method and device | |
US9106482B1 (en) | Systems and methods for proxy-less load balancing | |
CN113382074A (en) | Micro-service load balancing optimization method based on dynamic feedback | |
CN111399985B (en) | Load balancing method based on storage difference iteration in cloud computing environment | |
CN113377866A (en) | Load balancing method and device for virtualized database proxy service | |
CN105872082B (en) | Fine granularity resource response system based on container cluster load-balancing algorithm | |
CN111858014A (en) | Resource allocation method and device | |
CN114116228A (en) | Task allocation method, device, equipment and storage medium | |
CN117742948A (en) | Task distribution method, device electronic equipment and storage medium | |
CN112306670A (en) | Server cluster optimization method under Docker virtualization scene | |
CN112000477B (en) | Method, device, equipment and medium for load balancing in pod | |
CN112738247B (en) | Cloud computing resource distribution system and method based on multi-layer space scheduling | |
CN116225694A (en) | Load balancing method, device, system and storage medium | |
CN117544686B (en) | Intelligent scheduling method and system for data center server | |
CN114945024A (en) | Server load balancing optimization method based on long-term and short-term memory network | |
CN109445934B (en) | Query request distribution method and system | |
CN116192858B (en) | Load balancing method and device based on weighted traffic | |
CN111459651A (en) | Load balancing method, device, storage medium and scheduling system | |
CN116405500B (en) | System resource management method based on data analysis and cloud computing data analysis | |
CN116483567A (en) | Rendering storage server distribution method based on weighted polling algorithm |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |