CN102360246A - Self-adaptive threshold-based energy-saving scheduling method in heterogeneous distributed system - Google Patents

Self-adaptive threshold-based energy-saving scheduling method in heterogeneous distributed system Download PDF

Info

Publication number
CN102360246A
CN102360246A CN2011103121080A CN201110312108A CN102360246A CN 102360246 A CN102360246 A CN 102360246A CN 2011103121080 A CN2011103121080 A CN 2011103121080A CN 201110312108 A CN201110312108 A CN 201110312108A CN 102360246 A CN102360246 A CN 102360246A
Authority
CN
China
Prior art keywords
task
energy consumption
threshold
scheduling
processor
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
CN2011103121080A
Other languages
Chinese (zh)
Other versions
CN102360246B (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.)
Wuhan University of Technology WUT
Original Assignee
Wuhan University of Technology WUT
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 Wuhan University of Technology WUT filed Critical Wuhan University of Technology WUT
Priority to CN201110312108.0A priority Critical patent/CN102360246B/en
Publication of CN102360246A publication Critical patent/CN102360246A/en
Application granted granted Critical
Publication of CN102360246B publication Critical patent/CN102360246B/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
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The invention relates to a self-adaptive threshold-based energy-saving scheduling method in an environment of supporting a heterogeneous distributed system, belonging to the technical field of parallel task scheduling of the heterogeneous distributed system. The method provided by the invention specifically comprises the steps of: reading a parallel task directed acyclic graph (DAG) file; obtaining an initial task scheduling sequence; obtaining an optimal threshold: dynamically obtaining an optimal threshold according to parallel task and system environment; grouping the tasks: controlling task duplication by using the optimal threshold, namely, selectively duplicating optimal precursors of the tasks to balance system performance and energy consumption to obtain approximate optimal grouping; mapping the tasks: scheduling all groups into a processor, wherein the processor is not distributed and has minimum energy consumption; and regulating the voltage of the processor: dynamically regulating the voltage of the processor by using a task idle time to reduce the energy consumption of the processor. According to the invention, requirements on system performance and energy consumption are comprehensively considered. The optical threshold in the method can self-adapt the parallel tasks and the system environment, and is used for controlling the task duplication for balancing the system performance and the energy consumption, so that the energy consumption is reduced as far as possible under the premise that the final scheduling result meets the requirement of the system performance.

Description

