Energy-efficient scheduling

Similar documents
Resilient and energy-aware algorithms

Energy-aware checkpointing of divisible tasks with soft or hard deadlines

Reclaiming the energy of a schedule: models and algorithms

Energy-aware checkpointing of divisible tasks with soft or hard deadlines

Energy-aware scheduling under reliability and makespan constraints

Efficient Power Management Schemes for Dual-Processor Fault-Tolerant Systems

Bin packing and scheduling

On the performance of greedy algorithms for energy minimization

Approximation algorithms for energy, reliability and makespan optimization problems

Embedded Systems Design: Optimization Challenges. Paul Pop Embedded Systems Lab (ESLAB) Linköping University, Sweden

P C max. NP-complete from partition. Example j p j What is the makespan on 2 machines? 3 machines? 4 machines?

On scheduling the checkpoints of exascale applications

Energy-Efficient Real-Time Task Scheduling in Multiprocessor DVS Systems

CycleTandem: Energy-Saving Scheduling for Real-Time Systems with Hardware Accelerators

Scheduling Lecture 1: Scheduling on One Machine

CS 6901 (Applied Algorithms) Lecture 3

On the Complexity of Mapping Pipelined Filtering Services on Heterogeneous Platforms

Scheduling algorithms for heterogeneous and failure-prone platforms

STATISTICAL PERFORMANCE

Scheduling divisible loads with return messages on heterogeneous master-worker platforms

Spatio-Temporal Thermal-Aware Scheduling for Homogeneous High-Performance Computing Datacenters

APTAS for Bin Packing

More Approximation Algorithms

Optimal checkpointing periods with fail-stop and silent errors

Embedded Systems 14. Overview of embedded systems design

Energy-efficient Mapping of Big Data Workflows under Deadline Constraints

Schedulability of Periodic and Sporadic Task Sets on Uniprocessor Systems

Exam Spring Embedded Systems. Prof. L. Thiele

This means that we can assume each list ) is

Reclaiming the energy of a schedule: models and algorithms

Energy-Constrained Scheduling for Weakly-Hard Real-Time Systems

Segment-Fixed Priority Scheduling for Self-Suspending Real-Time Tasks

Optimizing Energy Consumption under Flow and Stretch Constraints

Embedded Systems Development

CSE 421 Greedy Algorithms / Interval Scheduling

Lecture 13. Real-Time Scheduling. Daniel Kästner AbsInt GmbH 2013

Lecture 2: Scheduling on Parallel Machines

Reliability-Aware Power Management for Real-Time Embedded Systems. 3 5 Real-Time Tasks... Dynamic Voltage and Frequency Scaling...

hal , version 1-27 Mar 2014

Optimizing Performance and Reliability on Heterogeneous Parallel Systems: Approximation Algorithms and Heuristics

Scheduling divisible loads with return messages on heterogeneous master-worker platforms

Bi-objective approximation scheme for makespan and reliability optimization on uniform parallel machines

Algorithm Design. Scheduling Algorithms. Part 2. Parallel machines. Open-shop Scheduling. Job-shop Scheduling.

Scheduling Lecture 1: Scheduling on One Machine

Multiprocessor Scheduling I: Partitioned Scheduling. LS 12, TU Dortmund

How to deal with uncertainties and dynamicity?

Mapping tightly-coupled applications on volatile resources

arxiv: v3 [cs.ds] 14 Sep 2013

Algorithms. Outline! Approximation Algorithms. The class APX. The intelligence behind the hardware. ! Based on

Minimizing Mean Flowtime and Makespan on Master-Slave Systems

CS 6783 (Applied Algorithms) Lecture 3

ONLINE SCHEDULING OF MALLEABLE PARALLEL JOBS

Loop Scheduling and Software Pipelining \course\cpeg421-08s\topic-7.ppt 1

Open Problems in Throughput Scheduling

Polynomial Time Algorithms for Minimum Energy Scheduling

A lower bound on deterministic online algorithms for scheduling on related machines without preemption

Real-time Scheduling of Periodic Tasks (2) Advanced Operating Systems Lecture 3

