CN103685541A - Device, system and method for dynamically controlling running speed of IaaS (infrastructure as a service) cloud system - Google Patents

Device, system and method for dynamically controlling running speed of IaaS (infrastructure as a service) cloud system Download PDF

Info

Publication number
CN103685541A
CN103685541A CN201310717182.XA CN201310717182A CN103685541A CN 103685541 A CN103685541 A CN 103685541A CN 201310717182 A CN201310717182 A CN 201310717182A CN 103685541 A CN103685541 A CN 103685541A
Authority
CN
China
Prior art keywords
main frame
cloud system
time
value
speed
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.)
Granted
Application number
CN201310717182.XA
Other languages
Chinese (zh)
Other versions
CN103685541B (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.)
Chongqing Radio and TV University
Original Assignee
Chongqing Radio and TV University
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 Chongqing Radio and TV University filed Critical Chongqing Radio and TV University
Priority to CN201310717182.XA priority Critical patent/CN103685541B/en
Publication of CN103685541A publication Critical patent/CN103685541A/en
Application granted granted Critical
Publication of CN103685541B publication Critical patent/CN103685541B/en
Expired - Fee Related 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
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/50Reducing energy consumption in communication networks in wire-line communication networks, e.g. low power modes or reduced link rate

Abstract

The invention discloses a device, a system and a method for dynamically controlling the running speed of an IaaS (infrastructure as a service) cloud system, belongs to the field of cloud computing, and aims to change the running speed of a cloud host, instantly respond to the change of a load and accordingly optimize system performances and energy consumption, so that the system takes execution efficiency under a high-load condition and energy conservation under a low-load condition into account. Dynamic fluctuation of the load of the cloud system is taken fully into account, the requirement of the cloud system for future running speed is predicted by tracking the trend of the cloud system, and acceleration or deceleration is controlled in advance. As the influence of abnormal points in historical load data is removed, trend prediction accuracy is ensured. Future expected load gaps are estimated, variable control interval time is set, and the extremes of 'too dense control' and 'too sparse control' are avoided.

Description