In a kind of heterogeneous distributed system based on the energy-saving scheduling method of adaptive threshold
Technical field
The present invention relates to a kind of computer system energy-saving scheduling method, particularly relate to a kind of energy-saving scheduling method of supporting in the heterogeneous distributed system based on adaptive threshold.
Background technology
Heterogeneous distributed system (HDS) is made up of many computational resources with different disposal ability usually, and these computational resources are connected with each other through the express network that can satisfy various application requirements.In the past few years, heterogeneous distributed system has become popular computing platform, for computation-intensive and communications-intensive tasks provide various computation requirements.
Heterogeneous distributed system is used widely at numerous areas such as industry and commerce.Yet heterogeneous distributed system has also consumed huge energy when powerful calculating ability is provided.According to UN (Energy User News) report, now, cluster computing center energy requirement will be increased to 200-300W/ft2 in the coming years from 150W/ft2 to 200W/ft2.Environmental Protection Department of the United States Federal (EPA) has submitted a report about data center in August, 2009.This part report claims that the energy resource consumption of data center increased by one times from 2000 to 2006, expected 2011 and doubled.Huge energy consumption cost becomes the important bottleneck of the heterogeneous distributed system development of restriction, is badly in need of effectively being solved.
Represent that with directed acyclic graph DAG (Directed Acyclic Graph) the Parallel Task Scheduling problem is the research focus of academia always, the Parallel Task Scheduling problem has been proved to be np complete problem, has caused extensive studies at home and abroad.The target of scheduling is will be under the prerequisite that satisfies the priority of task restriction relation; Confirm a kind of assignment and execution sequence according to the suitable dispensing strategy; But the task reasonable distribution of executed in parallel is carried out to each processor in an orderly manner, to reach the purpose that reduces total execution time.
Based on different scheduling strategies, existing dispatching method mainly can be divided three classes: list scheduling method, the dispatching method that clusters, the dispatching method that duplicates based on task.Energy-conservation in the heterogeneous distributed system can be taked traditional dispatching method, and operational scheme is also closely similar, just when scheduling, taken all factors into consideration energy-conservation this target.Wherein, the selection of dispatching method has bigger influence for scheduling result, because inappropriate dispatching method may make real powerful computing ability can not get embodying, even can reduce system performance, increases system energy consumption.At present, existing energy-saving scheduling method great majority are based on above three kinds of dispatching methods, combine dynamic electric voltage adjusting (DVS), dynamic power management energy-conservation technology such as (DPM) to come the optimization system energy consumption again.
It is a breakthrough of microprocessor low power dissipation design in recent years that dynamic electric voltage is regulated (DVS) technology, and it allows dynamically to regulate microprocessor voltage and frequency, guarantees system's operate as normal simultaneously.At present, in the embedded hardware circuit design, no matter be CPU, still peripheral I/O interface all generally uses the CMOS logical circuit.In the CMOS logical circuit, power consumption is directly proportional with the quadratic power of frequency and voltage.Though reduce the increase that frequency/voltage can cause task execution time; But explore task free time according to the dependence between the parallel task; Utilize dynamic electric voltage to regulate (DVS) reasonable in technology ground and regulate processor voltage; Under the prerequisite that does not influence other tasks execution, can reduce the processor energy consumption effectively.In the voltage-regulation process, the voltage management chip can be carried out the adjustment of small voltage, and can be in the extremely short time adjustment of (tens microseconds in) completion voltage.
At present, mainly contain about the energy-saving scheduling method under the heterogeneous distributed system environments both at home and abroad:
The people such as D.P.Agrawal of U.S. University of Cincinnati have proposed a kind of dispatching algorithm of duplicating based on task (TDS) in heterogeneous system, this algorithm as much as possible the replication task forerunner to improve system performance.Then, proposed a kind of dispatching algorithm based on heterogeneous network (TANH) again, this algorithm has carried out improving with further sophisticated systems performance on the basis of TDS algorithm.
The dispatching method that duplicates based on task through duplicating certain or some tasks to nonidentical processor, is eliminated the communication overhead between the task with restriction relation, thereby is reduced whole task scheduling time span exactly.This method can reduce task scheduling length effectively, saves the communication energy consumption, but also can increase the calculating energy consumption of replication task simultaneously, therefore in energy-saving distribution, needs careful consideration.
Ancestor's of U.S. Auburn University is good to wait the people to propose a kind of energy-saving distribution algorithm that duplicates based on task, and this algorithm has proposed a threshold value and come control task to duplicate, and promptly optionally the best forerunner of replication task comes balance system performance and energy consumption two aspects.People such as the Gong Bin of Shandong University have proposed a kind of dispatching method and task of will clustering and have duplicated the power-economizing method that dispatching method effectively combines, and utilize dynamic power management (DPM) technology to save the idle energy consumption of processor.
The Lee of Sydney University has proposed a kind of heuristic dispatching method of regulating (DVS) technology based on dynamic electric voltage; This method considers in the task scheduling process aspect performance and the processor energy consumption two simultaneously, proposed a relative priority level (RS) as evaluation index set the tasks dispatch processor and the execution voltage on this processor.The Kang Yan of Yunnan University has proposed a kind of power-economizing method in heterogeneous distributed system; This method at first utilizes taboo (Tabu) strategy to obtain free time, utilizes dynamic electric voltage (DVS) technology of regulating to reduce the voltage of current task on processor to save the CPU energy consumption then.People such as the Kang of Univ Florida USA have proposed a kind of scheduling strategy based on dynamic electric voltage adjusting (DVS) technology, through effective allocating task reasonable adjustment of free time processor voltage, thus the minimizing processor energy consumption.
In sum, in the past most of certain part (system energy consumption comprises processor energy consumption and network energy consumption two parts) to performance or energy consumption of dispatching method has carried out improving or optimization.The weak point that exists has: the method that 1. has is only considered performance and is ignored energy consumption fully; 2. some energy-saving scheduling method that duplicates based on task utilizes threshold value that task is duplicated to control, but given threshold value be to be provided with arbitrarily, can not regulate according to parallel task and system environments self-adaptation, cause the scheduling result instability; Though the method that 3. has has not only been considered performance but also considered the processor energy consumption, has ignored the network service energy consumption.
Summary of the invention
The purpose of this invention is to provide in a kind of heterogeneous distributed system energy-saving scheduling method based on adaptive threshold; This method will be duplicated dispatching method and dynamic electric voltage (DVS) technology of regulating based on the task of adaptive threshold and combined; Under the prerequisite that satisfies the system performance requirement, can save energy consumption effectively.
Technical scheme of the present invention may further comprise the steps:
One, at first reads parallel task directed acyclic graph DAG file.
Two, obtain initiating task scheduling sequence.For parallel task collection V, total n=|V| task is from export task v nBeginning, the priority of calculating each task is until beginning task v 1Finish.Arrange according to task priority size ascending order then, obtain initiating task scheduling sequence.
Three, obtain optimal threshold.At first, first task of dispatching sequence from initiating task begins to travel through all tasks, calculates and duplicates current task v iBest forerunner (FP (v i)) the energy consumption moreenergy that increased (equals FP (v i) the calculating energy consumption deduct it and v iBetween the communication energy consumption), get wherein minimum value and maximal value respectively as minimum threshold min_threshold and max-thresholds max_threshold.Task scheduling length when the dispatching method that then, utilizes this patent and proposed asks threshold value to be respectively max_threshold and min_threshold-1 is minimum scheduling length and maximum scheduling length.At last; Specify one can satisfy the scheduling length that user performance requires; Begin to travel through all threshold values from min_threshold-1; And utilize dispatching method to ask task scheduling length under the current threshold value, less than specifying scheduling length just to finish traversal, current threshold value is optimal threshold up to the scheduling length of being tried to achieve.
Four, task is divided into groups.Begin from first task of initiating task scheduling sequence, carry out depth-first search up to the beginning task termination.In the task search procedure, if current task v iBest forerunner (FP (v i)) divide into groups, then it is distributed to the grouping at current task place, and be labeled as and distribute, otherwise to whether duplicating FP (v i) carry out.If duplicate FP (v i), then can increase replication task FP (v i) the calculating energy consumption, reduce task scheduling length and FP (v i) and v iBetween the communication energy consumption.Suppose that the time that reduces is lesstime (the scheduling length that equals to reduce), the final energy consumption that increases is that moreenergy (equals FP (v i) the calculating energy consumption deduct it and v iBetween the communication energy consumption), if lesstime>0, and moreenergy is smaller or equal to optimal threshold, then with replication task FP (v i) add current task v to iThe grouping at place, otherwise withdraw from current group and choose in the initiating task scheduling sequence first and do not divide group task to carry out next one grouping.
Five, duty mapping.From first beginning of dividing into groups, calculate and respectively be grouped in energy consumption on all unappropriated processors, current group is mapped on the minimum processor of energy consumption, and this processor of mark to be occupied, circulation like this is gone down and all is assigned with away up to all groupings.
Six, processor voltage is regulated.Utilize the free time that dependence produced between the task, the execution time under each voltage on the dispatch processor of setting the tasks, make that the calculating energy consumption that produces is minimum, then dynamic adjustment processor voltage in the task implementation.
Characteristics of the present invention are to the energy-optimised problem in the heterogeneous distributed system, will combine optimization system energy consumption when satisfying the system performance requirement based on task replication strategy and dynamic electric voltage (DVS) technology of regulating of adaptive threshold.At first, can dynamically obtain an optimal threshold according to parallel task and system environments (mainly comprise system provided processor and network parameter) based on the task replication strategy of adaptive threshold among the present invention, improve the dirigibility of system; Utilize this threshold value that control task is duplicated then, promptly optionally the best forerunner of replication task comes balance system performance and energy consumption to divide into groups to obtain near-optimization, has improved the stability of system; At last; With each packet scheduling on unappropriated and processor that energy consumption is minimum; This processor utilizes dynamic electric voltage (DVS) technology of regulating dynamically to adjust processor voltage with further saving processor energy consumption according to the free time that dependence produced between the task.
Description of drawings
Accompanying drawing is a FB(flow block) of the present invention.
Embodiment
Below in conjunction with accompanying drawing the present invention is made further detailed description.
Parallel task: the task that the user submits to representes with directed acyclic graph DAG, be defined as G (V, E).V=(v wherein 1, v 2, L, v n) expression forgives the task-set of n task.For each task among the V, task v iAt processor p jOn execution time be t Ij, wherein maximum execution time is designated as
Figure BDA0000098824670000041
t i *Expression task v iExecution time on the processor that is scheduled.Set forth for ease, use { V here respectively 1, V 2, K, V hAnd { f 1, f 2, K, f hRepresent that each task belongs to the voltage and the frequency set of processor.Especially, as task v iWhen having free time, can utilize dynamic electric voltage to regulate the execution voltage on the processor of (DVS) technological adjusting task place, task is at voltage V kUnder execution time be designated as τ IkIn addition, for task v i, task computation cycle cc iBe certain value, irrelevant with processor voltage.E is a message set, e Ij=(v i, v j) ∈ E representes task v iTo task v jMessage transmitted, c IjExpression pass-along message e IjThe call duration time of the expense of sending out.In addition, we use succ (v respectively i) and pred (v i) expression task v iThe set of follow-up set of tasks and predecessor task.
System resource: a heterogeneous distributed system is made up of many processor nodes that can have the different disposal ability, is designated as P={p 1, p 2, K, p m, these nodes are connected with each other through express network Link.All processors in the system all support dynamic electric voltage to regulate (DVS) technology, and each processor all has h the magnitude of voltage of arranging by descending order, are designated as { V I1, V I2, K, V Ih, frequency value corresponding is designated as { f I1, f I2, K, f Ih, 1≤i≤n wherein.We can use the two-dimensional matrix X of a n * m to represent the scheduling process of n duty mapping to m heterogeneous processor.If task v iBe dispatched to processor p j, x then Ij=1, otherwise x Ij=0, x wherein Ij∈ X.
Embodiment is carried out according to following steps.
One, reads parallel task directed acyclic graph DAG file.
Two, obtain initiating task scheduling sequence.For parallel task collection V, total n=|V| task is from export task v nBeginning, the priority of calculating each task is up to beginning task v 1Finish.Arrange according to task priority size ascending order then, obtain initiating task scheduling sequence.Wherein, task v iPriority bottom (v i) define shown in formula (1).
bottom ( v i ) = t i ‾ ifsucc ( v i ) = Φ , max v k ∈ succ ( v i ) ( bottom ( v k ) ) + t i ‾ , otherwise . - - - ( 1 )
Three, obtain optimal threshold.At first, calculated threshold span.Begin to travel through all tasks from first task of initiating task scheduling sequence, calculate and duplicate current task v iBest forerunner (FP (v i)) the energy consumption moreenergy that increased (equals FP (v i) the calculating energy consumption deduct it and v iBetween the communication energy consumption), i.e. moreenergy=en k-el Ki(represent FP (v with k here i)), minimum value and the maximal value of getting its moreenergy are respectively as minimum threshold min_threshold and max-thresholds max_threshold.Wherein best forerunner FP (v i) define shown in formula (2):
FP(v i)=v k,s.t.ECT(v k)+c ki≥ECT(v l)+c li?where?v k∈pred(v i),v l∈pred(v i)&&l≠k.(2)
Task v iEarliest start time on each processor (EST) is recursive calculation from top to bottom, and the earliest start time of the task that wherein enters the mouth is 0.Computing formula is:
EST ( v i / w ) = 0 , ifpred ( v i ) = Φ min e li ∈ E ( max e kj ∈ E , v k ≠ v l FP ( v i ) = w ( ECT ( v k ) , ECT ( v l ) + c li ) | | max e ki ∈ E , v k ≠ v l FP ( v i ) ≠ w ( EST ( v k ) + t kw , ECT ( v l ) + c li ) ) , otherwise - - - ( 3 )
Here, task v iActual earliest finish time can use task v iAt its optimum processor (fproc (v i)) on earliest finish time represent:
EST(v i)=EST(v i/fproc(v i)) (4)
Task v iEarliest finish time (ECT) equal task v iActual earliest start time add task v iExecution time on its optimum processor, shown in formula (5):
ECT(j)=EST(j)+t jfproc(j). (5)
Task v iOptimum processor can calculate according to formula (6):
fproc ( v i ) = p &Element; Ps . t . &ForAll; q &Element; P , ( EST ( v i / p ) + t ip < EST ( v i / q ) + t iq ) - - - ( 6 )
For task v i, it is at processor p jOn the calculating power consumption with formula (7) expression, wherein PN JkBe processor p jAt voltage V kUnder power consumption.
en i = &Sigma; k = 1 h PN jk &tau; ik - - - ( 7 )
Like this, the activity energy consumption of all tasks can be used formula (8) expression.Wherein, PN I_highest, f I_highest, V I_highestBe respectively task v iMaximum power dissipation, maximum frequency and the maximum voltage of place processor.In addition, all processor free time can be consumed formula (9) expression, and makespan is the scheduling length of the parallel task after task scheduling finishes.
EN active = &Sigma; i = 1 n &Sigma; j = 1 h PN i _ highest &CenterDot; f j V j 2 f i _ highest V i _ highest 2 &tau; ij - - - ( 8 )
EN idle = &Sigma; i = 1 m ( PN i _ idle &CenterDot; ( makespan - &Sigma; j = 1 n &Sigma; k = 1 h ( x ij &CenterDot; &tau; jk ) ) ) - - - ( 9 )
Message transfer e Ij=(v i, v j) energy that consumed of ∈ E can use formula (10) to represent.Like this, the network service energy consumption EL in the total system can use formula (11) expression.Wherein, PL is the network service power consumption.
el ij=PL×c ij (10)
EL = &Sigma; i = 1 n &Sigma; j = 1 , j &NotEqual; i n &Sigma; p = 1 m &Sigma; q = 1 , q &NotEqual; p m ( x ip &CenterDot; x jq &CenterDot; PL &CenterDot; c ij ) - - - ( 11 )
Secondly, calculate scheduling length span.Task scheduling length when the dispatching method that utilizes this patent to propose is asked threshold value for max_threshold and min_threshold-1 respectively is minimum scheduling length and maximum scheduling length.The scheduling length calculation comprises following three steps: the first step, and under current threshold value, utilize the grouping strategy in the step 4 that task is divided into groups; Second step, utilize scheduling strategy in the step 5 with duty mapping to the corresponding processing device; In the 3rd step, obtain the task scheduling length under the current threshold value according to the task scheduling result.Details can be referring to step 4 and step 5.
At last; Specify one can satisfy the scheduling length that user performance requires; All threshold values of traversal from min_threshold-1 to max_threshold; The dispatching method that utilizes this patent to propose is found the solution the task scheduling length under the current threshold value, is less than or equal to up to the scheduling length of being tried to achieve and specifies scheduling length just to finish traversal, and the current threshold value of this moment is optimal threshold.
Four, task is divided into groups.Begin from first task of initiating task scheduling sequence, carry out depth-first search task is divided into groups.In the task search procedure, if current task v iBest forerunner (FP (v i)) do not divide into groups, then it is assigned to v iThe grouping at place, and be labeled as and distribute, otherwise to whether duplicating FP (v i) weigh.If duplicate FP (v i), then can increase replication task FP (v i) the calculating energy consumption, reduce task scheduling time span and FP (v i) and v iBetween the communication energy consumption, the time of minimizing is designated as lesstime, the energy consumption of increase is designated as moreenergy.If lesstime>0, and moreenergy is less than or equal to optimal threshold, then with replication task FP (v i) add current task v to iThe grouping at place, otherwise withdraw from current group and choose in the initiating task scheduling sequence first and do not divide group task to carry out next one grouping.Wherein, reduce time lesstime=LACT (v i)-LAST (v j)+c Ij, increase energy consumption moreenergy=en k-el Ki
The deadline of permission the latest (LACT) of export task equals its earliest finish time, and the deadline of permission the latest of other tasks is recursive calculation from top to bottom, shown in formula (12):
LACT ( v i ) = ECT ( v i ) , ifsucc ( v i ) = &Phi; min ( min e ik &Element; E , v i &NotEqual; FP ( v k ) ( LAST ( v k ) - c ik ) , min e ik &Element; E , v i = FP ( v k ) ( LAST ( v k ) ) ) , otherwise . - - - ( 12 )
Task v iThe start time of permission the latest (LAST) equal it and allow the deadline to deduct its execution time the latest, LAST (v i) define like formula (13):
LAST ( v i ) = LACT ( v i ) - t ifproc ( v i ) . - - - ( 13 )
Five, duty mapping.From first grouping beginning; Calculate and respectively be grouped in the energy consumption on all unappropriated processors; Current group is mapped on the minimum processor of energy consumption, and this processor of mark is occupied, so circulation is gone down till all task groupings all are assigned with away.
Six, processor voltage is regulated.Utilize the dependence exploration task free time between the task, the execution time that sets the tasks under each voltage on the dispatch processor makes the task computation energy consumption minimum, then dynamic adjustments processor voltage in the task implementation.
For task v i, its computation period and execution time, the relation of carrying out between the frequency are: cc i=t i *F iIf task v iAlso there is free time after under processor highest frequency/voltage, being finished, then can saves the calculating energy consumption through the voltage/frequency that reduces on its place processor.At this moment, computation period can be expressed as:
cc i = &Sigma; j = 1 h &tau; ij &CenterDot; f j - - - ( 14 )
Here, { τ Ij, i=1, L, n, j=1, L, h} ∈ Integer (15)
According to the dependence between the task, we can obtain duty mapping to processor actual beginning execution time (AST) and maximum allowable execution time (MAET) afterwards, and account form is shown in formula (16) and formula (17).Wherein, group (v i=v j) expression task v iAnd v jIn same grouping.
AST ( v i ) = 0 , ifpred ( v i ) = &Phi; max ( max v j &Element; pre ( v i ) , group ( v i &NotEqual; v j ) ( AST ( v j ) + t j * + c ji ) , max v j &Element; pre ( v i ) , group ( v i = v j ) ( AST ( v j ) + t j * ) ) , otherwise - - - ( 16 )
MAET ( v i ) = t i * , ifsucc ( v i ) = &Phi; min ( min v j &Element; succ ( v i ) , group ( v i &NotEqual; v j ) ( AST ( v j ) - AST ( v i ) - c ij ) , min v j &Element; succ ( v i ) , group ( v i = v j ) ( AST ( v j ) - AST ( v i ) ) ) , otherwise . - - - ( 17 )
Therefore, task v iExecution time satisfy below relation:
t i * &le; &Sigma; j = 1 h &tau; ij &le; MAET i - - - ( 18 )
The purpose that adopts dynamic electric voltage to regulate (DVS) technology among the present invention is to minimize the task computation energy consumption through the execution time of exploration task under each voltage of processor.Here, we had both considered processor activity energy consumption, had considered the idle energy consumption of processor again.Therefore, the target equation of each task can be expressed as:
Min en i = en active i + en idle i = &Sigma; j = 1 h PN i _ highest &CenterDot; f j V j 2 f highest V highest 2 &tau; ij + PN i _ idle &CenterDot; ( MAET i - &Sigma; j = 1 h &tau; ij ) - - - ( 19 )
Above optimization problem is an integral linear programming problem; It is an equation of condition with formula (14), (15), (18); With formula (19) is the target equation, can utilize integral linear programming to find the solution instrument LP_solve and try to achieve the integer optimum solution of task in each following execution time of voltage of processor.

Claims (1)

  1. In the heterogeneous distributed system based on the energy-saving scheduling method of adaptive threshold, it is characterized in that: may further comprise the steps:
    One, at first reads parallel task directed acyclic graph DAG file;
    Two, obtain initiating task scheduling sequence; For parallel task collection V, total n=|V| task is from export task v nBeginning, the priority of calculating each task is until beginning task v 1Finish; Arrange according to task priority size ascending order then, obtain initiating task scheduling sequence;
    Three, obtain optimal threshold; At first, first task of dispatching sequence from initiating task begins to travel through all tasks, calculates and duplicates current task v iBest forerunner (FP (v i)) the energy consumption moreenergy that increased (equals FP (v i) the calculating energy consumption deduct it and v iBetween the communication energy consumption), get wherein minimum value and maximal value respectively as minimum threshold min_threshold and max-thresholds max_threshold; Task scheduling length when the dispatching method that then, utilizes this patent and proposed asks threshold value to be respectively max_threshold and min_threshold-1 is minimum scheduling length and maximum scheduling length; At last; Specify one can satisfy the scheduling length that user performance requires; Begin to travel through all threshold values from min_threshold-1; And utilize dispatching method to ask task scheduling length under the current threshold value, less than specifying scheduling length just to finish traversal, current threshold value is optimal threshold up to the scheduling length of being tried to achieve;
    Four, task is divided into groups; Begin from first task of initiating task scheduling sequence, carry out depth-first search up to the beginning task termination; In the task search procedure, if current task v iBest forerunner (FP (v i)) divide into groups, then it is distributed to the grouping at current task place, and be labeled as and distribute, otherwise to whether duplicating FP (v i) carry out; If duplicate FP (v i), then can increase replication task FP (v i) the calculating energy consumption, reduce task scheduling length and FP (v i) and v iBetween the communication energy consumption; Suppose that the time that reduces is lesstime (the scheduling length that equals to reduce), the final energy consumption that increases is that moreenergy (equals FP (v i) the calculating energy consumption deduct it and v iBetween the communication energy consumption), if lesstime>0, and moreenergy is smaller or equal to optimal threshold, then with replication task FP (v i) add current task v to iThe grouping at place, otherwise withdraw from current group and choose in the initiating task scheduling sequence first and do not divide group task to carry out next one grouping;
    Five, duty mapping; From first beginning of dividing into groups, calculate and respectively be grouped in energy consumption on all unappropriated processors, current group is mapped on the minimum processor of energy consumption, and this processor of mark to be occupied, circulation like this is gone down and all is assigned with away up to all groupings;
    Six, processor voltage is regulated; Utilize the free time that dependence produced between the task, the execution time under each voltage on the dispatch processor of setting the tasks, make that the calculating energy consumption that produces is minimum, then dynamic adjustment processor voltage in the task implementation.
CN201110312108.0A 2011-10-14 2011-10-14 Self-adaptive threshold-based energy-saving scheduling method in heterogeneous distributed system Expired - Fee Related CN102360246B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110312108.0A CN102360246B (en) 2011-10-14 2011-10-14 Self-adaptive threshold-based energy-saving scheduling method in heterogeneous distributed system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110312108.0A CN102360246B (en) 2011-10-14 2011-10-14 Self-adaptive threshold-based energy-saving scheduling method in heterogeneous distributed system

Publications (2)

Publication Number Publication Date
CN102360246A true CN102360246A (en) 2012-02-22
CN102360246B CN102360246B (en) 2014-04-09

Family

ID=45585581

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110312108.0A Expired - Fee Related CN102360246B (en) 2011-10-14 2011-10-14 Self-adaptive threshold-based energy-saving scheduling method in heterogeneous distributed system

Country Status (1)

Country Link
CN (1) CN102360246B (en)

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102650957A (en) * 2012-04-09 2012-08-29 武汉理工大学 Self-adaptive energy-saving dispatching method in isomorphic cluster system based on dynamic voltage regulation technology
CN102749987A (en) * 2012-06-20 2012-10-24 武汉理工大学 High energy efficiency resource allocating method for isomorphic cluster system of computer
CN103116526A (en) * 2013-02-22 2013-05-22 中国人民解放军国防科学技术大学 Maximum power consumption control method for high-performance heterogeneous parallel computer
CN103176850A (en) * 2013-04-10 2013-06-26 国家电网公司 Electric system network cluster task allocation method based on load balancing
CN103235640A (en) * 2013-01-08 2013-08-07 北京邮电大学 DVFS-based energy-saving dispatching method for large-scale parallel tasks
CN103399626A (en) * 2013-07-18 2013-11-20 国家电网公司 Power consumption sensing scheduling system and power consumption sensing scheduling method for parallel application for hybrid computation environments
CN104102532A (en) * 2013-04-15 2014-10-15 同济大学 Low-energy-consumption-based scientific workflow scheduling method in heterogeneous cluster
CN104239137A (en) * 2014-08-21 2014-12-24 东软集团股份有限公司 DAG (Directed Acyclic Graph) node optimal path-based multi-model parallel scheduling method and device
CN104331326A (en) * 2014-11-25 2015-02-04 华南师范大学 Scheduling method and system for cloud computing
CN106055409A (en) * 2016-05-31 2016-10-26 广东欧珀移动通信有限公司 Allocation method for processor resources and mobile terminal
WO2017005115A1 (en) * 2015-07-08 2017-01-12 阿里巴巴集团控股有限公司 Adaptive optimization method and device for distributed dag system
CN107302562A (en) * 2017-05-23 2017-10-27 中国科学院计算技术研究所 The adaptive command processing system and method for a kind of internet-of-things terminal equipment
CN107943561A (en) * 2017-12-14 2018-04-20 长春工程学院 A kind of scientific workflow method for scheduling task towards cloud computing platform
CN110674078A (en) * 2019-10-08 2020-01-10 北京航空航天大学 Digital twin system complex task heterogeneous multi-core parallel efficient solving method and system
CN112631749A (en) * 2020-12-19 2021-04-09 北京化工大学 Scheduling method for parallel application programs in heterogeneous distributed system
CN111240818B (en) * 2020-01-09 2023-08-08 黔南民族师范学院 Task scheduling energy-saving method in heterogeneous GPU heterogeneous system environment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050278520A1 (en) * 2002-04-03 2005-12-15 Fujitsu Limited Task scheduling apparatus in distributed processing system
CN101135927A (en) * 2006-10-12 2008-03-05 浙江大学 Simplifying method facing to embedded system low-power consumption real time task scheduling
CN101387952A (en) * 2008-09-24 2009-03-18 上海大学 Single-chip multi-processor task scheduling and managing method
CN101957780A (en) * 2010-08-17 2011-01-26 中国电子科技集团公司第二十八研究所 Resource state information-based grid task scheduling processor and grid task scheduling processing method
CN102207769A (en) * 2011-05-24 2011-10-05 东北大学 Static voltage scheduling-based energy optimization method of DVS (Dynamic Voltage Scaling) system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050278520A1 (en) * 2002-04-03 2005-12-15 Fujitsu Limited Task scheduling apparatus in distributed processing system
CN101135927A (en) * 2006-10-12 2008-03-05 浙江大学 Simplifying method facing to embedded system low-power consumption real time task scheduling
CN101387952A (en) * 2008-09-24 2009-03-18 上海大学 Single-chip multi-processor task scheduling and managing method
CN101957780A (en) * 2010-08-17 2011-01-26 中国电子科技集团公司第二十八研究所 Resource state information-based grid task scheduling processor and grid task scheduling processing method
CN102207769A (en) * 2011-05-24 2011-10-05 东北大学 Static voltage scheduling-based energy optimization method of DVS (Dynamic Voltage Scaling) system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
SEKHAR DARBHA等: "《Optimal Scheduling Algorithm for Distributed-Memory Machines》", 《IEEE TRANSACTIONS ON PARALLEL AND DISTRIBUTED SYSTEMS》 *
ZILIANG ZONG等: "《EAD and PEBD:Two energy-aware duplication scheduling algorithms for parallel tasks on homogeneous clusters》", 《IEEE TRANSACTIONS ON COMPUTERS》 *

Cited By (34)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102650957A (en) * 2012-04-09 2012-08-29 武汉理工大学 Self-adaptive energy-saving dispatching method in isomorphic cluster system based on dynamic voltage regulation technology
CN102749987A (en) * 2012-06-20 2012-10-24 武汉理工大学 High energy efficiency resource allocating method for isomorphic cluster system of computer
CN102749987B (en) * 2012-06-20 2014-12-03 武汉理工大学 High energy efficiency resource allocating method for isomorphic cluster system of computer
CN103235640A (en) * 2013-01-08 2013-08-07 北京邮电大学 DVFS-based energy-saving dispatching method for large-scale parallel tasks
CN103235640B (en) * 2013-01-08 2016-01-13 北京邮电大学 A kind of large-scale parallel task energy-saving scheduling method based on DVFS technology
CN103116526B (en) * 2013-02-22 2016-08-03 中国人民解放军国防科学技术大学 The maximum power dissipation control method of high-performance heterogeneous Computing machine
CN103116526A (en) * 2013-02-22 2013-05-22 中国人民解放军国防科学技术大学 Maximum power consumption control method for high-performance heterogeneous parallel computer
CN103176850A (en) * 2013-04-10 2013-06-26 国家电网公司 Electric system network cluster task allocation method based on load balancing
CN104102532A (en) * 2013-04-15 2014-10-15 同济大学 Low-energy-consumption-based scientific workflow scheduling method in heterogeneous cluster
CN104102532B (en) * 2013-04-15 2017-09-26 同济大学 Research-on-research stream scheduling method based on low energy consumption in a kind of isomeric group
CN103399626A (en) * 2013-07-18 2013-11-20 国家电网公司 Power consumption sensing scheduling system and power consumption sensing scheduling method for parallel application for hybrid computation environments
CN103399626B (en) * 2013-07-18 2016-01-20 国家电网公司 Towards Parallel application dispatching system and the method for the power-aware of hybrid compute environment
CN104239137A (en) * 2014-08-21 2014-12-24 东软集团股份有限公司 DAG (Directed Acyclic Graph) node optimal path-based multi-model parallel scheduling method and device
CN104239137B (en) * 2014-08-21 2017-12-08 东软集团股份有限公司 Multi-model Method of Scheduling Parallel and device based on DAG node optimal paths
CN104331326A (en) * 2014-11-25 2015-02-04 华南师范大学 Scheduling method and system for cloud computing
WO2017005115A1 (en) * 2015-07-08 2017-01-12 阿里巴巴集团控股有限公司 Adaptive optimization method and device for distributed dag system
CN106339252A (en) * 2015-07-08 2017-01-18 阿里巴巴集团控股有限公司 Self-adaptive optimization method and device for distributed DAG system
CN106339252B (en) * 2015-07-08 2020-06-23 阿里巴巴集团控股有限公司 Self-adaptive optimization method and device for distributed DAG system
CN106055409B (en) * 2016-05-31 2017-11-14 广东欧珀移动通信有限公司 The distribution method and mobile terminal of a kind of processor resource
US10496440B2 (en) 2016-05-31 2019-12-03 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method for allocating processor resources and mobile terminal
CN107797866A (en) * 2016-05-31 2018-03-13 广东欧珀移动通信有限公司 The distribution method and mobile terminal and medium product of processor resource
CN107797866B (en) * 2016-05-31 2020-11-24 Oppo广东移动通信有限公司 Processor resource allocation method, mobile terminal and medium product
US20180365068A1 (en) 2016-05-31 2018-12-20 Guangdong Oppo Mobile Telecommunications Corp., Lt Method for Allocating Processor Resources and Terminal Device
US10664313B2 (en) 2016-05-31 2020-05-26 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method for allocating processor resources and terminal device
CN106055409A (en) * 2016-05-31 2016-10-26 广东欧珀移动通信有限公司 Allocation method for processor resources and mobile terminal
CN107302562B (en) * 2017-05-23 2019-12-03 中国科学院计算技术研究所 A kind of the adaptive command processing system and method for internet-of-things terminal equipment
CN107302562A (en) * 2017-05-23 2017-10-27 中国科学院计算技术研究所 The adaptive command processing system and method for a kind of internet-of-things terminal equipment
CN107943561B (en) * 2017-12-14 2019-06-11 长春工程学院 A kind of scientific workflow method for scheduling task towards cloud computing platform
CN107943561A (en) * 2017-12-14 2018-04-20 长春工程学院 A kind of scientific workflow method for scheduling task towards cloud computing platform
CN110674078A (en) * 2019-10-08 2020-01-10 北京航空航天大学 Digital twin system complex task heterogeneous multi-core parallel efficient solving method and system
CN110674078B (en) * 2019-10-08 2020-11-10 北京航空航天大学 Digital twin system complex task heterogeneous multi-core parallel efficient solving method and system
CN111240818B (en) * 2020-01-09 2023-08-08 黔南民族师范学院 Task scheduling energy-saving method in heterogeneous GPU heterogeneous system environment
CN112631749A (en) * 2020-12-19 2021-04-09 北京化工大学 Scheduling method for parallel application programs in heterogeneous distributed system
CN112631749B (en) * 2020-12-19 2024-03-26 北京化工大学 Scheduling method for parallel application programs in heterogeneous distributed system

Also Published As

Publication number Publication date
CN102360246B (en) 2014-04-09

Similar Documents

Publication Publication Date Title
CN102360246A (en) Self-adaptive threshold-based energy-saving scheduling method in heterogeneous distributed system
CN102508714A (en) Green-computer-based virtual machine scheduling method for cloud computing
CN107967536B (en) Green data center energy-saving task scheduling strategy based on robust optimization
CN105893148B (en) A kind of accidental task low energy consumption dispatching method based on RM strategy
CN109582448B (en) Criticality and timeliness oriented edge calculation task scheduling method
CN102521055B (en) Virtual machine resource allocating method and virtual machine resource allocating system
CN107066319A (en) A kind of multidimensional towards heterogeneous resource dispatches system
CN103595651B (en) Distributed data stream processing method and system
CN104199736A (en) Method for saving energy of data center under cloud environment
CN102831011A (en) Task scheduling method and device based on multi-core system
CN109901922A (en) A kind of container cloud resource method for optimizing scheduling of oriented multilayer service
CN106451567B (en) A kind of method and system that distributed generation resource cluster dynamic divides
CN102650957A (en) Self-adaptive energy-saving dispatching method in isomorphic cluster system based on dynamic voltage regulation technology
CN102819460A (en) Budget power guidance-based high-energy-efficiency GPU (Graphics Processing Unit) cluster system scheduling algorithm
CN102231122A (en) Clustering-based energy-saving scheduling method in cluster environment
Liu et al. A cloud service adaptive framework based on reliable resource allocation
CN103856355A (en) Energy consumption perceptive virtual network mapping transportation model and algorithm
CN102609316B (en) Management system and management method of network computing resource
CN103914346A (en) Group-based dual-priority task scheduling and energy saving method for real-time operating system
CN106201693A (en) Dispatching method in a kind of virtualized environment and system
CN103685563A (en) Cloud calculating system based on mobile communication network and resource management method thereof
CN103049326A (en) Method and system for managing job program of job management and scheduling system
CN103023802A (en) Web-cluster-oriented low energy consumption scheduling system and method
CN103455131A (en) Probability-based task scheduling method for minimizing energy consumption in embedded system
CN104102532B (en) Research-on-research stream scheduling method based on low energy consumption in a kind of isomeric group

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20140409

Termination date: 20181014

CF01 Termination of patent right due to non-payment of annual fee