CN105141697A - Multi-QoS constrained cloud computing task scheduling method - Google Patents
Multi-QoS constrained cloud computing task scheduling method Download PDFInfo
- Publication number
- CN105141697A CN105141697A CN201510593188.XA CN201510593188A CN105141697A CN 105141697 A CN105141697 A CN 105141697A CN 201510593188 A CN201510593188 A CN 201510593188A CN 105141697 A CN105141697 A CN 105141697A
- Authority
- CN
- China
- Prior art keywords
- qos
- resource
- task
- sigma
- prime
- 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.)
- Pending
Links
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/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/60—Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
- H04L67/61—Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources taking into account QoS or priority requirements
-
- 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
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention belongs to the cloud computing technical field and relates to a multi-QoS constrained cloud computing task scheduling method. According to the method, required QoS descriptions of all tasks submitted by users are given, and QoS service providing ability descriptions of all resources when the resources are distributed are given; and a scheduling algorithm tries to search a QoS optimal task scheduling scheme according to the QoS descriptions, so that the QoS optimal task scheduling scheme can be obtained. With the multi-QoS constrained cloud computing task scheduling method adopted, problems existing in multi-QoS constrained cloud computing task scheduling can be solved. The method can be applied to cloud computing task scheduling.
Description
Technical field
The present invention relates to field of cloud computer technology, especially a kind of cloud computing method for scheduling task of multi-QoS constraint.
Background technology
Cloud computing, as a kind of new computation schema and business model, is just being subject to the extensive attention of academia and industrial circle.Cloud computing technology is Distributed Calculation, the further developing of parallel computation and grid computing, Intel Virtualization Technology is utilized to turn to dynamic telescopic virtual resources pond virtual to computational resource, storage resources and bandwidth resources, take the Internet as carrier, be supplied to different users in the form of services as required and use.Data center under cloud computing environment can reduce the difficulty of operation, maintenance and management effectively, also improves the safety and reliability of data simultaneously.By adopting the mechanism of paying as required, user there is no need to buy extra hardware resource on network peak, not only saves the expense buying hardware like this, also eliminates the problem that maintenance and management brings simultaneously.
Task scheduling is very crucial in cloud computing technology and the problem of complexity, and the quality of this Resolving probiems not only has influence on the satisfaction of user, also greatly have impact on the overall performance of system.Therefore, under cloud environment, how scheduling is efficiently carried out rationally to task, improve the satisfaction of user, become the Focal point and difficult point of cloud computing research.Generally, task scheduling is a np complete problem.
At present a lot of scholars, expert and enterprise has been had to drop into a large amount of human and material resources and financial resources are studied task scheduling strategy wherein.Cloud computing produces on the basis of Distributed Calculation, effectiveness calculating, grid computing, and have a lot of task scheduling algorithms to be all find out on the basis of grid computing in cloud computing.And be exactly make all task runs complete required minimal time in a main target of Job Scheduling for Grid Computing algorithm, most task scheduling algorithm is all optimized task scheduling with this target.But in cloud computing model, the cost required for tasks carrying, the time expended and load balancing are all the resources of the focus instantly studied, different computing capability, and its use cost is also different.For the application of time-sensitive, provide the resource of stronger disposal ability, make task run complete the required time shorter; User for cost sensitivity applies, and provide lower to manage the resource of cost, make task run complete required cost lower, and cloud computing task scheduling algorithm is used by the just needs that meet of these different demands.
Having in cloud computing task scheduling manyly has problem to be solved, such as load balancing, minimum completion time etc.The minimum completion time of consideration task is a kind of strategy making full use of system resource, the resource in cloud resource pool has plenty of isomery, has plenty of isomorphism.In heterogeneous distributed cloud resource pool, by considering that minimum completion time factor can make the fast machine of the speed of service better be utilized, also make the slow machine of the speed of service to be unlikely to distribute too much task simultaneously thus cause tasks carrying time-out, so be necessary to the consideration of this factor of minimum completion time.
Load balancing is the method often used in cloud computing task scheduling, has following two kinds of forms: the first, in static equilibrium, utilize the information such as number of tasks and time of implementation, distributed by the method in mathematics between task and resource.The shortcoming of this strategy to cause resource utilization not high, and for the change of virtual machine information, this kind of balance policy cannot dynamically change; The second, in dynamic equalization, generally all realized by prediction.The foundation that algorithm carries out predicting is the current of virtual machine and historical information, then carries out task scheduling according to prediction result out.For this algorithm, rational standard is very important.The HDFS system of the product E C2 of Amazon and the product improvement of Yahoo also has in the product G FS of Google has all carried out actual research and apply to load balancing, so have great importance to the better cloud computing task scheduling algorithm of proposition.
In cloud computing task scheduling, also have another one to need key issue and the service quality (QoS, QualityofService) of solution badly.QoS is a kind of method solving network stabilization performance, and the delayed and congestion problems in network is also solved by service quality.And be applied to now in cloud computing, QoS is exactly some demands that reflection user proposes when using cloud computing system.QoS comprises much different parameters, and we compare and common are CPU, cost, access rate, distance, resource stability, memory capacity etc.Qos parameters much is more so had, so cloud computing system develops can provide different platform of serving to meet different user institute and putting forward the different demand of task owing to using in the demand of the user of cloud computing system.These platforms can meet the dissimilar demand of user, such as ensure the reliability of system, consume less cost, provide higher message transmission rate etc.The so many realization of QoS demand to cloud computing task scheduling algorithm are huge challenges.Even if consider the QoS demand of user to task for the current task scheduling based on QoS proposed, but also just consider one dimension QoS demand simply, namely single time or cost.Therefore, the task scheduling strategy proposing to have multi-QoS constraint is necessary for the development of cloud computing.
Summary of the invention
The technical problem that the present invention solves is the cloud computing method for scheduling task providing a kind of multi-QoS constraint; To propose the task scheduling strategy with multi-QoS constraint.
The technical scheme that the present invention solves the problems of the technologies described above is:
All users describe the QoS that submitting to of task provides its demand, and all resources also provide it when issuing and provide QoS service ability description; Dispatching algorithm describes according to these QoS, attempts search and obtains the optimized task scheduling approach of QoS.
Described method concrete steps are:
Obtain task-set T and cloud resource set R, and extract the QoS of task-set and resource;
Standardization is carried out to task-set and resource QoS, obtains standardization task QoS matrix and resource QoS matrix;
Calculating is respectively the QoS weights of resource;
Calculation task concentrates the comprehensive QoS demand of each task, and according to QoS demand by task descending, obtains new task-set TT;
To the task t1 of first in new task-set TT, calculate the QoS satisfaction that it arrives each resource; Obtain the resource set RR of QoS Maximum Satisfaction;
If only have a resource in maximum resource set RR, distribute t1 and perform to this resource; Otherwise, calculate the QoS distance that t1 to RR concentrates each resource, distribute t1 to QoS and perform apart from minimum resource;
If there is multiple task, then the task of Resources allocation is deleted, then, carry out according to the method for back the distribution performing resource; Until whole task matching execution resources;
After tasks carrying Resourse Distribute completes, whether polling tasks is finished;
As task is not finished, then check whether available free resource; When available free resource situation, judge further in the highest QoS satisfaction task sequence in this resource with or without not being finished of task; Not during available free resource, then turn back to the poll that whether complete tasks carrying is;
As complete in QoS satisfaction tasks carrying the highest in idling-resource, then by the task scheduling that is not finished to the idling-resource of this highest QoS satisfaction until tasks carrying is complete;
As tasks carrying is complete, then terminate.
Described set of tasks is expressed as T, T={t1, t2 ..., tn}, n=|T| are user task quantity, and ti represents i-th task of user, i ∈ [1, n]; Ti={tID, tLen, tQoS, tSta};
TID: the unique identification representing task;
TLen: the length representing task, unit: MI (MillionInstruction);
TQoS:tQoS={QoS
1, QoS
2..., QoS
krepresenting the multi-QoS demand of task, k represents QoS dimension;
TSta:tSta={tAlloc, tExecu, tSucc}, represent the state of user task, and divide three kinds: tAlloc to represent that task treats dispatch state, tExecu represents execution status of task, and tSucc represents tasks carrying completion status;
Being P, P={p1, p2..., p1}, l=|P| by the physical host set table method of resource, is physical host quantity; Ph={pID, pType, pSta}.
PID: the unique identification representing physical host;
Ptype: the type representing physical host, as work station, large-scale computer or microcomputer etc.;
Psta: represent the state of physical host, Psta={pFree, pRun}, pFre represent that physical host is in idle condition, does not namely dispose virtual machine or virtual machine is not executed the task, and pRun represents that physical host is in running order;
Represent resource with virtual machine form, resource collection is expressed as R, R={r1, r2 ..., rm}, m=|R|, be resource (virtual machine) quantity that cloud data center provides, rj represents a jth resource, j ∈ [1, m]; Rj={rID, rCap, rQoS, rSta, rLoc};
RID: the unique identification representing resource;
RCap: the computing capability representing resource, unit: MIPS (MillionInstructinPerSecond);
RQoS:rQoS={QoS
1, QoS
2..., QoS
krepresenting the multi-QoS service ability of resource, k represents QoS dimension.
RSta:rSta={rRun, rFre} represent the state of resource, and divide two kinds: rRun to represent that resource is in the state of executing the task, rFre represents that resource is in idle condition.
RLoc: the physical host representing resource place.
Described QoS standardization is:
The QoS dimension making resource provide is k, and resource quantity is m, then the QoS that m resource provides is m × k matrix, is expressed as:
Make number of tasks be n, then the demand of n task on k dimension QoS can be expressed as n × k matrix, is expressed as:
Then the mode of clicking carries out standardization;
First simultaneous two matrixes, obtain simultaneous matrix,
During standardization, QoS is divided into actively tolerance and negative metric; Positive metric is higher shows that service quality is higher, as reliability, fail safe, stability; Consume that metric is lower shows that service quality is higher, as service fee; Positive tolerance carries out standardization with formula 1, consumes tolerance and carries out standardization with formula 2;
Wherein, qos
i, jrepresenting matrix QoS
m+n, kin the i-th row jth row qos value, 1 <=i <=m+n, 1 <=j <=k,
be illustrated respectively in matrix QoS
m+n, kthe minimum value of middle jth row qos parameter value and maximum,
represent the qos value of the i-th row jth row after standardization, normalized matrix is expressed as:
Separation criterion matrix
obtain standardization resource QoS matrix and task QoS matrix, be expressed as
with
The calculating of described resource QoS satisfaction is:
For positive tolerance, calculate with formula 1 satisfaction that user obtains on this dimension QoS, for negative metric, calculate satisfaction with formula 2;
Then user task t
icomprehensive satisfaction in performed resource on each dimension QoS is:
The average QoS satisfaction of all user tasks is:
In task scheduling process, select the highest resource of satisfaction to distribute as far as possible.
Described QoS distance calculates and is:
Utilize Weighted distance to the QoS distance between the task of measuring and resource,
Wherein, w
jrepresent jth dimension QoS shared weight when distance calculates; w
jmaximizing deviation method is used to determine size; The capacity of water gap that resource provides on jth dimension QoS is larger, illustrates that the impact of this parameter when measuring distance is larger, corresponding w
jlarger, otherwise, w
jless; Consider that the capacity of water that provide of all resources on jth dimension QoS is equal, then this parameter affects when measuring distance is 0, now should w
jbe decided to be 0; For jth dimension QoS, use D
i, jw () represents resource ri and other resources deviation in this QoS service ability, then
Order
Dj represents the service ability of each resource and total deviation of other resource service abilities on jth dimension QoS;
The value of resource QoS comprehensive service capability and user QoS integration requirement after qos parameter standardization is calculated with following formula;
For each resource, U
qosw () is larger, its comprehensive QoS service ability is better; Construct target function thus,
Be equal to
By Lagrangian method can try to achieve target function maximum time,
Scheduling user task problem different to the requirement of QoS goal constraint under the present invention is directed to cloud computing environment, proposes a kind of cloud computing method for scheduling task of multi-QoS constraint.The method considers based on maximum QoS satisfaction and minimum QoS distance between task and resource, by the target function of structure reflection QoS service ability, and solves target function with Lagrangian method, obtains the solution of resource selection and task scheduling.The present invention, under the prerequisite meeting the maximum satisfaction of user task QoS, selects the resource of minimum QoS distance to map, and not only can guarantee the task scheduling efficiency during QoS constraint of multidimensional, reduce average task execution time, can also ensure resource utilization.
Accompanying drawing explanation
Below in conjunction with accompanying drawing, the present invention is further described:
Fig. 1 is cloud computing Task Scheduling Model of the present invention;
Fig. 2 is algorithm flow chart of the present invention.
Embodiment
As shown in Figure 2, task scheduling concrete steps of the present invention are:
Obtain task-set T and cloud resource set R, and extract the QoS of task-set and resource;
Standardization is carried out to task-set and resource QoS, obtains standardization task QoS matrix and resource QoS matrix;
Calculating is respectively the QoS weights of resource;
Calculation task concentrates the comprehensive QoS demand of each task, and according to QoS demand by task descending, obtains new task-set TT;
To the task t1 of first in new task-set TT, calculate the QoS satisfaction that it arrives each resource; Obtain the resource set RR of QoS Maximum Satisfaction;
If only have a resource in maximum resource set RR, distribute t1 and perform to this resource; Otherwise, calculate the QoS distance that t1 to RR concentrates each resource, distribute t1 to QoS and perform apart from minimum resource;
If there is multiple task, then the task of Resources allocation is deleted, then, carry out according to the method for back the distribution performing resource; Until whole task matching execution resources;
After tasks carrying Resourse Distribute completes, whether polling tasks is finished;
As task is not finished, then check whether available free resource; When available free resource situation, judge further in the highest QoS satisfaction task sequence in this resource with or without not being finished of task; Not during available free resource, then turn back to the poll that whether complete tasks carrying is;
As complete in QoS satisfaction tasks carrying the highest in idling-resource, then by the task scheduling that is not finished to the idling-resource of this highest QoS satisfaction until tasks carrying is complete;
As tasks carrying is complete, then terminate.
Below, be described in detail from the aspect such as multi-QoS constraint, problem description, multi-QoS constrained procedure of the QoS of cloud task scheduling, cloud computing.
1, the QoS of cloud task scheduling
In cloud computing Task Scheduling Model based on Qos constraint, the task that all users submits to needs the QoS providing its demand to describe, and all resources also need to provide it when issuing and provide QoS service ability description.Dispatching algorithm describes according to these QoS, attempts search and obtains the optimized task scheduling approach of QoS.The QoS that task and resource provide describes can some classifications, describes for each class QoS, for quantizing the income that when it is met in various degree, system obtains, draws the concept of benefit function.
QoS as module describes and comprises:
Timeliness describes: the attribute description of time correlation.The timeliness QoS of task describes and comprises total deadline, time started, latest finishing time etc.The timeliness QoS of resource describes the computing capability etc. comprising resource.Without loss of generality, the latest finishing time considering task and the running time of task in resource drawn by Resource Calculation ability.
Reliability describes: long playing task may the failure due to resource failed.Re-execute task and will cause the resource consumption of repetition, cause systematic function to reduce.The reliability of task by its requirement is dispatched, the generation of this situation can be reduced.Such of task describes to comprise and is minimumly successfully completed rate etc.; Such description of resource comprises unit interval failure rate etc.
Priority: the relative importance describing task.The higher task of priority needs comparatively early to be performed, and the higher resource of priority will preferentially be used when benefit is identical.
QoS as strategy describes and is mainly service class, and it acts on above all kinds of descriptions, comprising:
Rigid level: the QoS with this rank describes has the strongest restraining force.Such description of task must be met, otherwise is exactly invalid to its scheduling.
Soft level: having some QoS to describe does not need so strong constraint.This type of of task describes as being satisfied, then obtain greatest benefit, but if do not met, scheduling is not considered to invalid yet, and just benefit is affected.
As possible level: this rank is used for showing some and is not concerned or inessential QoS describes.This type of description of task and resource can be met as far as possible or be realized.
2, the multi-QoS constraint of cloud computing
Traditional cloud task scheduling target is generally the guarantee of one-dimensional QoS, as the shortest task completion time.In the cloud computing environment of reality, the interests desired by cloud user are multiple, are not single demand.Be described as example with timeliness QoS, some users not only pursue task and obtain the shortest deadline, also require to finish the work within the time limit sometime.Cloud environment relates to the distributed environment of multiple entity, and from the angle of cloud user subject and cloud resource entity, its QoS target in administrative mechanism, security strategy and expense etc. is all not quite similar.As, user not only expects also to require the least cost of tasks carrying by the shortest time that task completes.And cloud resource entity is more it is considered that self carry out the income of tasks carrying, pay close attention to the throughput-maximized of whole system simultaneously.
The present invention will pay close attention to the QoS of following Four types, and makes quantification treatment:
1) fail safe
Safety QoS is defined as:
Wherein, n represents security parameter number, and ti represents the weight of i-th security parameter, and si=1 represents that i-th security parameter is met, otherwise is 0.
2) QoS is stablized
Wherein, RunTime represents the resource uptime, and FailureTime represents the resource failed time.
3) success rate QoS
Wherein, Nsuccess represents the number of tasks of successful execution in resource, and Ntotal represents and is assigned to number of tasks total in resource.
4) expense QoS
QoS
cost=V×T
Wherein, V represents utilization of resources unit price, and T represents the time that task is run in resource.
3, problem describes
About cloud computing task, first make the following assumptions: the cloud task type of consideration is mainly calculation type Meta task, do not have dependence between task, do not consider performing across resource in implementation when task performs in resource, the Meta task that namely user submits to is the minimum unit of task scheduling.
Set of tasks is expressed as T, T={t1, t2 ..., tn}, n=|T| are user task quantity, and ti represents i-th task of user, i ∈ [1, n].ti={tID,tLen,tQoS,tSta}。
TID: the unique identification representing task;
TLen: the length representing task, unit: MI (MillionInstruction);
TQoS:tQoS={QoS
1, QoS
2..., QoS
krepresenting the multi-QoS demand of task, k represents QoS dimension.
TSta:tSta={tAlloc, tExecu, tSucc}, represent the state of user task, and divide three kinds: tAlloc to represent that task treats dispatch state, tExecu represents execution status of task, and tSucc represents tasks carrying completion status.
Cloud computing provides the mode of resource virtual for the physical host multiple stage virtual machine that turns to be carried out resource and provides in the data in the heart, and physical host set table method is P, P={p1, p2..., p1}, l=|P|, is physical host quantity.Ph={pID,pType,pSta}。
PID: the unique identification representing physical host;
Ptype: the type representing physical host, as work station, large-scale computer or microcomputer etc.;
Psta: represent the state of physical host, Psta={pFree, pRun}, pFre represent that physical host is in idle condition, does not namely dispose virtual machine or virtual machine is not executed the task, and pRun represents that physical host is in running order.
Because task is finally perform on a virtual machine, represent resource with virtual machine form, resource collection is expressed as R, R={r1, r2 ..., rm}, m=|R|, for resource (virtual machine) quantity that cloud data center provides, rj represents a jth resource, j ∈ [1, m].rj={rID,rCap,rQoS,rSta,rLoc}。
RID: the unique identification representing resource;
RCap: the computing capability representing resource, unit: MIPS (MillionInstructinPerSecond);
RQoS:rQoS={QoS
1, QoS
2..., QoS
krepresenting the multi-QoS service ability of resource, k represents QoS dimension.
RSta:rSta={rRun, rFre} represent the state of resource, and divide two kinds: rRun to represent that resource is in the state of executing the task, rFre represents that resource is in idle condition.
RLoc: the physical host representing resource place.
Based on above three class entities, cloud computing Task Scheduling Model as shown in Figure 1.
4, multi-QoS constrained procedure
1) multi-QoS standardization
The QoS dimension making resource provide is k, and resource quantity is m, then the QoS that m resource provides is m × k matrix, is expressed as:
Make number of tasks be n, then the demand of n task on k dimension QoS can be expressed as n × k matrix, is expressed as:
QoS due to resource provides the otherness with the QoS demand of task, and for the ease of evaluating the QoS service ability of user's QoS demand and resource, then two matrixes carry out standardization below.
First simultaneous two matrixes, obtain simultaneous matrix,
During standardization, QoS is divided into actively tolerance and negative metric.Positive metric is higher shows that service quality is higher, as reliability, fail safe, stability.Consume that metric is lower shows that service quality is higher, as service fee.Positive tolerance carries out standardization with formula 1, consumes tolerance and carries out standardization with formula 2,
Wherein, qos
i, jrepresenting matrix QoS
m+n, kin the i-th row jth row qos value, 1 <=i <=m+n, 1 <=j <=k,
be illustrated respectively in matrix QoS
m+n, kthe minimum value of middle jth row qos parameter value and maximum,
represent the qos value of the i-th row jth row after standardization, normalized matrix is expressed as:
Separation criterion matrix
obtain standardization resource QoS matrix and task QoS matrix, be expressed as
with
2) the QoS satisfaction of user
Task scheduling should the QoS demand of satisfied users substantially.For positive tolerance, calculate with formula 1 satisfaction that user obtains on this dimension QoS, for negative metric, calculate satisfaction with formula 2.
Then user task t
icomprehensive satisfaction in performed resource on each dimension QoS is:
The average QoS satisfaction of all user tasks is:
In task scheduling process, distribute selecting the highest resource of satisfaction as far as possible.
3) QoS distance metric
In order to the resource not making the task of low QoS demand take high QoS, affect the tasks carrying of other users, cause total time of implementation to increase, task matching should be made as far as possible to perform on the resource similar with oneself QoS demand.Utilize Weighted distance to the QoS distance between the task of measuring and resource,
Wherein, w
jrepresent jth dimension QoS shared weight when distance calculates.The capacity of water gap provided on each dimension QoS due to resource is different, in order to carry out range measurement better, uses maximizing deviation method to determine w
jsize.The capacity of water gap that resource provides on jth dimension QoS is larger, illustrates that the impact of this parameter when measuring distance is larger, corresponding w
jlarger, otherwise, w
jless.Consider that the capacity of water that provide of all resources on jth dimension QoS is equal, then this parameter affects when measuring distance is 0, now should w
jbe decided to be 0.For jth dimension QoS, use D
i, jw () represents resource r
iwith the deviation of other resources in this QoS service ability, then
Order
Dj represents the service ability of each resource and total deviation of other resource service abilities on jth dimension QoS.
The value of resource QoS comprehensive service capability and user QoS integration requirement after qos parameter standardization is calculated with following formula.
Obviously, for each resource, U
qosw () is larger, its comprehensive QoS service ability is better.Construct target function thus,
Be equal to
By Lagrangian method can try to achieve target function maximum time,
Claims (8)
1. a cloud computing method for scheduling task for multi-QoS constraint, is characterized in that: all users describe the QoS that submitting to of task provides its demand, and all resources also provide it when issuing and provide QoS service ability description; Dispatching algorithm describes according to these QoS, attempts search and obtains the optimized task scheduling approach of QoS.
2. the cloud computing method for scheduling task of multi-QoS constraint according to claim 1, is characterized in that: described method concrete steps are:
Obtain task-set T and cloud resource set R, and extract the QoS of task-set and resource;
Standardization is carried out to task-set and resource QoS, obtains standardization task QoS matrix and resource QoS matrix;
Calculating is respectively the QoS weights of resource;
Calculation task concentrates the comprehensive QoS demand of each task, and according to QoS demand by task descending, obtains new task-set TT;
To the task t1 of first in new task-set TT, calculate the QoS satisfaction that it arrives each resource; Obtain the resource set RR of QoS Maximum Satisfaction;
If only have a resource in maximum resource set RR, distribute t1 and perform to this resource; Otherwise, calculate the QoS distance that t1 to RR concentrates each resource, distribute t1 to QoS and perform apart from minimum resource;
If there is multiple task, then the task of Resources allocation is deleted, then, carry out according to the method for back the distribution performing resource; Until whole task matching execution resources;
After tasks carrying Resourse Distribute completes, whether polling tasks is finished;
As task is not finished, then check whether available free resource; When available free resource situation, judge further in the highest QoS satisfaction task sequence in this resource with or without not being finished of task; Not during available free resource, then turn back to the poll that whether complete tasks carrying is;
As complete in QoS satisfaction tasks carrying the highest in idling-resource, then by the task scheduling that is not finished to the idling-resource of this highest QoS satisfaction until tasks carrying is complete;
As tasks carrying is complete, then terminate.
3. the cloud computing method for scheduling task of multi-QoS constraint according to claim 2, is characterized in that: described set of tasks is expressed as T, T={t1, t2, ..., tn}, n=|T| are user task quantity, ti represents i-th task of user, i ∈ [1, n]; Ti={tID, tLen, tQoS, tSta};
TID: the unique identification representing task;
TLen: the length representing task, unit: MI (MillionInstruction);
TQoS:tQoS={QoS
1, QoS
2..., QoS
krepresenting the multi-QoS demand of task, k represents QoS dimension;
TSta:tSta={tAlloc, tExecu, tSucc}, represent the state of user task, and divide three kinds: tAlloc to represent that task treats dispatch state, tExecu represents execution status of task, and tSucc represents tasks carrying completion status;
Being P, P={p1, p2..., p1}, l=|P| by the physical host set table method of resource, is physical host quantity; Ph={pID, pType, pSta}.
PID: the unique identification representing physical host;
Ptype: the type representing physical host, as work station, large-scale computer or microcomputer etc.;
Psta: represent the state of physical host, Psta={pFree, pRun}, pFre represent that physical host is in idle condition, does not namely dispose virtual machine or virtual machine is not executed the task, and pRun represents that physical host is in running order;
Represent resource with virtual machine form, resource collection is expressed as R, R={r1, r2 ..., rm}, m=|R|, be resource (virtual machine) quantity that cloud data center provides, rj represents a jth resource, j ∈ [1, m]; Rj={rID, rCap, rQoS, rSta, rLoc};
RID: the unique identification representing resource;
RCap: the computing capability representing resource, unit: MIPS (MillionInstmctinPerSecond);
RQoS:rQoS={QoS
1, QoS
2..., QoS
krepresenting the multi-QoS service ability of resource, k represents QoS dimension.
RSta:rSta={rRun, rFre} represent the state of resource, and divide two kinds: rRun to represent that resource is in the state of executing the task, rFre represents that resource is in idle condition.
RLoc: the physical host representing resource place.
4. the cloud computing method for scheduling task of multi-QoS constraint according to claim 2, is characterized in that: described QoS standardization is:
The QoS dimension making resource provide is k, and resource quantity is m, then the QoS that m resource provides is m × k matrix, is expressed as:
Make number of tasks be n, then the demand of n task on k dimension QoS can be expressed as n × k matrix, is expressed as:
Then the mode of clicking carries out standardization;
First simultaneous two matrixes, obtain simultaneous matrix,
During standardization, QoS is divided into actively tolerance and negative metric; Positive metric is higher shows that service quality is higher, as reliability, fail safe, stability; Consume that metric is lower shows that service quality is higher, as service fee; Positive tolerance carries out standardization with formula 1, consumes tolerance and carries out standardization with formula 2;
Wherein, qos
i, jrepresenting matrix QoS
m+n, kin the i-th row jth row qos value, 1 <=i <=m+n, 1 <=j <=k,
be illustrated respectively in matrix QoS
m+n, kthe minimum value of middle jth row qos parameter value and maximum,
represent the qos value of the i-th row jth row after standardization, normalized matrix is expressed as:
Separation criterion matrix
obtain standardization resource QoS matrix and task QoS matrix, be expressed as
with
5. the cloud computing method for scheduling task of multi-QoS constraint according to claim 3, is characterized in that: described QoS standardization is:
The QoS dimension making resource provide is k, and resource quantity is m, then the QoS that m resource provides is m × k matrix, is expressed as:
Make number of tasks be n, then the demand of n task on k dimension QoS can be expressed as n × k matrix, is expressed as:
Then the mode of clicking carries out standardization;
First simultaneous two matrixes, obtain simultaneous matrix,
During standardization, QoS is divided into actively tolerance and negative metric; Positive metric is higher shows that service quality is higher, as reliability, fail safe, stability; Consume that metric is lower shows that service quality is higher, as service fee; Positive tolerance carries out standardization with formula 1, consumes tolerance and carries out standardization with formula 2;
Wherein, qos
i, jrepresenting matrix QoS
m+n, kin the i-th row jth row qos value, 1 <=i <=m+n, 1 <=j <=k,
be illustrated respectively in matrix QoS
m+n, kthe minimum value of middle jth row qos parameter value and maximum,
represent the qos value of the i-th row jth row after standardization, normalized matrix is expressed as:
Separation criterion matrix
obtain standardization resource QoS matrix and task QoS matrix, be expressed as
with
6. the cloud computing method for scheduling task of the multi-QoS constraint according to any one of claim 2 to 5, is characterized in that: the calculating of described resource QoS satisfaction is:
For positive tolerance, calculate with formula 1 satisfaction that user obtains on this dimension QoS, for negative metric, calculate satisfaction with formula 2;
Then user task t
icomprehensive satisfaction in performed resource on each dimension QoS is:
The average QoS satisfaction of all user tasks is:
In task scheduling process, select the highest resource of satisfaction to distribute as far as possible.
7. the cloud computing method for scheduling task of the multi-QoS constraint according to any one of claim 2 to 5, is characterized in that: described QoS distance calculates and is:
Utilize Weighted distance to the QoS distance between the task of measuring and resource,
Wherein, w
jrepresent jth dimension QoS shared weight when distance calculates; w
jmaximizing deviation method is used to determine size; The capacity of water gap that resource provides on jth dimension QoS is larger, illustrates that the impact of this parameter when measuring distance is larger, corresponding w
jlarger, otherwise, w
jless; Consider that the capacity of water that provide of all resources on jth dimension QoS is equal, then this parameter affects when measuring distance is 0, now should w
jbe decided to be 0; For jth dimension QoS, use D
i, jw () represents resource ri and other resources deviation in this QoS service ability, then
Order
Dj represents the service ability of each resource and total deviation of other resource service abilities on jth dimension QoS;
The value of resource QoS comprehensive service capability and user QoS integration requirement after qos parameter standardization is calculated with following formula;
For each resource, U
qosw () is larger, its comprehensive QoS service ability is better; Construct target function thus,
Be equal to
By Lagrangian method can try to achieve target function maximum time,
8. the cloud computing method for scheduling task of multi-QoS constraint according to claim 6, is characterized in that: described QoS distance calculates and is:
Utilize Weighted distance to the QoS distance between the task of measuring and resource,
Wherein, w
jrepresent jth dimension QoS shared weight when distance calculates; w
jmaximizing deviation method is used to determine size; The capacity of water gap that resource provides on jth dimension QoS is larger, illustrates that the impact of this parameter when measuring distance is larger, corresponding w
jlarger, otherwise, w
jless; Consider that the capacity of water that provide of all resources on jth dimension QoS is equal, then this parameter affects when measuring distance is 0, now should w
jbe decided to be 0; For jth dimension QoS, use D
i, jw () represents resource ri and other resources deviation in this QoS service ability, then
Order
Dj represents the service ability of each resource and total deviation of other resource service abilities on jth dimension QoS;
The value of resource QoS comprehensive service capability and user QoS integration requirement after qos parameter standardization is calculated with following formula;
For each resource, U
qosw () is larger, its comprehensive QoS service ability is better; Construct target function thus,
Be equal to
By Lagrangian method can try to achieve target function maximum time,
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510593188.XA CN105141697A (en) | 2015-09-16 | 2015-09-16 | Multi-QoS constrained cloud computing task scheduling method |
PCT/CN2015/090064 WO2017045211A1 (en) | 2015-09-16 | 2015-09-19 | Cloud computing task scheduling method constrained by multiple quality-of-service requirements |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510593188.XA CN105141697A (en) | 2015-09-16 | 2015-09-16 | Multi-QoS constrained cloud computing task scheduling method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105141697A true CN105141697A (en) | 2015-12-09 |
Family
ID=54726900
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510593188.XA Pending CN105141697A (en) | 2015-09-16 | 2015-09-16 | Multi-QoS constrained cloud computing task scheduling method |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN105141697A (en) |
WO (1) | WO2017045211A1 (en) |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105744006A (en) * | 2016-05-10 | 2016-07-06 | 中国民航大学 | Particle swarm optimization user request dispatching method facing multi-type service |
CN106095581A (en) * | 2016-06-18 | 2016-11-09 | 南京采薇且歌信息科技有限公司 | A kind of network storage virtualization dispatching method under the conditions of privately owned cloud |
CN106610866A (en) * | 2016-06-17 | 2017-05-03 | 四川用联信息技术有限公司 | Service value constrained task scheduling algorithm in cloud storage environment |
CN106973030A (en) * | 2016-01-14 | 2017-07-21 | 北京仿真中心 | A kind of cloud artificial resource dispatching method based on SLA |
CN107656810A (en) * | 2017-08-29 | 2018-02-02 | 山东师范大学 | Ensure the method for delay-sensitive procedure service quality under data center environment |
WO2018036104A1 (en) * | 2016-08-26 | 2018-03-01 | 华为技术有限公司 | Virtual machine deployment method, system and physical server |
CN107967179A (en) * | 2017-12-12 | 2018-04-27 | 山东省计算中心(国家超级计算济南中心) | A kind of cloud computing resources distribution method for supporting emergency |
CN108563498A (en) * | 2018-04-12 | 2018-09-21 | 武汉轻工大学 | A kind of cloud computing method for scheduling task and simulation system |
CN109656685A (en) * | 2018-12-14 | 2019-04-19 | 深圳市网心科技有限公司 | Container resource regulating method and system, server and computer readable storage medium |
CN113900824A (en) * | 2021-10-29 | 2022-01-07 | 桂林航天工业学院 | Cloud platform virtual resource high-speed scheduling method |
CN117651074A (en) * | 2023-12-07 | 2024-03-05 | 上海南洋万邦软件技术有限公司 | Effectiveness evaluation method of cloud resources |
CN113900824B (en) * | 2021-10-29 | 2024-06-07 | 桂林航天工业学院 | Cloud platform virtual resource high-speed scheduling method |
Families Citing this family (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107943566B (en) * | 2017-10-19 | 2023-10-24 | 中国人民解放军空军工程大学 | Multifunctional integrated radar task scheduling algorithm based on earliest time line |
CN108958919B (en) * | 2018-07-13 | 2023-07-25 | 湘潭大学 | Multi-DAG task scheduling cost fairness evaluation method with deadline constraint in cloud computing |
CN109639498B (en) * | 2018-12-27 | 2021-08-31 | 国网江苏省电力有限公司南京供电分公司 | Service quality oriented resource flexible configuration method based on SDN and NFV |
CN110147280B (en) * | 2019-05-14 | 2023-01-31 | 河南城建学院 | Big data application scheduling method based on security and cost perception |
CN111447266B (en) * | 2020-03-24 | 2022-11-11 | 中国人民解放军国防科技大学 | Mobile edge calculation model based on chain and service request and scheduling method thereof |
CN111818119B (en) * | 2020-05-04 | 2023-10-24 | 国网浙江省电力有限公司 | Improved spider cluster-based data service resource optimization scheduling method |
CN112149958B (en) * | 2020-08-24 | 2024-02-13 | 成都天奥集团有限公司 | Method for calculating multidimensional performance evaluation index of antenna base station network resources |
CN112073491B (en) * | 2020-08-31 | 2023-08-22 | 交信北斗科技有限公司 | Gateway proxy and service scheduling method for Internet GIS application |
CN112181694B (en) * | 2020-10-14 | 2023-08-04 | 重庆邮电大学 | Cloud computing network maintenance reliability analysis method |
CN112256427B (en) * | 2020-10-21 | 2024-04-05 | 北京人人云图信息技术有限公司 | Large-scale resource rapid allocation device based on improved branch limit method |
CN113051046B (en) * | 2020-12-09 | 2024-05-24 | 南京航空航天大学 | Task scheduling method based on dynamic priority in vehicle-mounted cloud environment |
CN113254146A (en) * | 2021-04-25 | 2021-08-13 | 西安电子科技大学 | Cloud platform service trust value calculation, task scheduling and load balancing system and method |
CN113467903B (en) * | 2021-05-18 | 2024-04-16 | 杭州电子科技大学 | Service workflow scheduling method oriented to energy consumption and safety perception |
CN114531365B (en) * | 2022-04-24 | 2022-07-15 | 北京华创方舟科技集团有限公司 | Cloud resource automatic operation and maintenance method under multi-cloud environment |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101271407A (en) * | 2008-05-13 | 2008-09-24 | 武汉理工大学 | Gridding scheduling method based on energy optimization |
CN101271405A (en) * | 2008-05-13 | 2008-09-24 | 武汉理工大学 | Bidirectional grade gridding resource scheduling method based on QoS restriction |
US20100223379A1 (en) * | 2004-09-28 | 2010-09-02 | International Business Machines Corporation | Coordinating service performance and application placement management |
CN103561077A (en) * | 2013-10-29 | 2014-02-05 | 李飞 | Cloud storage task scheduling method on condition of multiple QoS constraints |
-
2015
- 2015-09-16 CN CN201510593188.XA patent/CN105141697A/en active Pending
- 2015-09-19 WO PCT/CN2015/090064 patent/WO2017045211A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100223379A1 (en) * | 2004-09-28 | 2010-09-02 | International Business Machines Corporation | Coordinating service performance and application placement management |
CN101271407A (en) * | 2008-05-13 | 2008-09-24 | 武汉理工大学 | Gridding scheduling method based on energy optimization |
CN101271405A (en) * | 2008-05-13 | 2008-09-24 | 武汉理工大学 | Bidirectional grade gridding resource scheduling method based on QoS restriction |
CN103561077A (en) * | 2013-10-29 | 2014-02-05 | 李飞 | Cloud storage task scheduling method on condition of multiple QoS constraints |
Cited By (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106973030A (en) * | 2016-01-14 | 2017-07-21 | 北京仿真中心 | A kind of cloud artificial resource dispatching method based on SLA |
CN105744006A (en) * | 2016-05-10 | 2016-07-06 | 中国民航大学 | Particle swarm optimization user request dispatching method facing multi-type service |
CN106610866A (en) * | 2016-06-17 | 2017-05-03 | 四川用联信息技术有限公司 | Service value constrained task scheduling algorithm in cloud storage environment |
CN106095581A (en) * | 2016-06-18 | 2016-11-09 | 南京采薇且歌信息科技有限公司 | A kind of network storage virtualization dispatching method under the conditions of privately owned cloud |
WO2018036104A1 (en) * | 2016-08-26 | 2018-03-01 | 华为技术有限公司 | Virtual machine deployment method, system and physical server |
CN107656810B (en) * | 2017-08-29 | 2021-01-08 | 山东师范大学 | Method for ensuring service quality of delay sensitive program under data center environment |
CN107656810A (en) * | 2017-08-29 | 2018-02-02 | 山东师范大学 | Ensure the method for delay-sensitive procedure service quality under data center environment |
CN107967179A (en) * | 2017-12-12 | 2018-04-27 | 山东省计算中心(国家超级计算济南中心) | A kind of cloud computing resources distribution method for supporting emergency |
CN107967179B (en) * | 2017-12-12 | 2021-08-06 | 山东省计算中心(国家超级计算济南中心) | Cloud computing resource allocation method supporting emergency |
CN108563498A (en) * | 2018-04-12 | 2018-09-21 | 武汉轻工大学 | A kind of cloud computing method for scheduling task and simulation system |
CN109656685A (en) * | 2018-12-14 | 2019-04-19 | 深圳市网心科技有限公司 | Container resource regulating method and system, server and computer readable storage medium |
CN113900824A (en) * | 2021-10-29 | 2022-01-07 | 桂林航天工业学院 | Cloud platform virtual resource high-speed scheduling method |
CN113900824B (en) * | 2021-10-29 | 2024-06-07 | 桂林航天工业学院 | Cloud platform virtual resource high-speed scheduling method |
CN117651074A (en) * | 2023-12-07 | 2024-03-05 | 上海南洋万邦软件技术有限公司 | Effectiveness evaluation method of cloud resources |
Also Published As
Publication number | Publication date |
---|---|
WO2017045211A1 (en) | 2017-03-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105141697A (en) | Multi-QoS constrained cloud computing task scheduling method | |
Singh et al. | QRSF: QoS-aware resource scheduling framework in cloud computing | |
CN103338241B (en) | A kind of new publicly-owned cloud framework and virtual resources adaptive configuring method thereof | |
Li et al. | Load balance based workflow job scheduling algorithm in distributed cloud | |
CN102932422B (en) | Cloud environment task scheduling method based on improved ant colony algorithm | |
Liu et al. | Resource preprocessing and optimal task scheduling in cloud computing environments | |
CN109120715A (en) | Dynamic load balancing method under a kind of cloud environment | |
WO2016045515A1 (en) | Cloud task scheduling algorithm based on user satisfaction | |
Mahato et al. | On scheduling transactions in a grid processing system considering load through ant colony optimization | |
Shi et al. | Resource allocation with a budget constraint for computing independent tasks in the cloud | |
Chakravarthi et al. | TOPSIS inspired budget and deadline aware multi-workflow scheduling for cloud computing | |
Li et al. | An effective scheduling strategy based on hypergraph partition in geographically distributed datacenters | |
CN103377407A (en) | Method for processing cloud service, and related device and system of cloud service | |
CN104407912A (en) | Virtual machine configuration method and device | |
CN103561077A (en) | Cloud storage task scheduling method on condition of multiple QoS constraints | |
CN103701894A (en) | Method and system for dispatching dynamic resource | |
CN109240814A (en) | A kind of deep learning intelligent dispatching method and system based on TensorFlow | |
CN105119751A (en) | Service evaluation and selection method based on environment real-time perceiving | |
CN107070965B (en) | Multi-workflow resource supply method under virtualized container resource | |
Xiang et al. | Computing power allocation and traffic scheduling for edge service provisioning | |
CN103997515A (en) | Distributed cloud computing center selection method and application thereof | |
Huang et al. | Computation offloading for multimedia workflows with deadline constraints in cloudlet-based mobile cloud | |
CN104869154A (en) | Distributed resource scheduling method for balancing resource credibility and user satisfaction | |
CN105872109A (en) | Load running method of cloud platform | |
Awasare et al. | Survey and comparative study on resource allocation strategies in cloud computing environment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20151209 |