IaaS cloud system operating rate device for controlling dynamically, system and method
Technical field
The invention belongs to cloud computing field, particularly relate to a kind of IaaS cloud system operating rate device for controlling dynamically, system and method.
Background technology
Cloud computing is a kind of account form based on the Internet, and in this way, shared software and hardware resources and information can offer computer and other equipment by demand.With respect to traditional software with calculate form, the advantage significantly such as cloud computing has loose couplings, on-demand, cost is controlled, resource is virtual, isomery is collaborative, makes it more adapt to the application such as ecommerce now, flexible manufacturing, mobile Internet.The implication that cloud computing comprises two aspects a: aspect is the cloud computing platform infrastructure that bottom builds, and is for building the basis of upper level applications; Implication is on the other hand the cloud computing application program being structured on this basic platform.Cloud computing can be divided three classes according to COS: using infrastructure as service (IaaS, Infrastructure as a Service), using platform as service (PaaS, Platform as a Service) and using software as service (SaaS, Software as a Service).IaaS cloud is virtual by system virtualization, multiprocessor, internal memory virtualization, I/O are virtual etc., and Intel Virtualization Technology is virtualized into resource pool by physical resource, and these resources are carried out unified management and dispatching by cloud computing platform again.
Main computing unit in IaaS cloud--PM(Physical Machine, physical machine), when operation, can produce power consumption, because cloud computing system now applies to extensive science more, calculate, the application of the high capacity such as finance, online transaction, Streaming Media multicast in real time and high complexity, its energy consumption problem is more outstanding with respect to traditional Distributed Calculation and service compute.In addition, because the Internet that the many frameworks of cloud computing distribute in wide area is upper, the when and where of task requests distributes and embodies erratic behavior and artificial contingency, and therefore the real-time load of cloud system also has more dynamic fluctuation.Owing to there is being difficult to opportunity prediction in the crest of system load and trough, and the managing power consumption strategy of system must be considered " guaranteeing enough processing speeds and task throughput during peak load " and " guaranteeing energy saving during trough load " two requirements simultaneously, there is very large difficulty in the management of the dynamic rate of cloud system main frame.Traditional technology is often difficult to obtain good balance between high-performance and low energy consumption.
In recent years, the importance of dynamic rate expansion technique (DVS, dynamic voltage scaling) in computing system managing power consumption has obtained the extensive understanding of academia and industrial quarters.DVS technology mainly applies in the central processing unit (CPU, central processing unit) of computer originally, and this technology is come real-time adjust operation voltage and frequency by the indexs such as temperature of real-time measurement processor, to guarantee the safety of system.In recent years, this technology was successfully applied in fields such as cluster calculating, large-scale data centers, and the main frame running load that its basic principle is exactly dynamic monitoring, raises running frequency during Task Congestion, when system is idle, lowered.Yet the research of carrying out DVS control in cloud computing and cloud application is also very rare.In addition, with respect to cluster, calculate and large-scale data center, the business of moving in cloud computing is looser flexibly, it is the science calculation task of high complexity both, also the microminiature application program based on mobile terminal, because the variability of task load is larger, thereby can not indiscriminately imitate existing management strategy and algorithm.
Existing technical scheme, the deficiency below main existence: (1) adopts the means of fixed cycle control.Existing method presets a fixing interval time more and periodically controls.Yet due to the dynamically changeable of system load, the control strategy of fixed interval is often difficult to the instant load in short time is increased sharply and makes rapid response.(2) lack the mechanism that quantizes trend prediction.Existing technology, not fully to system historic load analyze, modeling and trend prediction, and be mostly that the historical average or nearest data of mechanical employing are as according to carrying out control decision.(3) do not consider the difference of different main frames.Existing technology is made no exception each main frame in IaaS cloud, takes same control strategy and control time interval, and does not consider the difference of different main frames in load, execution efficiency.
Summary of the invention
Because the above-mentioned defect of prior art, technical problem to be solved by this invention is to provide a kind of controls rationally, can take into account performance under different access loading condition and the IaaS cloud system operating rate dynamic control method of energy-conservation demand.
For achieving the above object, the invention provides a kind of IaaS cloud system operating rate dynamic control method, comprise the following steps:
Step 1, storage information task time of collecting IaaS cloud system main frame:
Collect the time of implementation sequence ct of k having completed of task on IaaS cloud system main frame 1, ct 2... ct kstill carrying out on IaaS cloud system main frame of task is the time of implementation sequence et of use 1, et 2... .et m, wherein m is still in the quantity of carrying out of task, k and m are positive integer;
The time of implementation that step 2, prediction are finished the work:
Because the operation of actual cloud system is subject to the impact of many system factors (message exception deferral, connect bandwidth variation, calculation resources conflict etc.) and nonsystematic factor (the accidental inefficacy of system, software and hardware, information drop-out etc.), in sequence, exist part record value obviously to depart from the situation of overall variation rule, namely so-called abnormity point.These projecting points can not be regarded as general routine data and carry out assessment and analysis, and need to reject.
Set the task of having completed successively in the time of implementation sequence on IaaS cloud system main frame, the logarithm step-length average increment of having rejected after exceptional value is disturbed is loinc;
Calculate loinc=mean{inc i, j| 0 < i < j≤k, the task that yc (i, j)=0} obtains having completed successively the rejecting in the time of implementation sequence on IaaS cloud system main frame the logarithm step-length average increment that disturbs of exceptional value; Described yc (i, j) is judgement inc i, jwhether is the function of abnormity point, mean is for gathering the operation of asking arithmetic mean value, inc i, jthe logarithm step-length equivalence increment forming between i and j record value in expression sequence, described i and j are positive integer; in c i , j = ct j - ct i log ( j - i ) ;
yc ( i , j ) = 1 if | in c i , j | mn > a + 1 , | in c i , j | > max { | in c t , t + 1 | | i &le; t &le; j } 0 else ;
Wherein a is given parameter, 0.1≤a≤0.5;
Mn value is: mn=mean{|inc u, v|| 0 < u < v≤k};
The time of implementation that setting is finished the work is nxt: calculate
nxt = mean { c t i + loinc &times; e k - i | 0 < i &le; k } if ( loinc + ct i ) > max { et j | 0 < j &le; m } min { et j | 0 < j &le; m } + &Sigma; 0 < i &le; k , ( ct i + loinc &times; e k - i + 1 ) < min { et j | 0 < j &le; m } ct i + loinc &times; e k - i + 1
Obtained the time of implementation of next task.
Step 3, calculating dynamic rate expansion controlled quentity controlled variable and control stand-by period:
Described calculating dynamic rate expansion controlled quentity controlled variable is carried out according to the following steps:
Setting following load breach value is qkz, calculates qkz = &Sigma; 0 < j &le; m , et j > nxt ( et j - nxt ) Obtain following load breach value;
Read the current residing speed class L of processor and the equivalent implementation rate exe (L) corresponding to this speed class of IaaS cloud system main frame, it should be noted that, the speed class of processor and implementation rate, determined by its hardware specification, conventionally by equipment supplier, provided.
If IaaS cloud system main frame has n processor, its highest speed class is g level, and L, n and g are positive integer;
Setting dynamic rate expansion controlled quentity controlled variable is kzl,
Calculate kzl = - 1 ifqkz = 0 min { i | n &GreaterEqual; qkz exe ( l + i ) - exe ( i ) &prime; 0 &le; i &le; g - l } else Obtain dynamic rate expansion controlled quentity controlled variable; If the following load breach value calculating is 0, represent without promoting the current execution speed of main frame; Otherwise, find the minimum-rate lifting capacity that can fill up load breach.
Described calculating is controlled the stand-by period and is carried out according to the following steps:
According to the time of implementation sequence of completing the time of implementation of next task and still carrying out on IaaS cloud system main frame of task use, determine the stand-by period of once controlling, the stand-by period of setup control is dsj;
Calculate dsj = wcif &Sigma; 0 < j &le; m ( et j - nxt ) < 0 or &Sigma; 0 < j &le; m ( et j - nxt ) > 0 &beta; &times; wcelse , Obtain next time
The stand-by period of controlling; Wc is the time in control interval that system initially provides, wc>0,1 < β < 10;
When following load breach value is plus or minus, the current operating rate of expression system, below or above the needs that change of system load trend, needs the instant control of carrying out operating rate, and therefore controlling the stand-by period is wc default value; When following load breach value is 0, expression system present rate is adapted to the needs that system load trend changes just, need not be urgent carry out speed adjustment, therefore controlling the stand-by period is that wc default value is multiplied by a factor beta, in the present embodiment, β is any real number between 2 to 5, and wc value is between 10000 to 100000 milliseconds.
Step 4, IaaS cloud system main frame, according to the stand-by period dsj of described control and dynamic rate expansion controlled quentity controlled variable kzl, are controlled the operating rate of IaaS cloud system main frame in the stand-by period section of controlling.
In the described stand-by period section controlling, the operating rate of IaaS cloud system main frame is controlled according to the following steps and is carried out:
If dynamic rate expansion controlled quentity controlled variable kzl is 0, in the time period that is dsj' in length, keep the original operating rate of main frame; If kzl value is-1, and main frame is current does not operate in minimum speed grade, operating rate is lowered to one-level, and the speed after keeping in the time period that is dsj in length adjusting; If kzl value is-1, and main frame is currently operating in minimum speed grade, keeps existing speed in the time period that is dsj in length; If kzl value is greater than zero, and main frame current speed grade L adds and is less than or equal to the speed class value g of high permission of main frame after kzl, at once operating rate raised to kzl level, and the speed after keeping in the time period that is dsj in length adjusting; If kzl value is greater than zero, and main frame current speed grade L adds and is greater than the speed class value of high permission of main frame after kzl, will on operating rate, be transferred to maximum speed grade at once, and the speed after keeping in the time period that is dsj in length adjusting; If kzl value equals zero, in the time period that is dsj in length, keep existing speed;
Then return to execution step 1.
Another technical problem to be solved by this invention is to provide a kind of device that can realize the dynamic control of IaaS cloud system operating rate.
For achieving the above object, the invention provides a kind of IaaS cloud system operating rate device for controlling dynamically, comprise load monitoring module, control decision module and main frame speed control module; The output of described load monitoring module connects the input of described control decision module, and the output of described control decision module connects the input of described main frame speed control module;
Described load monitoring module is for obtaining storage information task time of IaaS cloud system main frame;
Described control decision module is used for having predicted the time of implementation of next task, and calculates dynamic rate expansion controlled quentity controlled variable and carry out the control stand-by period of task next time;
Described main frame speed control module is for controlling the operating rate of IaaS cloud system main frame.
Described load monitoring module is collected the time of implementation sequence C t of k having completed of task on IaaS cloud system main frame 1, Ct 2... Ct kstill carrying out on IaaS cloud system main frame of task is the time of implementation sequence et of use 1, et 2... .et m, wherein m is still in the quantity of carrying out of task, k and m are positive integer.
Described control decision module comprises data pretreatment unit, controlled quentity controlled variable computing unit and control decision package on opportunity; The first output of described load monitoring module connects the input of described data pretreatment unit, the second output of described load monitoring module connects the first input end of described controlled quentity controlled variable computing unit, and the 3rd output of described load monitoring module connects the first input end of described control decision package on opportunity; The first output of described data pretreatment unit connects the second input of described controlled quentity controlled variable computing unit, and the second output of described data pretreatment unit connects the second input of described control decision package on opportunity; The output of described controlled quentity controlled variable computing unit connects the first input end of described main frame speed control module, and the output of described control decision package on opportunity connects the second input of described main frame speed control module;
Described data pretreatment unit is for having predicted the time of implementation of next task;
Described controlled quentity controlled variable computing unit is used for calculating dynamic rate expansion controlled quentity controlled variable;
Described control decision package on opportunity is carried out the control stand-by period of task next time for calculating;
Described data pretreatment unit is set the task of having completed successively in the time of implementation sequence on IaaS cloud system main frame, and the logarithm step-length average increment of having rejected after exceptional value is disturbed is loinc;
Calculate loinc=mean{inc i, j| 0 < i < j≤k, the task that yc (i, j)=0} obtains having completed successively the rejecting in the time of implementation sequence on IaaS cloud system main frame the logarithm step-length average increment that disturbs of exceptional value; Described yc (i, j) is judgement inc i, jwhether is the function of abnormity point, mean is for gathering the operation of asking arithmetic mean value, inc i,jthe logarithm step-length equivalence increment forming between i and j record value in expression sequence, described i and j are positive integer; in c i , j = ct j - ct i log ( j - i ) ;
yc ( i , j ) = 1 if | in c i , j | mn > a + 1 , | in c i , j | > max { | in c t , t + 1 | | i &le; t &le; j } 0 else ;
Wherein a is given parameter, 0.1≤a≤0.5; Mn value is: mn=mean{|inc u, v|| 0 < u < v≤k}; The time of implementation that setting is finished the work is nxt: described data pretreatment unit calculates
nxt = mean { c t i + loinc &times; e k - i | 0 < i &le; k } if ( loinc + ct i ) > max { et j | 0 < j &le; m } min { et j | 0 < j &le; m } + &Sigma; 0 < i &le; k , ( ct i + loinc &times; e k - i + 1 ) < min { et j | 0 < j &le; m } ct i + loinc &times; e k - i + 1 The time of implementation nxt that obtains finishing the work; Described data pretreatment unit is issued controlled quentity controlled variable computing unit and the control decision package on opportunity in control decision module by nxt value; It is qkz that described controlled quentity controlled variable computing unit is set following load breach value, and described controlled quentity controlled variable computing unit calculates qkz = &Sigma; 0 < j &le; m , et j > nxt ( et j - nxt ) Obtain following load breach value;
Described controlled quentity controlled variable computing unit reads the current residing speed class L of processor and the equivalent implementation rate exe (L) corresponding to this speed class of IaaS cloud system main frame, if IaaS cloud system main frame has n processor, its the highest speed class is g level, and L, n and g are positive integer; Setting dynamic rate expansion controlled quentity controlled variable is kzl,
By calculating kzl = - 1 ifqkz = 0 min { i | n &GreaterEqual; qkz exe ( l + i ) - exe ( i ) &prime; 0 &le; i &le; g - l } else Described controlled quentity controlled variable computing unit obtains dynamic rate expansion controlled quentity controlled variable; Described controlled quentity controlled variable computing unit sends to described main frame speed control module by kzl value; Described control decision package on opportunity determines the stand-by period of once controlling according to the time of implementation sequence of completing the time of implementation of next task and still carrying out on IaaS cloud system main frame of task use, the stand-by period of setup control is dsj;
By calculating dsj = wcif &Sigma; 0 < j &le; m ( et j - nxt ) < 0 or &Sigma; 0 < j &le; m ( et j - nxt ) > 0 &beta; &times; wcelse , The described control stand-by period that opportunity, decision package obtained controlling next time; Wc is the time in control interval that system initially provides, wc>0,1 < β < 10; Described control decision package on opportunity is issued described main frame speed control module by the stand-by period dsj controlling next time.
Described main frame speed control module, according to the stand-by period dsj of described control and dynamic rate expansion controlled quentity controlled variable kzl, is controlled the operating rate of IaaS cloud system main frame in the stand-by period section of controlling:
If dynamic rate expansion controlled quentity controlled variable kzl is 0, in the time period that is dsj in length, keep the original operating rate of main frame; If kzl value is-1, and main frame is current does not operate in minimum speed grade, operating rate is lowered to one-level, and the speed after keeping in the time period that is dsj in length adjusting; If kzl value is-1, and main frame is currently operating in minimum speed grade, keeps existing speed in the time period that is dsj in length; If kzl value is greater than zero, and main frame current speed grade L adds and is less than or equal to the speed class value g of high permission of main frame after kzl, at once operating rate raised to kzl level, and the speed after keeping in the time period that is dsj in length adjusting; If kzl value is greater than zero, and main frame current speed grade L adds and is greater than the speed class value of high permission of main frame after kzl, will on operating rate, be transferred to maximum speed grade at once, and the speed after keeping in the time period that is dsj in length adjusting; If kzl value equals zero, in the time period that is dsj in length, keep existing speed.
The technical problem that the present invention also will solve is to provide a kind of system that can realize the dynamic control of IaaS cloud system operating rate.
For achieving the above object, the invention provides a kind of IaaS cloud system operating rate kinetic-control system, comprise the server of IaaS cloud system, in the server of described IaaS cloud system, be provided with IaaS cloud system operating rate device for controlling dynamically; Described IaaS cloud system operating rate device for controlling dynamically comprises load monitoring module, control decision module and main frame speed control module; The output of described load monitoring module connects the input of described control decision module, and the output of described control decision module connects the input of described main frame speed control module;
Described load monitoring module is for obtaining storage information task time of IaaS cloud system main frame;
Described control decision module is used for having predicted the time of implementation of next task, and calculates dynamic rate expansion controlled quentity controlled variable and carry out the control stand-by period of task next time;
Described main frame speed control module is for controlling the operating rate of IaaS cloud system main frame;
Described load monitoring module is collected the time of implementation sequence ct of k having completed of task on IaaS cloud system main frame 1, ct 2... ct kstill carrying out on IaaS cloud system main frame of task is the time of implementation sequence et of use 1, et 2... .et m, wherein m is still in the quantity of carrying out of task, k and m are positive integer;
Described control decision module comprises data pretreatment unit, controlled quentity controlled variable computing unit and control decision package on opportunity; The first output of described load monitoring module connects the input of described data pretreatment unit, the second output of described load monitoring module connects the first input end of described controlled quentity controlled variable computing unit, and the 3rd output of described load monitoring module connects the first input end of described control decision package on opportunity; The first output of described data pretreatment unit connects the second input of described controlled quentity controlled variable computing unit, and the second output of described data pretreatment unit connects the second input of described control decision package on opportunity; The output of described controlled quentity controlled variable computing unit connects the first input end of described main frame speed control module, and the output of described control decision package on opportunity connects the second input of described main frame speed control module;
Described data pretreatment unit is for having predicted the time of implementation of next task;
Described controlled quentity controlled variable computing unit is used for calculating dynamic rate expansion controlled quentity controlled variable;
Described control decision package on opportunity is carried out the control stand-by period of task next time for calculating;
Described data pretreatment unit is set the task of having completed successively in the time of implementation sequence on IaaS cloud system main frame, and the logarithm step-length average increment of having rejected after exceptional value is disturbed is loinc;
Calculate loinc=mean{inc i, j| 0 < i < j≤k, the task that yc (i, j)=0} obtains having completed successively the rejecting in the time of implementation sequence on IaaS cloud system main frame the logarithm step-length average increment that disturbs of exceptional value; Described yc (i, j) is judgement inc i, jwhether is the function of abnormity point, mean is for gathering the operation of asking arithmetic mean value, inc i, jrepresent the 1st opening in sequence] the logarithm step-length equivalence increment that forms between individual record value, described i and j are positive integer; in c i , j = ct j - ct i log ( j - i ) ;
yc ( i , j ) = 1 if | in c i , j | mn > a + 1 , | in c i , j | > max { | in c t , t + 1 | | i &le; t &le; j } 0 else ;
Wherein a is given parameter, 0.1≤a≤0.5;
Mn value is: mn=mean{|inc u, v|| 0 < u < v≤k};
The time of implementation that setting is finished the work is nxt: described data pretreatment unit calculates
nxt = mean { c t i + loinc &times; e k - i | 0 < i &le; k } if ( loinc + ct i ) > max { et j | 0 < j &le; m } min { et j | 0 < j &le; m } + &Sigma; 0 < i &le; k , ( ct i + loinc &times; e k - i + 1 ) < min { et j | 0 < j &le; m } ct i + loinc &times; e k - i + 1
The time of implementation nxt that obtains finishing the work; Described data pretreatment unit is issued controlled quentity controlled variable computing unit and the control decision package on opportunity in control decision module by nxt value;
It is qkz that described controlled quentity controlled variable computing unit is set following load breach value,
Described controlled quentity controlled variable computing unit calculates qkz = &Sigma; 0 < j &le; m , et j > nxt ( et j - nxt ) Obtain following load breach value;
Described controlled quentity controlled variable computing unit reads the current residing speed class L of processor and the equivalent implementation rate exe (L) corresponding to this speed class of IaaS cloud system main frame, if IaaS cloud system main frame has n processor, its the highest speed class is g level, and L, n and g are positive integer;
Setting dynamic rate expansion controlled quentity controlled variable is kzl,
By calculating kzl = - 1 ifqkz = 0 min { i | n &GreaterEqual; qkz exe ( l + i ) - exe ( i ) &prime; 0 &le; i &le; g - l } else Described controlled quentity controlled variable computing unit obtains dynamic rate expansion controlled quentity controlled variable; Described controlled quentity controlled variable computing unit sends to described main frame speed control module by kzl value;
Described control decision package on opportunity determines the stand-by period of once controlling according to the time of implementation sequence of completing the time of implementation of next task and still carrying out on IaaS cloud system main frame of task use, the stand-by period of setup control is dsj;
By calculating dsj = wcif &Sigma; 0 < j &le; m ( et j - nxt ) < 0 or &Sigma; 0 < j &le; m ( et j - nxt ) > 0 &beta; &times; wcelse , The described control stand-by period that opportunity, decision package obtained controlling next time; Wc is the time in control interval that system initially provides, wc>0,1 < β < 10; Described control decision package on opportunity is issued described main frame speed control module by the stand-by period dsj controlling next time.
Described main frame speed control module sending controling instruction, to IaaS cloud system main frame, to expand controlled quentity controlled variable kzl according to the stand-by period dsj of described control and dynamic rate, is controlled the operating rate of IaaS cloud system main frame in the stand-by period section of controlling:
If dynamic rate expansion controlled quentity controlled variable kzl is 0, in the time period that is dsj in length, keep the original operating rate of main frame; If kzl value is-1, and main frame is current does not operate in minimum speed grade, operating rate is lowered to one-level, and the speed after keeping in the time period that is dsj in length adjusting; If kal value is-1, and main frame is currently operating in minimum speed grade, keeps existing speed in the time period that is dsj in length; If kzl value is greater than zero, and main frame current speed grade L adds and is less than or equal to the speed class value g of high permission of main frame after kzl, at once operating rate raised to kzl level, and the speed after keeping in the time period that is dsj in length adjusting; If kzl value is greater than zero, and main frame current speed grade L adds and is greater than the speed class value of high permission of main frame after kzl, will on operating rate, be transferred to maximum speed grade at once, and the speed after keeping in the time period that is dsj in length adjusting; If kzl value equals zero, in the time period that is dsj in length, keep existing speed.
The invention has the beneficial effects as follows: the present invention has taken into full account the dynamic fluctuation of cloud system load, by following the tracks of its trend predicting system speed of service needs in future, and carry out in advance the control of speedup or deceleration; Owing to having rejected the abnormity point impact in historic load, guaranteed the accuracy of trend prediction; The present invention can be according to cloud system load variations trend, the load breach of the following expection of estimation, and formulate the variable time in control interval, avoided " controlling overstocked " and " controlling thin " two extreme, play the effect that reduces energy consumption.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet of IaaS cloud system operating rate dynamic control method in the present invention.
Fig. 2 is the circuit theory schematic diagram of IaaS cloud system operating rate device for controlling dynamically in the present invention.
Fig. 3 is the circuit theory schematic diagram of IaaS cloud system operating rate kinetic-control system in the present invention.
Embodiment
Below in conjunction with drawings and Examples, the invention will be further described:
As shown in Figure 1, a kind of IaaS cloud system operating rate dynamic control method, comprises the following steps:
Step 1, storage information task time of collecting IaaS cloud system main frame:
In the present embodiment, collect the time of implementation sequence ct of nearest k having completed of task on IaaS cloud system main frame l, ct 2... ct kstill carrying out on IaaS cloud system main frame of task is the time of implementation sequence et of use 1, et 2... .et m, wherein m is still in the quantity of carrying out of task, k and m are positive integer, 5≤k≤10, described time series ct 1, ct 2... ct kfor according to completing the sequencing time of implementation sequence on IaaS cloud system main frame successively.
The time of implementation that step 2, prediction are finished the work:
Set the task of having completed successively in the time of implementation sequence on IaaS cloud system main frame, the logarithm step-length average increment of having rejected after exceptional value is disturbed is loinc;
Calculate loinc=mean{inc i, j| 0 < i < j≤k, the task that yc (i, j)=0} obtains having completed successively the rejecting in the time of implementation sequence on IaaS cloud system main frame the logarithm step-length average increment that disturbs of exceptional value; Described yc (i, j) is judgement inc i, jwhether is the function of abnormity point, mea is for gathering the operation of asking arithmetic mean value, inc i, jthe logarithm step-length equivalence increment forming between i and j record value in expression sequence, described i and j are positive integer; in c i , j = ct j - ct i log ( j - i ) ;
yc ( i , j ) = 1 if | in c i , j | mn > a + 1 , | in c i , j | > max { | in c t , t + 1 | | i &le; t &le; j } 0 else ;
Wherein a is given parameter, 0.1≤a≤0.5;
Mn value is: mn=mean{|inc u, v|| 0 < u < v≤k};
The time of implementation that setting is finished the work is nxt: calculate
nxt = mean { c t i + loinc &times; e k - i | 0 < i &le; k } if ( loinc + ct i ) > max { et j | 0 < j &le; m } min { et j | 0 < j &le; m } + &Sigma; 0 < i &le; k , ( ct i + loinc &times; e k - i + 1 ) < min { et j | 0 < j &le; m } ct i + loinc &times; e k - i + 1
Obtained the time of implementation of next task.
Step 3, calculating dynamic rate expansion controlled quentity controlled variable and control stand-by period:
Described calculating dynamic rate expansion controlled quentity controlled variable is carried out according to the following steps:
Setting following load breach value is qkz, calculates qkz = &Sigma; 0 < j &le; m , et j > nxt ( et j - nxt ) Obtain following load breach value;
Read the current residing speed class L of processor and the equivalent implementation rate exe (L) corresponding to this speed class of IaaS cloud system main frame,
If IaaS cloud system main frame has n processor, its highest speed class is g level, and L, n and g are positive integer;
Setting dynamic rate expansion controlled quentity controlled variable is kzl,
Calculate kzl = - 1 ifqkz = 0 min { i | n &GreaterEqual; qkz exe ( l + i ) - exe ( i ) &prime; 0 &le; i &le; g - l } else Obtain dynamic rate expansion controlled quentity controlled variable;
Described calculating is controlled the stand-by period and is carried out according to the following steps:
According to the time of implementation sequence of completing the time of implementation of next task and still carrying out on IaaS cloud system main frame of task use, determine the stand-by period of once controlling, the stand-by period of setup control is dsj;
Calculate dsj = wcif &Sigma; 0 < j &le; m ( et j - nxt ) < 0 or &Sigma; 0 < j &le; m ( et j - nxt ) > 0 &beta; &times; wcelse , The stand-by period that obtains next time controlling; Wc is the time in control interval that system initially provides, wc>0,1 < β < 10
Step 4, IaaS cloud system main frame, according to the stand-by period dsj of described control and dynamic rate expansion controlled quentity controlled variable kzl, are controlled the operating rate of IaaS cloud system main frame in the stand-by period section of controlling.
In the described stand-by period section controlling, the operating rate of IaaS cloud system main frame is controlled according to the following steps and is carried out:
If dynamic rate expansion controlled quentity controlled variable kzl is 0, in the time period that is dsj in length, keep the original operating rate of main frame; If kzl value is-1, and main frame is current does not operate in minimum speed grade, operating rate is lowered to one-level, and the speed after keeping in the time period that is dsj in length adjusting; If kzl value is-1, and main frame is currently operating in minimum speed grade, keeps existing speed in the time period that is dsj in length; If kzl value is greater than zero, and main frame current speed grade L adds and is less than or equal to the speed class value g of high permission of main frame after kzl, at once operating rate raised to kzl level, and the speed after keeping in the time period that is dsj in length adjusting; If kzl value is greater than zero, and main frame current speed grade L adds and is greater than the speed class value of high permission of main frame after kzl, will on operating rate, be transferred to maximum speed grade at once, and the speed after keeping in the time period that is dsj in length adjusting; If kzl value equals zero, in the time period that is dsj in length, keep existing speed.After completing, control returns to execution step 1.
As shown in Figure 2, a kind of IaaS cloud system operating rate device for controlling dynamically, comprises load monitoring module 1, control decision module 2 and main frame speed control module 3; The output of described load monitoring module 1 connects the input of described control decision module 2, and the output of described control decision module 2 connects the input of described main frame speed control module 3;
Described load monitoring module 1 is for obtaining storage information task time of IaaS cloud system main frame;
Described control decision module 2 is for having predicted the time of implementation of next task, and calculates dynamic rate expansion controlled quentity controlled variable and carry out the control stand-by period of task next time;
Described main frame speed control module 3 is for controlling the operating rate of IaaS cloud system main frame.
Described load monitoring module 1 is collected the time of implementation sequence ct of k having completed of task on IaaS cloud system main frame 1, ct 2... ct kstill carrying out on IaaS cloud system main frame of task is the time of implementation sequence et of use 1, et 2... .et m, wherein m is still in the quantity of carrying out of task, k and m are positive integer.
Described control decision module 2 comprises data pretreatment unit 201, controlled quentity controlled variable computing unit 202 and control decision package on opportunity 203; The first output of described load monitoring module 1 connects the input of described data pretreatment unit 201, the second output of described load monitoring module 1 connects the first input end of described controlled quentity controlled variable computing unit 202, and the 3rd output of described load monitoring module 1 connects the first input end of described control decision package on opportunity 203; The first output of described data pretreatment unit 201 connects the second input of described controlled quentity controlled variable computing unit 202, and the second output of described data pretreatment unit 201 connects the second input of described control decision package on opportunity 203; The output of described controlled quentity controlled variable computing unit 202 connects the first input end of described main frame speed control module 3, and the output of described control decision package on opportunity 203 connects the second input of described main frame speed control module 3.
Described data pretreatment unit 201 is for having predicted the time of implementation of next task;
Described controlled quentity controlled variable computing unit 202 is for calculating dynamic rate expansion controlled quentity controlled variable;
Described control decision package on opportunity 203 is carried out the control stand-by period of task next time for calculating.
Described data pretreatment unit 201 is set the task of having completed successively in the time of implementation sequence on IaaS cloud system main frame, and the logarithm step-length average increment of having rejected after exceptional value is disturbed is loinc;
Calculate loinc=mean{inc i, j| 0 < i < j≤k, the task that yc (i, j)=0} obtains having completed successively the rejecting in the time of implementation sequence on IaaS cloud system main frame the logarithm step-length average increment that disturbs of exceptional value; Described yc (i, j) is judgement inc i, jwhether is the function of abnormity point, mean is for gathering the operation of asking arithmetic mean value, inc i, jthe logarithm step-length equivalence increment forming between i and j record value in expression sequence, described i and j are positive integer; in c i , j = ct j - ct i log ( j - i ) ;
yc ( i , j ) = 1 if | in c i , j | mn > a + 1 , | in c i , j | > max { | in c t , t + 1 | | i &le; t &le; j } 0 else ;
Wherein a is given parameter, 0.1≤a≤0.5;
Mn value is: mn=mean{|inc u, v|| 0 < u < v≤k};
The time of implementation that setting is finished the work is nxt: described data pretreatment unit 201 calculates
nxt = mean { c t i + loinc &times; e k - i | 0 < i &le; k } if ( loinc + ct i ) > max { et j | 0 < j &le; m } min { et j | 0 < j &le; m } + &Sigma; 0 < i &le; k , ( ct i + loinc &times; e k - i + 1 ) < min { et j | 0 < j &le; m } ct i + loinc &times; e k - i + 1
The time of implementation nxt that obtains finishing the work; Described data pretreatment unit 201 is issued controlled quentity controlled variable computing unit 202 and the control decision package on opportunity 203 in control decision module 2 by nxt value;
It is qkz that described controlled quentity controlled variable computing unit 202 is set following load breach value,
Described controlled quentity controlled variable computing unit 202 calculates qkz = &Sigma; 0 < j &le; m , et j > nxt ( et j - nxt ) Obtain following load breach value;
Described controlled quentity controlled variable computing unit 202 reads the current residing speed class L of processor and the equivalent implementation rate exe (L) corresponding to this speed class of IaaS cloud system main frame, if IaaS cloud system main frame has n processor, its the highest speed class is g level, and L, n and g are positive integer;
Setting dynamic rate expansion controlled quentity controlled variable is kzl,
By calculating kzl = - 1 ifqkz = 0 min { i | n &GreaterEqual; qkz exe ( l + i ) - exe ( i ) &prime; 0 &le; i &le; g - l } else Described controlled quentity controlled variable computing unit 202 obtains dynamic rate expansion controlled quentity controlled variable; Described controlled quentity controlled variable computing unit 202 sends to described main frame speed control module 3 by kzl value;
Described control decision package on opportunity 203 determines the stand-by period of once controlling according to the time of implementation sequence of completing the time of implementation of next task and still carrying out on IaaS cloud system main frame of task use, the stand-by period of setup control is dsj;
By calculating dsj = wcif &Sigma; 0 < j &le; m ( et j - nxt ) < 0 or &Sigma; 0 < j &le; m ( et j - nxt ) > 0 &beta; &times; wcelse , The stand-by period that described control decision package on opportunity 203 obtains controlling next time; Wc is the time in control interval that system initially provides, wc>0,1 < β < 10; Described control decision package on opportunity 203 is issued described main frame speed control module 3 by the stand-by period dsj controlling next time.
Described main frame speed control module 3, according to the stand-by period dsj of described control and dynamic rate expansion controlled quentity controlled variable kzl, is controlled the operating rate of IaaS cloud system main frame in the stand-by period section of controlling:
If dynamic rate expansion controlled quentity controlled variable kzl is 0, in the time period that is dsj in length, keep the original operating rate of main frame; If kzl value is-1, and main frame is current does not operate in minimum speed grade, operating rate is lowered to one-level, and the speed after keeping in the time period that is dsj in length adjusting; If kzl value is-1, and main frame is currently operating in minimum speed grade, keeps existing speed in the time period that is dsj in length; If kzl value is greater than zero, and main frame current speed grade L adds and is less than or equal to the speed class value g of high permission of main frame after kzl, at once operating rate raised to kzl level, and the speed after keeping in the time period that is dsj in length adjusting; If kzl value is greater than zero, and main frame current speed grade L adds and is greater than the speed class value of high permission of main frame after kzl, will on operating rate, be transferred to maximum speed grade at once, and the speed after keeping in the time period that is dsj in length adjusting; If kzl value equals zero, in the time period that is ds in length, keep existing speed.
As shown in Figure 3, a kind of IaaS cloud system operating rate kinetic-control system, comprises and the server 4 of IaaS cloud system in the server 4 of described IaaS cloud system, is provided with IaaS cloud system operating rate device for controlling dynamically 5; Described IaaS cloud system operating rate device for controlling dynamically 5 comprises load monitoring module 1, control decision module 2 and main frame speed control module 3; Comprise data pretreatment unit 201, controlled quentity controlled variable computing unit 202 and control decision package on opportunity 203; The first output of described load monitoring module 1 connects the input of described data pretreatment unit 201, the second output of described load monitoring module 1 connects the first input end of described controlled quentity controlled variable computing unit 202, and the 3rd output of described load monitoring module 1 connects the first input end of described control decision package on opportunity 203; The first output of described data pretreatment unit 201 connects the second input of described controlled quentity controlled variable computing unit 202, and the second output of described data pretreatment unit 201 connects the second input of described control decision package on opportunity 203; The output of described controlled quentity controlled variable computing unit 202 connects the first input end of described main frame speed control module 3, and the output of described control decision package on opportunity 203 connects the second input of described main frame speed control module 3.
Described load monitoring module 1 is for obtaining storage information task time of IaaS cloud system main frame;
Described data pretreatment unit 201 is for having predicted the time of implementation of next task;
Described controlled quentity controlled variable computing unit 202 is for calculating dynamic rate expansion controlled quentity controlled variable;
Described control decision package on opportunity 203 is carried out the control stand-by period of task next time for calculating;
Described main frame speed control module 3 is for controlling the operating rate of IaaS cloud system main frame;
Described load monitoring module 1 is collected the time of implementation sequence ct of k having completed of task on IaaS cloud system main frame 1, ct 2... ct kstill carrying out on IaaS cloud system main frame of task is the time of implementation sequence et of use 1, et 2... .et m, wherein m is still in the quantity of carrying out of task, k and m are positive integer;
Described data pretreatment unit 201 is set the task of having completed successively in the time of implementation sequence on IaaS cloud system main frame, and the logarithm step-length average increment of having rejected after exceptional value is disturbed is loinc;
Calculate loinc=mean{inc i, j| 0 < i < j≤k, the task that yc (i, j)=0} obtains having completed successively the rejecting in the time of implementation sequence on IaaS cloud system main frame the logarithm step-length average increment that disturbs of exceptional value; Described yc (i, j) is judgement inc i, jwhether is the function of abnormity point, mean is for gathering the operation of asking arithmetic mean value, inc i, jthe logarithm step-length equivalence increment forming between i and j record value in expression sequence, described i and j are positive integer; in c i , j = ct j - ct i log ( j - i ) ;
yc ( i , j ) = 1 if | in c i , j | mn > a + 1 , | in c i , j | > max { | in c t , t + 1 | | i &le; t &le; j } 0 else ;
Wherein a is given parameter, 0.1≤a≤0.5;
Mn value is: mn=mean{|inc u, v|| 0 < u < v≤: k};
The time of implementation that setting is finished the work is nxt: described data pretreatment unit 201 calculates
nxt = mean { c t i + loinc &times; e k - i | 0 < i &le; k } if ( loinc + ct i ) > max { et j | 0 < j &le; m } min { et j | 0 < j &le; m } + &Sigma; 0 < i &le; k , ( ct i + loinc &times; e k - i + 1 ) < min { et j | 0 < j &le; m } ct i + loinc &times; e k - i + 1
The time of implementation nxt that obtains finishing the work; Described data pretreatment unit 201 is issued controlled quentity controlled variable computing unit 202 and the control decision package on opportunity 203 in control decision module 2 by nxt value;
It is qkz that described controlled quentity controlled variable computing unit 202 is set following load breach value,
Described controlled quentity controlled variable computing unit 202 calculates qkz = &Sigma; 0 < j &le; m , et j > nxt ( et j - nxt ) Obtain following load breach value;
Described controlled quentity controlled variable computing unit 202 reads the current residing speed class L of processor and the equivalent implementation rate exe (L) corresponding to this speed class of IaaS cloud system main frame, if IaaS cloud system main frame has n processor, its the highest speed class is g level, and L, n and g are positive integer;
Setting dynamic rate expansion controlled quentity controlled variable is kzl,
By calculating kzl = - 1 ifqkz = 0 min { i | n &GreaterEqual; qkz exe ( l + i ) - exe ( i ) &prime; 0 &le; i &le; g - l } else Described controlled quentity controlled variable computing unit 202 obtains dynamic rate expansion controlled quentity controlled variable; Described controlled quentity controlled variable computing unit 202 sends to described main frame speed control module 3 by kzl value;
Described control decision package on opportunity 203 determines the stand-by period of once controlling according to the time of implementation sequence of completing the time of implementation of next task and still carrying out on IaaS cloud system main frame of task use, the stand-by period of setup control is dsj;
By calculating dsj = wcif &Sigma; 0 < j &le; m ( et j - nxt ) < 0 or &Sigma; 0 < j &le; m ( et j - nxt ) > 0 &beta; &times; wcelse , The stand-by period that described control decision package on opportunity 203 obtains controlling next time; Wc is the time in control interval that system initially provides, wc>0,1 < β < 10; Described control decision package on opportunity 203 is issued described main frame speed control module 3 by the stand-by period dsj controlling next time.
Described main frame speed control module 3 sending controling instructions, to IaaS cloud system main frame, to expand controlled quentity controlled variable kzl according to the stand-by period dsj of described control and dynamic rate, are controlled the operating rate of IaaS cloud system main frame in the stand-by period section of controlling:
If dynamic rate expansion controlled quentity controlled variable kzl is 0, in the time period that is dsj in length, keep the original operating rate of main frame; If kzl value is-1, and main frame is current does not operate in minimum speed grade, operating rate is lowered to one-level, and the speed after keeping in the time period that is dsj in length adjusting; If kzl value is-1, and main frame is currently operating in minimum speed grade, keeps existing speed in the time period that is dsj in length; If kzl value is greater than zero, and main frame current speed grade L adds and is less than or equal to the speed class value g of high permission of main frame after kzl, at once operating rate raised to kzl level, and the speed after keeping in the time period that is dsj in length adjusting; If kzl value is greater than zero, and main frame current speed grade L adds and is greater than the speed class value of high permission of main frame after kzl, will on operating rate, be transferred to maximum speed grade at once, and the speed after keeping in the time period that is dsj in length adjusting; If kzl value equals zero, in the time period that is dsj in length, keep existing speed.
More than describe preferred embodiment of the present invention in detail.In the description of this specification, the description of reference term " embodiment ", " some embodiment ", " example ", " concrete example " or " some examples " etc. means to be contained at least one embodiment of the present invention or example in conjunction with specific features, structure, material or the feature of this embodiment or example description.In this manual, the schematic statement of above-mentioned term is not necessarily referred to identical embodiment or example.And the specific features of description, structure, material or feature can be with suitable mode combinations in any one or more embodiment or example.
Although illustrated and described embodiments of the invention, those having ordinary skill in the art will appreciate that: in the situation that not departing from principle of the present invention and aim, can carry out multiple variation, modification, replacement and modification to these embodiment, scope of the present invention is limited by claim and equivalent thereof.