Scheduling Parallel Iterative Applications on Volatile Resources

4. How to prove a problem is NPC

CIS 4930/6930: Principles of Cyber-Physical Systems

Real-time Scheduling of Periodic Tasks (1) Advanced Operating Systems Lecture 2

Slack Reclamation for Real-Time Task Scheduling over Dynamic Voltage Scaling Multiprocessors

Failure Tolerance of Multicore Real-Time Systems scheduled by a Pfair Algorithm

Approximation Schemes for Scheduling on Parallel Machines

Reliability-aware Thermal Management for Hard Real-time Applications on Multi-core Processors

Average-Case Performance Analysis of Online Non-clairvoyant Scheduling of Parallel Tasks with Precedence Constraints

Online Interval Coloring and Variants

Approximation Algorithms (Load Balancing)

Resource Management in Machine Scheduling Problems: A Survey

Checkpoint Scheduling

Scheduling Parallel Iterative Applications on Volatile Resources

Embedded Systems 15. REVIEW: Aperiodic scheduling. C i J i 0 a i s i f i d i

Static Load-Balancing Techniques for Iterative Computations on Heterogeneous Clusters

Network Flow Techniques for Dynamic Voltage Scaling in Hard Real-Time Systems 1

Analysis of the Tradeoffs between Energy and Run Time for Multilevel Checkpointing

Distributed Optimization. Song Chong EE, KAIST

Fault Tolerate Linear Algebra: Survive Fail-Stop Failures without Checkpointing

Energy-aware scheduling for GreenIT in large-scale distributed systems

Non-Work-Conserving Non-Preemptive Scheduling: Motivations, Challenges, and Potential Solutions

New Theory and Algorithms for Scheduling Arc Shutdown Jobs in Networks

Saving Energy in Sparse and Dense Linear Algebra Computations

Che-Wei Chang Department of Computer Science and Information Engineering, Chang Gung University

Algorithms. NP -Complete Problems. Dong Kyue Kim Hanyang University

Minimizing the total flow-time on a single machine with an unavailability period

Divisible Load Scheduling

Lecture 6. Real-Time Systems. Dynamic Priority Scheduling

Solving Fuzzy PERT Using Gradual Real Numbers

Designing Competitive Online Algorithms via a Primal-Dual Approach. Niv Buchbinder

EDF and RM Multiprocessor Scheduling Algorithms: Survey and Performance Evaluation

Preemptive Online Scheduling: Optimal Algorithms for All Speeds

Real-Time Systems. Event-Driven Scheduling

Scheduling with Constraint Programming. Job Shop Cumulative Job Shop

Saving Energy in the LU Factorization with Partial Pivoting on Multi-Core Processors

Tradeoff between Reliability and Power Management

Design and Analysis of Algorithms

COSC 341: Lecture 25 Coping with NP-hardness (2)

Generalized Network Flow Techniques for Dynamic Voltage Scaling in Hard Real-Time Systems

Task assignment in heterogeneous multiprocessor platforms

Batch delivery scheduling with simple linear deterioration on a single machine 1

There are three priority driven approaches that we will look at

Transcription:

Energy-efficient scheduling Guillaume Aupy 1, Anne Benoit 1,2, Paul Renaud-Goud 1 and Yves Robert 1,2,3 1. Ecole Normale Supérieure de Lyon, France 2. Institut Universitaire de France 3. University of Tennessee Knoxville, USA Anne.Benoit@ens-lyon.fr http://graal.ens-lyon.fr/~abenoit/ 9th Workshop of the INRIA-Illinois-ANL Joint Lab on Petascale Computing Anne.Benoit@ens-lyon.fr JLPC Workshop 2013 Energy-efficient scheduling 1/ 50

Energy: a crucial issue Data centers 330, 000, 000, 000 Watts hour in 2007: more than France 533, 000, 000 tons of CO 2 : in the top ten countries Exascale computers (10 18 floating operations per second) Need effort for feasibility 1% of power saved 1 million dollar per year Lambda user 1 billion personal computers 500, 000, 000, 000, 000 Watts hour per year crucial for both environmental and economical reasons Anne.Benoit@ens-lyon.fr JLPC Workshop 2013 Energy-efficient scheduling 2/ 50

Energy: a crucial issue Data centers 330, 000, 000, 000 Watts hour in 2007: more than France 533, 000, 000 tons of CO 2 : in the top ten countries Exascale computers (10 18 floating operations per second) Need effort for feasibility 1% of power saved 1 million dollar per year Lambda user 1 billion personal computers 500, 000, 000, 000, 000 Watts hour per year crucial for both environmental and economical reasons Anne.Benoit@ens-lyon.fr JLPC Workshop 2013 Energy-efficient scheduling 2/ 50

Power dissipation of a processor P = P leak + P dyn P leak : constant P dyn = B V 2 f constant supply voltage frequency Standard approximation: P = P leak + f α (2 α 3) Energy E = P time Dynamic Voltage and Frequency Scaling Real life: discrete speeds Continuous speeds can be emulated Anne.Benoit@ens-lyon.fr JLPC Workshop 2013 Energy-efficient scheduling 3/ 50

Outline 1 Revisiting the greedy algorithm for independent jobs 2 Reclaiming the slack of a schedule 3 Tri-criteria problem: execution time, reliability, energy 4 Checkpointing and energy consumption 5 Conclusion Anne.Benoit@ens-lyon.fr JLPC Workshop 2013 Energy-efficient scheduling 4/ 50

Framework Scheduling independent jobs Greedy algorithm: assign next job to least-loaded processor Two variants: OnLine-Greedy: assign jobs on the fly OffLine-Greedy: sort jobs before execution Anne.Benoit@ens-lyon.fr JLPC Workshop 2013 Energy-efficient scheduling 5/ 50

Classical problem n independent jobs {J i } 1 i n, a i = size of J i p processors {P q } 1 q p allocation function alloc : {J i } {P q } load of P q = load(q) = {i alloc(j i )=P q} a i a 1 a 2 load(1) a 3 a 4 P 1 a 1 a 10 a 3 a 13 P 2 a 7 a 6 a 5 a 6 P 3 a 9 a 12 a 8 P 4 a 4 P 5 a 2 a 11 a 5 Execution time: max 1 q p load(q) a 8 a 9 a 10 a 7 a 11 a 12 a 13 Anne.Benoit@ens-lyon.fr JLPC Workshop 2013 Energy-efficient scheduling 6/ 50

OnLine-Greedy Theorem OnLine-Greedy is a 2 1 p approximation (tight bound) OnLine-Greedy Optimal solution Anne.Benoit@ens-lyon.fr JLPC Workshop 2013 Energy-efficient scheduling 7/ 50

OffLine-Greedy Theorem OffLine-Greedy is a 4 3 1 3p approximation (tight bound) OffLine-Greedy Optimal solution Anne.Benoit@ens-lyon.fr JLPC Workshop 2013 Energy-efficient scheduling 8/ 50

Bi-criteria problem Minimizing (dynamic) power consumption: use slowest possible speed P dyn = f α = f 3 Bi-criteria problem: Given bound M = 1 on execution time, minimize power consumption while meeting the bound Anne.Benoit@ens-lyon.fr JLPC Workshop 2013 Energy-efficient scheduling 9/ 50

Bi-criteria problem statement n independent jobs {J i } 1 i n, a i = size of J i p processors {P q } 1 q p allocation function alloc : {J i } {P q } load of P q = load(q) = {i alloc(j i )=P q} a i (load(q)) 3 power dissipated by P q p q=1 (load(q))3 Power max 1 q p load(q) Execution time Anne.Benoit@ens-lyon.fr JLPC Workshop 2013 Energy-efficient scheduling 10/ 50

Same Greedy algorithm... Strategy: assign next job to least-loaded processor Natural for execution-time smallest increment of maximum load minimize objective value for currently processed jobs Natural for power too smallest increment of total power (convexity) minimize objective value for currently processed jobs Anne.Benoit@ens-lyon.fr JLPC Workshop 2013 Energy-efficient scheduling 11/ 50