Claims (7)

1. an IaaS cloud system operating rate dynamic control method, is characterized in that comprising the following steps:
Step 1, storage information task time of collecting IaaS cloud system main frame:
Collect the time of implementation sequence ct of k having completed of task on IaaS cloud system main frame 1, dt 2... dt kstill carrying out on IaaS cloud system main frame of task is the time of implementation sequence et of use 1, et 2... .et m, wherein m is still in the quantity of carrying out of task, k and m are positive integer;
The time of implementation that step 2, prediction are finished the work:
Set the task of having completed successively in the time of implementation sequence on IaaS cloud system main frame, the logarithm step-length average increment of having rejected after exceptional value is disturbed is loinc;
Calculate 1olnc=mean{inc i, j| 0 < i < j≤k, the task that yc (i, j)=0} obtains having completed successively the rejecting in the time of implementation sequence on IaaS cloud system main frame the logarithm step-length average increment that disturbs of exceptional value; Described yc (i, j) is judgement inc i,jwhether is the function of abnormity point, mean is for gathering the operation of asking arithmetic mean value, inc i,jrepresent in sequence the and individual record value between the logarithm step-length equivalence increment that forms, described i and j are positive integer; in c i , j = ct j - ct i log ( j - i ) ;
yc ( i , j ) = 1 if | in c i , j | mn > a + 1 , | in c i , j | > max { | in c t , t + 1 | | i &le; t &le; j } 0 else ;
Wherein a is given parameter, 0.1≤a≤0.5;
Mn value is: mn=mean{|inc u,v|| 0<u<v≤k};
The time of implementation that setting is finished the work is nxt: calculate
nxt = mean { c t i + loinc &times; e k - i | 0 < i &le; k } if ( loinc + ct i ) > max { et j | 0 < j &le; m } min { et j | 0 < j &le; m } + &Sigma; 0 < i &le; k , ( ct i + loinc &times; e k - i + 1 ) < min { et j | 0 < j &le; m } ct i + loinc &times; e k - i + 1
Obtained the time of implementation of next task;
Step 3, calculating dynamic rate expansion controlled quentity controlled variable and control stand-by period:
Described calculating dynamic rate expansion controlled quentity controlled variable is carried out according to the following steps:
Setting following load breach value is qkz, calculates qkz = &Sigma; 0 < j &le; m , et j > nxt ( et j - nxt ) Obtain following load breach value;
Read the current residing speed class L of processor and the equivalent implementation rate exe (L) corresponding to this speed class of IaaS cloud system main frame,
If IaaS cloud system main frame has n processor, its highest speed class is g level, and L, n and g are positive integer;
Setting dynamic rate expansion controlled quentity controlled variable is kzl,
Calculate kzl = - 1 ifqkz = 0 min { i | n &GreaterEqual; qkz exe ( l + i ) - exe ( i ) &prime; 0 &le; i &le; g - l } else Obtain dynamic rate expansion controlled quentity controlled variable;
Described calculating is controlled the stand-by period and is carried out according to the following steps:
According to the time of implementation sequence of completing the time of implementation of next task and still carrying out on IaaS cloud system main frame of task use, determine the stand-by period of once controlling, the stand-by period of setup control is dsj;
Calculate dsj = wcif &Sigma; 0 < j &le; m ( et j - nxt ) < 0 or &Sigma; 0 < j &le; m ( et j - nxt ) > 0 &beta; &times; wcelse , The stand-by period that obtains next time controlling; Wc is the time in control interval that system initially provides, wc>0,1 < β < 10;
Step 4, IaaS cloud system main frame, according to the stand-by period dsj of described control and dynamic rate expansion controlled quentity controlled variable kzl, are controlled the operating rate of IaaS cloud system main frame in the stand-by period section of controlling.
2. IaaS cloud system operating rate dynamic control method as claimed in claim 1, is characterized in that: in the described stand-by period section controlling, the operating rate of IaaS cloud system main frame is controlled according to the following steps and carried out:
If dynamic rate expansion controlled quentity controlled variable kzl is 0, in the time period that is dsj in length, keep the original operating rate of main frame; If kzl value is-1, and main frame is current does not operate in minimum speed grade, operating rate is lowered to one-level, and the speed after keeping in the time period that is dsj in length adjusting; If kzl value is-1, and main frame is currently operating in minimum speed grade, keeps existing speed in the time period that is dsj in length; If kzl value is greater than zero, and main frame current speed grade L adds and is less than or equal to the speed class value g of high permission of main frame after kzl, at once operating rate raised to kzl level, and the speed after keeping in the time period that is dsj in length adjusting; If kzl value is greater than zero, and main frame current speed grade L adds and is greater than the speed class value of high permission of main frame after kzl, will on operating rate, be transferred to maximum speed grade at once, and the speed after keeping in the time period that is dsj in length adjusting; If kzl value equals zero, in the time period that is dsj in length, keep existing speed;
Then return to execution step 1.
3. an IaaS cloud system operating rate device for controlling dynamically, is characterized in that: comprise load monitoring module (1), control decision module (2) and main frame speed control module (3); The output of described load monitoring module (1) connects the input of described control decision module (2), and the output of described control decision module (2) connects the input of described main frame speed control module (3);
Described load monitoring module (1) is for obtaining storage information task time of IaaS cloud system main frame;
Described control decision module (2) is for having predicted the time of implementation of next task, and calculates dynamic rate expansion controlled quentity controlled variable and carry out the control stand-by period of task next time;
Described main frame speed control module (3) is for controlling the operating rate of IaaS cloud system main frame.
4. IaaS cloud system operating rate device for controlling dynamically as claimed in claim 3, is characterized in that: described load monitoring module (1) is collected the time of implementation sequence ct of k having completed of task on IaaS cloud system main frame 1, ct 2... ct kstill carrying out on IaaS cloud system main frame of task is the time of implementation sequence et of use 1, et 2... et m, wherein m is still in the quantity of carrying out of task, k and m are positive integer.
5. the IaaS cloud system operating rate device for controlling dynamically as described in claim 3 or 4, is characterized in that: described control decision module (2) comprises data pretreatment unit (201), controlled quentity controlled variable computing unit (202) and controls decision package on opportunity (203); The first output of described load monitoring module (1) connects the input of described data pretreatment unit (201), the second output of described load monitoring module (1) connects the first input end of described controlled quentity controlled variable computing unit (202), and the 3rd output of described load monitoring module (1) connects the first input end of described control decision package on opportunity (203); The first output of described data pretreatment unit (201) connects the second input of described controlled quentity controlled variable computing unit (202), and the second output of described data pretreatment unit (201) connects the second input of described control decision package on opportunity (203); The output of described controlled quentity controlled variable computing unit (202) connects the first input end of described main frame speed control module (3), and the output of described control decision package on opportunity (203) connects the second input of described main frame speed control module (3);
Described data pretreatment unit (201) is for having predicted the time of implementation of next task;
Described controlled quentity controlled variable computing unit (202) is for calculating dynamic rate expansion controlled quentity controlled variable;
Described control decision package on opportunity (203) is carried out the control stand-by period of task next time for calculating;
Described data pretreatment unit (201) is set the task of having completed successively in the time of implementation sequence on IaaS cloud system main frame, and the logarithm step-length average increment of having rejected after exceptional value is disturbed is loinc;
Calculate loinc=mean{inc i, j| 0 < i < j≤k, the task that yc (i, j)=0} obtains having completed successively the rejecting in the time of implementation sequence on IaaS cloud system main frame the logarithm step-length average increment that disturbs of exceptional value; Described yc (i, j) is judgement inc i, jwhether is the function of abnormity point, mean is for gathering the operation of asking arithmetic mean value, inc i, jrepresent in sequence the and individual record value between the logarithm step-length equivalence increment that forms, described i and j are positive integer; in c i , j = ct j - ct i log ( j - i ) ;
yc ( i , j ) = 1 if | in c i , j | mn > a + 1 , | in c i , j | > max { | in c t , t + 1 | | i &le; t &le; j } 0 else ;
Wherein a is given parameter, 0.1≤a≤0.5;
Mn value is: mn=mean{|inc u, v|| 0 < u < v≤k};
The time of implementation that setting is finished the work is nxt: described data pretreatment unit (201) calculates
nxt = mean { c t i + loinc &times; e k - i | 0 < i &le; k } if ( loinc + ct i ) > max { et j | 0 < j &le; m } min { et j | 0 < j &le; m } + &Sigma; 0 < i &le; k , ( ct i + loinc &times; e k - i + 1 ) < min { et j | 0 < j &le; m } ct i + loinc &times; e k - i + 1
The time of implementation nxt that obtains finishing the work; Described data pretreatment unit (201) is issued nxt value the controlled quentity controlled variable computing unit (202) in control decision module (2) and controls decision package on opportunity (203);
It is qkz that described controlled quentity controlled variable computing unit (202) is set following load breach value,
Described controlled quentity controlled variable computing unit (202) calculates qkz = &Sigma; 0 < j &le; m , et j > nxt ( et j - nxt ) Obtain following load breach value;
Described controlled quentity controlled variable computing unit (202) reads the current residing speed class L of processor and the equivalent implementation rate exe (L) corresponding to this speed class of IaaS cloud system main frame, if IaaS cloud system main frame has n processor, its the highest speed class is g level, and L, n and g are positive integer;
Setting dynamic rate expansion controlled quentity controlled variable is kzl,
By calculating kzl = - 1 ifqkz = 0 min { i | n &GreaterEqual; qkz exe ( l + i ) - exe ( i ) &prime; 0 &le; i &le; g - l } else Described controlled quentity controlled variable computing unit (202) obtains dynamic rate expansion controlled quentity controlled variable; Described controlled quentity controlled variable computing unit (202) sends to described main frame speed control module (3) by kzl value;
Described control decision package on opportunity (203) determines the stand-by period of once controlling according to the time of implementation sequence of completing the time of implementation of next task and still carrying out on IaaS cloud system main frame of task use, the stand-by period of setup control is dsj;
By calculating dsj = wcif &Sigma; 0 < j &le; m ( et j - nxt ) < 0 or &Sigma; 0 < j &le; m ( et j - nxt ) > 0 &beta; &times; wcelse , The stand-by period that described control decision package on opportunity (203) obtains controlling next time; Wc is the time in control interval that system initially provides, wc>0,1 < β < 10; Described control decision package on opportunity (203) is issued described main frame speed control module (3) by the stand-by period dsj controlling next time.
6. IaaS cloud system operating rate device for controlling dynamically as claimed in claim 5, it is characterized in that: described main frame speed control module (3), according to the stand-by period dsj of described control and dynamic rate expansion controlled quentity controlled variable kzl, is controlled the operating rate of IaaS cloud system main frame in the stand-by period section of controlling:
If dynamic rate expansion controlled quentity controlled variable kzl is 0, in the time period that is dsj in length, keep the original operating rate of main frame; If kzl value is-1, and main frame is current does not operate in minimum speed grade, operating rate is lowered to one-level, and the speed after keeping in the time period that is dsj in length adjusting; If kzl value is-1, and main frame is currently operating in minimum speed grade, keeps existing speed in the time period that is dsj in length; If kzl value is greater than zero, and main frame current speed grade L adds and is less than or equal to the speed class value g of high permission of main frame after kzl, at once operating rate raised to kal level, and the speed after keeping in the time period that is dsj in length adjusting; If kal value is greater than zero, and main frame current speed grade L adds and is greater than the speed class value of high permission of main frame after kzl, will on operating rate, be transferred to maximum speed grade at once, and the speed after keeping in the time period that is dsj in length adjusting; If kzl value equals zero, in the time period that is dsj in length, keep existing speed.
7. an IaaS cloud system operating rate kinetic-control system, comprises and it is characterized in that the server (4) of IaaS cloud system: in the server of described IaaS cloud system (4), be provided with IaaS cloud system operating rate device for controlling dynamically (5); Described IaaS cloud system operating rate device for controlling dynamically (5) comprises load monitoring module (1), control decision module (2) and main frame speed control module (3); Comprise data pretreatment unit (201), controlled quentity controlled variable computing unit (202) and control decision package on opportunity (203); The first output of described load monitoring module (1) connects the input of described data pretreatment unit (201), the second output of described load monitoring module (1) connects the first input end of described controlled quentity controlled variable computing unit (202), and the 3rd output of described load monitoring module (1) connects the first input end of described control decision package on opportunity (203); The first output of described data pretreatment unit (201) connects the second input of described controlled quentity controlled variable computing unit (202), and the second output of described data pretreatment unit (201) connects the second input of described control decision package on opportunity (203); The output of described controlled quentity controlled variable computing unit (202) connects the first input end of described main frame speed control module (3), and the output of described control decision package on opportunity (203) connects the second input of described main frame speed control module (3);
Described load monitoring module (1) is for obtaining storage information task time of IaaS cloud system main frame;
Described data pretreatment unit (201) is for having predicted the time of implementation of next task;
Described controlled quentity controlled variable computing unit (202) is for calculating dynamic rate expansion controlled quentity controlled variable;
Described control decision package on opportunity (203) is carried out the control stand-by period of task next time for calculating;
Described main frame speed control module (3) is for controlling the operating rate of IaaS cloud system main frame;
Described load monitoring module (1) is collected the time of implementation sequence ct of L having completed of task on IaaS cloud system main frame 1, ct 2... ct kstill carrying out on IaaS cloud system main frame of task is the time of implementation sequence et of use 1, et 2... .et m, wherein m is still in the quantity of carrying out of task, k and m are positive integer;
Described data pretreatment unit (201) is set the task of having completed successively in the time of implementation sequence on IaaS cloud system main frame, and the logarithm step-length average increment of having rejected after exceptional value is disturbed is loinc;
Calculate loinc=mean{inc i, j| 0 < i < j≤k, yc (i, j)=0) task of obtaining having completed successively the rejecting in the time of implementation sequence on IaaS cloud system main frame the logarithm step-length average increment that disturbs of exceptional value; Described yc (i, j) is judgement inc i, jwhether is the function of abnormity point, mean is for gathering the operation of asking arithmetic mean value, inc i, jthe logarithm step-length equivalence increment forming between i and j record value in expression sequence, described i and j are positive integer; in c i , j = ct j - ct i log ( j - i ) ;
yc ( i , j ) = 1 if | in c i , j | mn > a + 1 , | in c i , j | > max { | in c t , t + 1 | | i &le; t &le; j } 0 else ;
Wherein a is given parameter, 0.1≤a≤0.5;
Mn value is: mn=mean{|inc u, v|| 0 < u < v≤k};
The time of implementation that setting is finished the work is nxt: described data pretreatment unit (201) calculates
nxt = mean { c t i + loinc &times; e k - i | 0 < i &le; k } if ( loinc + ct i ) > max { et j | 0 < j &le; m } min { et j | 0 < j &le; m } + &Sigma; 0 < i &le; k , ( ct i + loinc &times; e k - i + 1 ) < min { et j | 0 < j &le; m } ct i + loinc &times; e k - i + 1
The time of implementation nxt that obtains finishing the work; Described data pretreatment unit (201) is issued nxt value the controlled quentity controlled variable computing unit (202) in control decision module (2) and controls decision package on opportunity (203);
It is qkz that described controlled quentity controlled variable computing unit (202) is set following load breach value,
Described controlled quentity controlled variable computing unit (202) calculates qkz = &Sigma; 0 < j &le; m , et j > nxt ( et j - nxt ) Obtain following load breach value;
Described controlled quentity controlled variable computing unit (202) reads the current residing speed class L of processor and the equivalent implementation rate exe (L) corresponding to this speed class of IaaS cloud system main frame, if IaaS cloud system main frame has n processor, its the highest speed class is g level, and L, n and g are positive integer;
Setting dynamic rate expansion controlled quentity controlled variable is kzl,
By calculating kzl = - 1 ifqkz = 0 min { i | n &GreaterEqual; qkz exe ( l + i ) - exe ( i ) &prime; 0 &le; i &le; g - l } else Described controlled quentity controlled variable computing unit (202) obtains dynamic rate expansion controlled quentity controlled variable; Described controlled quentity controlled variable computing unit (202) sends to described main frame speed control module (3) by kzl value;
Described control decision package on opportunity (203) determines the stand-by period of once controlling according to the time of implementation sequence of completing the time of implementation of next task and still carrying out on IaaS cloud system main frame of task use, the stand-by period of setup control is dsj;
By calculating dsj = wcif &Sigma; 0 < j &le; m ( et j - nxt ) < 0 or &Sigma; 0 < j &le; m ( et j - nxt ) > 0 &beta; &times; wcelse , The stand-by period that described control decision package on opportunity (203) obtains controlling next time; Wc is the time in control interval that system initially provides, wc>0,1 < β < 10; Described control decision package on opportunity (203) is issued described main frame speed control module (3) by the stand-by period dsj controlling next time;
Described main frame speed control module (3) sending controling instruction is to IaaS cloud system main frame, to expand controlled quentity controlled variable kzl according to the stand-by period dsj of described control and dynamic rate, in the stand-by period section of controlling, the operating rate of IaaS cloud system main frame is controlled:
If dynamic rate expansion controlled quentity controlled variable kzl is 0, in the time period that is dsj in length, keep the original operating rate of main frame; If kzl value is-1, and main frame is current does not operate in minimum speed grade, operating rate is lowered to one-level, and the speed after keeping in the time period that is dsj in length adjusting; If kzl value is-1, and main frame is currently operating in minimum speed grade, keeps existing speed in the time period that is dsj in length; If kzl value is greater than zero, and main frame current speed grade L adds and is less than or equal to the speed class value g of high permission of main frame after kzl, at once operating rate raised to kzl level, and the speed after keeping in the time period that is dsj in length adjusting; If kzl value is greater than zero, and main frame current speed grade L adds and is greater than the speed class value of high permission of main frame after kzl, will on operating rate, be transferred to maximum speed grade at once, and the speed after keeping in the time period that is dsj in length adjusting; If kzl value equals zero, in the time period that is dsj in length, keep existing speed.
CN201310717182.XA 2013-12-23 2013-12-23 IaaS cloud system operating rate device for controlling dynamically, system and method Expired - Fee Related CN103685541B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310717182.XA CN103685541B (en) 2013-12-23 2013-12-23 IaaS cloud system operating rate device for controlling dynamically, system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310717182.XA CN103685541B (en) 2013-12-23 2013-12-23 IaaS cloud system operating rate device for controlling dynamically, system and method