... but different optimal solution! Makespan 10, power 2531.441 Makespan 10.1, power 2488.301 Anne.Benoit@ens-lyon.fr JLPC Workshop 2013 Energy-efficient scheduling 12/ 50

Greedy and L r norms p N r = (load(q)) r q=1 1 r Execution time N = lim r N r = max 1 q p load(q) Power (N 3 ) 3 Anne.Benoit@ens-lyon.fr JLPC Workshop 2013 Energy-efficient scheduling 13/ 50

Known results N 2, OffLine-Greedy Chandra and Wong 1975: upper and lower bounds Leung and Wei 1995: tight approximation factor N 3, OffLine-Greedy Chandra and Wong 1975: upper and lower bounds N r Alon et al. 1997: PTAS for offline problem Avidor et al. 1998: upper bound 2 Θ( ln r r ) for OnLine-Greedy Anne.Benoit@ens-lyon.fr JLPC Workshop 2013 Energy-efficient scheduling 14/ 50

Contribution N 3 Tight approximation factor for OnLine-Greedy Tight approximation factor for OffLine-Greedy Greedy for power fully solved! Anne.Benoit@ens-lyon.fr JLPC Workshop 2013 Energy-efficient scheduling 15/ 50

Approximation for OnLine-Greedy P online P opt ( 1 (1 + (p 1)β) 3 + (p 1) (1 β) 3) p 3 β 3 + (1 β)3 (p 1) 2 }{{} f p (on) (β) Theorem f (on) p has a single maximum in β (on) p [ 1 p, 1] OnLine-Greedy is a f p (on) p This approximation factor is tight (β (on) ) approximation Anne.Benoit@ens-lyon.fr JLPC Workshop 2013 Energy-efficient scheduling 16/ 50

Approximation for OffLine-Greedy P offline P opt ( ( ) 3 ( ) ) 3 1 1 + (p 1)β p 3 3 + (p 1) 1 β 3 β 3 + (1 β)3 (p 1) 2 }{{} f p (off) (β) Theorem f (off) p has a single maximum in β (off) p [ 1 p, 1] OffLine-Greedy is a f p (off) p This approximation factor is tight (β (off) ) approximation Anne.Benoit@ens-lyon.fr JLPC Workshop 2013 Energy-efficient scheduling 17/ 50

Numerical values of approximation ratios p OnLine-Greedy OffLine-Greedy 2 1.866 1.086 3 2.008 1.081 4 2.021 1.070 5 2.001 1.061 6 1.973 1.054 7 1.943 1.048 8 1.915 1.043 64 1.461 1.006 512 1.217 1.00083 2048 1.104 1.00010 2 24 1.006 1.000000025 Anne.Benoit@ens-lyon.fr JLPC Workshop 2013 Energy-efficient scheduling 18/ 50

Large values of p Asymptotic approximation factor OnLine-Greedy 4 3 1 OffLine-Greedy 2 1 optimal Anne.Benoit@ens-lyon.fr JLPC Workshop 2013 Energy-efficient scheduling 19/ 50

Outline 1 Revisiting the greedy algorithm for independent jobs 2 Reclaiming the slack of a schedule 3 Tri-criteria problem: execution time, reliability, energy 4 Checkpointing and energy consumption 5 Conclusion Anne.Benoit@ens-lyon.fr JLPC Workshop 2013 Energy-efficient scheduling 20/ 50

Motivation Mapping of tasks is given (ordered list for each processor and dependencies between tasks) If deadline not tight, why not take our time? Slack: unused time slots Goal: efficiently use speed scaling (DVFS) D D Anne.Benoit@ens-lyon.fr JLPC Workshop 2013 Energy-efficient scheduling 21/ 50

Speed models Type of speeds Change speed Anytime Beginning of tasks [s min, s max] Continuous - {s 1,..., s m} Vdd-Hopping Discrete, Incremental Continuous: great for theory Other discrete models more realistic Vdd-Hopping simulates Continuous Incremental is a special case of Discrete with equally-spaced speeds: for all 1 q < m, s q+1 s q = δ Anne.Benoit@ens-lyon.fr JLPC Workshop 2013 Energy-efficient scheduling 22/ 50

Tasks DAG: G = (V, E) n = V tasks T i of weight w i = t i t i d i s i (t)dt d i : task duration; t i : time of end of execution of T i d i p j s i (t) t i time Parameters for T i scheduled on processor p j Anne.Benoit@ens-lyon.fr JLPC Workshop 2013 Energy-efficient scheduling 23/ 50

Makespan Assume T i is executed at constant speed s i d i = Exe(w i, s i ) = w i s i t j + d i t i for each (T j, T i ) E Constraint on makespan: t i D for each T i V Anne.Benoit@ens-lyon.fr JLPC Workshop 2013 Energy-efficient scheduling 24/ 50

Energy Energy to execute task T i once at speed s i : E i (s i ) = d i s 3 i = w i s 2 i Dynamic part of classical energy models Bi-criteria problem Constraint on deadline: t i D for each T i V Minimize energy consumption: n i=1 w i s 2 i Anne.Benoit@ens-lyon.fr JLPC Workshop 2013 Energy-efficient scheduling 25/ 50

Complexity results Minimizing energy with fixed mapping on p processors: Continuous: Polynomial for some special graphs, geometric optimization in the general case Discrete: NP-complete (reduction from 2-partition); approximation algorithm Incremental: NP-complete (reduction from 2-partition); approximation algorithm Vdd-Hopping: Polynomial (linear programming) Anne.Benoit@ens-lyon.fr JLPC Workshop 2013 Energy-efficient scheduling 26/ 50

Summary Results for Continuous, but not very practical In real life, Discrete model (DVFS) Vdd-Hopping: good alternative, mixing two consecutive modes, smoothes out the discrete nature of modes Incremental: alternate (and simpler in practice) solution, with one unique speed during task execution; can be made arbitrarily efficient Anne.Benoit@ens-lyon.fr JLPC Workshop 2013 Energy-efficient scheduling 27/ 50

Outline 1 Revisiting the greedy algorithm for independent jobs 2 Reclaiming the slack of a schedule 3 Tri-criteria problem: execution time, reliability, energy 4 Checkpointing and energy consumption 5 Conclusion Anne.Benoit@ens-lyon.fr JLPC Workshop 2013 Energy-efficient scheduling 28/ 50

Framework DAG: G = (V, E) n = V tasks T i of weight w i p identical processors fully connected DVFS: interval of available continuous speeds [s min, s max ] One speed per task (I will not discuss results for the Vdd-Hopping model) Anne.Benoit@ens-lyon.fr JLPC Workshop 2013 Energy-efficient scheduling 29/ 50

Makespan Execution time of T i at speed s i : d i = w i s i If T i is executed twice on the same processor at speeds s i and s i : d i = w i s i + w i s i Constraint on makespan: end of execution before deadline D Anne.Benoit@ens-lyon.fr JLPC Workshop 2013 Energy-efficient scheduling 30/ 50

Reliability Transient fault: local, no impact on the rest of the system Reliability R i of task T i as a function of speed s Threshold reliability (and hence speed s rel ) R i (s) R 1 i (s rel ) s min s rel s max s Anne.Benoit@ens-lyon.fr JLPC Workshop 2013 Energy-efficient scheduling 31/ 50

Re-execution: a task is re-executed on the same processor, just after its first execution With two executions, reliability R i of task T i is: R i = 1 (1 R i (s i ))(1 R i (s i )) Constraint on reliability: Reliability: R i R i (s rel ), and at most one re-execution Anne.Benoit@ens-lyon.fr JLPC Workshop 2013 Energy-efficient scheduling 32/ 50

Energy Energy to execute task T i once at speed s i : E i (s i ) = w i s 2 i Dynamic part of classical energy models With re-executions, it is natural to take the worst-case scenario: ( Energy : E i = w i s 2 i + s i 2 ) Anne.Benoit@ens-lyon.fr JLPC Workshop 2013 Energy-efficient scheduling 33/ 50

Tri-Crit-Cont Given G = (V, E) Find A schedule of the tasks A set of tasks I = {i T i is executed twice} Execution speed s i for each task T i Re-execution speed s i for each task in I such that i I w i (s 2 i + s 2 i ) + i / I w i s 2 i is minimized, while meeting reliability and deadline constraints Anne.Benoit@ens-lyon.fr JLPC Workshop 2013 Energy-efficient scheduling 34/ 50

Complexity results One speed per task Re-execution at same speed as first execution, i.e., s i = s i Tri-Crit-Cont is NP-hard even for a linear chain, but not known to be in NP (because of Continuous model) Polynomial-time solution for a fork Anne.Benoit@ens-lyon.fr JLPC Workshop 2013 Energy-efficient scheduling 35/ 50

Energy-reducing heuristics Two steps: Mapping (NP-hard) List scheduling Speed scaling + re-execution (NP-hard) Energy reducing The list-scheduling heuristic maps tasks onto processors at speed s max, and we keep this mapping in step two Step two = slack reclamation! Use of deceleration and re-execution Anne.Benoit@ens-lyon.fr JLPC Workshop 2013 Energy-efficient scheduling 36/ 50

Deceleration and re-execution Deceleration: select a set of tasks that we execute at speed max max(s rel, s i=1..n t i max D ): slowest possible speed meeting both reliability and deadline constraints Re-execution: greedily select tasks for re-execution Anne.Benoit@ens-lyon.fr JLPC Workshop 2013 Energy-efficient scheduling 37/ 50

Super-weight (SW) of a task SW: sum of the weights of the tasks (including T i ) whose execution interval is included into T i s execution interval SW of task slowed down = estimation of the total amount of work that can be slowed down together with that task p 4 T i p 3 p 2 p 1 s e time Anne.Benoit@ens-lyon.fr JLPC Workshop 2013 Energy-efficient scheduling 38/ 50

Selected heuristics A.SUS-Crit: efficient on DAGs with low degree of parallelism max Set the speed of every task to max(s rel, s i=1..n t i max D ) Sort the tasks of every critical path according to their SW and try to re-execute them Sort all the tasks according to their weight and try to re-execute them B.SUS-Crit-Slow: good for highly parallel tasks: re-execute, then decelerate Sort the tasks of every critical path according to their SW and try to re-execute them. If not possible, then try to slow them down Sort all tasks according to their weight and try to re-execute them. If not possible, then try to slow them down Anne.Benoit@ens-lyon.fr JLPC Workshop 2013 Energy-efficient scheduling 39/ 50

Results We compare the impact of: the number of processors p the ratio D of the deadline over the minimum deadline D min (given by the list-scheduling heuristic at speed s max ) on the output of each heuristic Results normalized by heuristic running each task at speed s max ; the lower the better Anne.Benoit@ens-lyon.fr JLPC Workshop 2013 Energy-efficient scheduling 40/ 50

Results 1 1 A.SUS-Crit A.SUS-Crit 0.9 B.SUS-Crit-Slow 0.9 B.SUS-Crit-Slow 0.8 0.8 0.7 0.7 Eg / Eg_fmax 0.6 0.5 Eg / Eg_fmax 0.6 0.5 0.4 0.4 0.3 0.3 0.2 0.2 10 20 30 40 50 60 70 80 90 100 10 20 30 40 50 60 70 80 90 100 Number of processors Number of processors With increasing p, D = 1.2 (left), D = 2.4 (right) A better when number of processors is small B better when number of processors is large Superiority of B for tight deadlines: decelerates critical tasks that cannot be re-executed Anne.Benoit@ens-lyon.fr JLPC Workshop 2013 Energy-efficient scheduling 40/ 50

Summary Tri-criteria energy/makespan/reliability optimization problem Various theoretical results Two-step approach for polynomial-time heuristics: List-scheduling heuristic Energy-reducing heuristics Two complementary energy-reducing heuristics for Tri-Crit-Cont Anne.Benoit@ens-lyon.fr JLPC Workshop 2013 Energy-efficient scheduling 41/ 50

Outline 1 Revisiting the greedy algorithm for independent jobs 2 Reclaiming the slack of a schedule 3 Tri-criteria problem: execution time, reliability, energy 4 Checkpointing and energy consumption 5 Conclusion Anne.Benoit@ens-lyon.fr JLPC Workshop 2013 Energy-efficient scheduling 42/ 50

Framework Execution of a divisible task (W operations) Failures may occur Transient faults Resilience through checkpointing Objective: minimize expected energy given a deadline bound Decisions before execution: Chunks: how many (n)? which sizes (W i for chunk i)? Speeds of each chunk: first run (s i )? re-execution (σ i )? Anne.Benoit@ens-lyon.fr JLPC Workshop 2013 Energy-efficient scheduling 43/ 50

Framework Execution of a divisible task (W operations) Failures may occur Transient faults Resilience through checkpointing Objective: minimize expected energy given a deadline bound Decisions before execution: Chunks: how many (n)? which sizes (W i for chunk i)? Speeds of each chunk: first run (s i )? re-execution (σ i )? Anne.Benoit@ens-lyon.fr JLPC Workshop 2013 Energy-efficient scheduling 43/ 50

Framework Execution of a divisible task (W operations) Failures may occur Transient faults Resilience through checkpointing Objective: minimize expected energy given a deadline bound Decisions before execution: Chunks: how many (n)? which sizes (W i for chunk i)? Speeds of each chunk: first run (s i )? re-execution (σ i )? Anne.Benoit@ens-lyon.fr JLPC Workshop 2013 Energy-efficient scheduling 43/ 50

Models Chunks Single chunk Speed per chunk VS VS Multiple chunks Single speed Deadline bound Multiple speeds Hard ( Worst-case) VS Soft (Expected) Anne.Benoit@ens-lyon.fr JLPC Workshop 2013 Energy-efficient scheduling 44/ 50

Summary of results: single chunk Single speed s E(E) convex (expected energy consumption) s E(T ) (expected execution time) and s T wc (worst-case execution time) decreasing Expression of s and E(E) (function of λ, W, s, E c, T c ) Multiple speeds Energy minimized when deadline tight σ expressed as a function of s Minimization of single-variable function Anne.Benoit@ens-lyon.fr JLPC Workshop 2013 Energy-efficient scheduling 45/ 50

Summary of results: multiple chunks Single speed Equal-sized chunks, executed at same speed Bound on s given n Minimization of double-variable function Multiple speeds Conjecture: equal-sized chunks, same first-execution / re-execution speeds σ as a function of s, bound on s given n Minimization of double-variable function Anne.Benoit@ens-lyon.fr JLPC Workshop 2013 Energy-efficient scheduling 46/ 50

Comparison Model (/SCSS) SCMSed SCMShd MCSSed MCSShd MCMSed MCMShd Model SCSS MCSS SCMS MCMS E 1.00 0.75 0.50 0.25 1e 06 1e 03 1e+00 lambda 1e 06 1e 03 1e+00 lambda Conclusions for realistic values of λ: Expected deadline constraint use 1 chunk, 1 speed Hard deadline constraint use multiple speeds anytime, multiple chunks if frequent failures Anne.Benoit@ens-lyon.fr JLPC Workshop 2013 Energy-efficient scheduling 47/ 50

Outline 1 Revisiting the greedy algorithm for independent jobs 2 Reclaiming the slack of a schedule 3 Tri-criteria problem: execution time, reliability, energy 4 Checkpointing and energy consumption 5 Conclusion Anne.Benoit@ens-lyon.fr JLPC Workshop 2013 Energy-efficient scheduling 48/ 50

Conclusion OnLine-Greedy and OffLine-Greedy for power: tight approximation factor for any p, extends long series of papers and completely solves N 3 minimization problem Different energy models, from continuous to discrete (through VDD-hopping and incremental) Tri-criteria heuristics with replication to deal with reliability Checkpointing techniques for reliability while minimizing energy consumption Anne.Benoit@ens-lyon.fr JLPC Workshop 2013 Energy-efficient scheduling 49/ 50

What we had: Energy-efficient scheduling + frequency scaling What we aim at: Anne.Benoit@ens-lyon.fr JLPC Workshop 2013 Energy-efficient scheduling 50/ 50