Publications (2)

Publication Number Publication Date
CN103685541A true CN103685541A (en) 2014-03-26
CN103685541B CN103685541B (en) 2016-10-05

Family

ID=50321815

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310717182.XA Expired - Fee Related CN103685541B (en) 2013-12-23 2013-12-23 IaaS cloud system operating rate device for controlling dynamically, system and method

Country Status (1)

Country Link
CN (1) CN103685541B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104765435A (en) * 2015-03-31 2015-07-08 重庆大学 Method, device and system for delaying starting up of cloud data center host computer
CN107807856A (en) * 2017-11-07 2018-03-16 王昆 A kind of limited period integration cloud service system resource allocation method and device
CN108429704A (en) * 2017-02-14 2018-08-21 中国移动通信集团吉林有限公司 A kind of node resource distribution method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080209238A1 (en) * 2007-02-22 2008-08-28 Kabushiki Kaisha Toshiba Controller for processing apparatus
WO2012070284A1 (en) * 2010-11-25 2012-05-31 株式会社日立製作所 Operation monitoring device, operation monitoring method, and operation monitoring program
US20130139152A1 (en) * 2011-11-29 2013-05-30 International Business Machines Corporation Cloud provisioning accelerator
CN103365710A (en) * 2012-03-31 2013-10-23 索尼公司 Real-time task scheduling device and method and computer system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080209238A1 (en) * 2007-02-22 2008-08-28 Kabushiki Kaisha Toshiba Controller for processing apparatus
WO2012070284A1 (en) * 2010-11-25 2012-05-31 株式会社日立製作所 Operation monitoring device, operation monitoring method, and operation monitoring program
US20130139152A1 (en) * 2011-11-29 2013-05-30 International Business Machines Corporation Cloud provisioning accelerator
CN103365710A (en) * 2012-03-31 2013-10-23 索尼公司 Real-time task scheduling device and method and computer system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104765435A (en) * 2015-03-31 2015-07-08 重庆大学 Method, device and system for delaying starting up of cloud data center host computer
CN104765435B (en) * 2015-03-31 2018-01-16 重庆大学 A kind of methods, devices and systems of cloud data center main frame delay start
CN108429704A (en) * 2017-02-14 2018-08-21 中国移动通信集团吉林有限公司 A kind of node resource distribution method and device
CN108429704B (en) * 2017-02-14 2022-01-25 中国移动通信集团吉林有限公司 Node resource allocation method and device
CN107807856A (en) * 2017-11-07 2018-03-16 王昆 A kind of limited period integration cloud service system resource allocation method and device

Also Published As

Publication number Publication date
CN103685541B (en) 2016-10-05

Similar Documents

Publication Publication Date Title
CN109800066B (en) Energy-saving scheduling method and system for data center
WO2018137402A1 (en) Cloud data centre energy-saving scheduling implementation method based on rolling grey prediction model
CN103605567B (en) Cloud computing task scheduling method facing real-time demand change
Liu et al. Sleepscale: Runtime joint speed scaling and sleep states management for power efficient data centers
US20120226922A1 (en) Capping data center power consumption
US9037880B2 (en) Method and system for automated application layer power management solution for serverside applications
US20150295970A1 (en) Method and device for augmenting and releasing capacity of computing resources in real-time stream computing system
CN102004671A (en) Resource management method of data center based on statistic model in cloud computing environment
CN104991830A (en) YARN resource allocation and energy-saving scheduling method and system based on service level agreement
Bi et al. SLA-based optimisation of virtualised resource for multi-tier web applications in cloud data centres
Li et al. Opportunistic scheduling in clouds partially powered by green energy
CN103685542A (en) Method, device and system for migrating cloud virtual machine
CN104252390A (en) Resource scheduling method, device and system
Ai et al. On elasticity measurement in cloud computing
KR101770736B1 (en) Method for reducing power consumption of system software using query scheduling of application and apparatus for reducing power consumption using said method
CN116185645B (en) Cluster resource intelligent scheduling method, system and storage medium based on neural network
CN102339233A (en) Cloud computing centralized management platform
Zhang et al. An energy and SLA-aware resource management strategy in cloud data centers
CN103685541A (en) Device, system and method for dynamically controlling running speed of IaaS (infrastructure as a service) cloud system
CN103442087B (en) A kind of Web service system visit capacity based on response time trend analysis controls apparatus and method
CN104571931A (en) I/O (input/output) request combination scheduling system and method based on system resources
WO2016171950A1 (en) Multivariable control for power-latency management to support optimization of data centers or other systems
CN104111875A (en) Device, system and method for dynamically controlling number of newly-increased tasks at cloud data center
CN104063282A (en) Management method, device and server for IaaS cloud variable scale resource pool
CN103617090A (en) Energy saving method based on distributed management

Legal Events

Date Code Title Description
PB01 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
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20161005

Termination date: 20191223