Escolar Documentos
Profissional Documentos
Cultura Documentos
Energy
trade-offs
Contents
G. Aupy
Contents
Introduction
Models
Goal
1 Introduction
Results
Continuous
speeds
Vdd-Hopping
Discrete speed
models
Conclusion
Models
Goal
2 Results
Continuous speeds
Vdd-Hopping
Discrete speed models
3 Conclusion
1.0
Energy
trade-offs
Motivation
G. Aupy
Contents
Introduction
Models
Goal
Results
Continuous
speeds
Vdd-Hopping
Discrete speed
models
General mapping
Conclusion
consumption.
Affinities or security reasons: what if the tasks are
pre-assigned to a processor?
2.0
Energy
trade-offs
Motivation
G. Aupy
Contents
Introduction
Models
Goal
Results
Continuous
speeds
Vdd-Hopping
Discrete speed
models
General mapping
Conclusion
consumption.
Affinities or security reasons: what if the tasks are
pre-assigned to a processor?
2.0
Energy
trade-offs
Motivation
G. Aupy
Contents
Introduction
Models
Goal
Results
Continuous
speeds
Vdd-Hopping
Discrete speed
models
General mapping
Conclusion
consumption.
Affinities or security reasons: what if the tasks are
pre-assigned to a processor?
2.0
Energy
trade-offs
Motivation
G. Aupy
Contents
Introduction
Models
Goal
Results
Continuous
speeds
Vdd-Hopping
Discrete speed
models
General mapping
Conclusion
consumption.
Affinities or security reasons: what if the tasks are
pre-assigned to a processor?
2.0
Energy
trade-offs
TOC
G. Aupy
Contents
Introduction
Models
Goal
1 Introduction
Models
Goal
Results
Continuous
speeds
Vdd-Hopping
Discrete speed
models
Conclusion
2 Results
Continuous speeds
Vdd-Hopping
Discrete speed models
3 Conclusion
3.0
Energy
trade-offs
G. Aupy
Contents
Introduction
Models
Goal
Results
Continuous
speeds
Vdd-Hopping
Discrete speed
models
Conclusion
to.
ti the time when the computation of Ti ends.
di the time it took to compute task Ti .
di si3 the energy consumed on task Ti by the system.
4.0
Energy
trade-offs
G. Aupy
Contents
Introduction
Models
Goal
Results
Continuous
speeds
Vdd-Hopping
Discrete speed
models
Conclusion
to.
ti the time when the computation of Ti ends.
di the time it took to compute task Ti .
di si3 the energy consumed on task Ti by the system.
4.0
Energy
trade-offs
G. Aupy
Contents
Introduction
Models
Goal
Results
Continuous
speeds
Vdd-Hopping
Discrete speed
models
Conclusion
to.
ti the time when the computation of Ti ends.
di the time it took to compute task Ti .
di si3 the energy consumed on task Ti by the system.
4.0
Energy
trade-offs
G. Aupy
Contents
Introduction
Models
Goal
Results
Continuous
speeds
Vdd-Hopping
Discrete speed
models
Conclusion
to.
ti the time when the computation of Ti ends.
di the time it took to compute task Ti .
di si3 the energy consumed on task Ti by the system.
4.0
Energy
trade-offs
G. Aupy
Contents
Introduction
Models
Goal
Results
Continuous
speeds
Vdd-Hopping
Discrete speed
models
Conclusion
to.
ti the time when the computation of Ti ends.
di the time it took to compute task Ti .
di si3 the energy consumed on task Ti by the system.
4.0
Energy
trade-offs
Speed models
G. Aupy
Contents
Introduction
Models
Goal
Results
Continuous
speeds
Vdd-Hopping
Discrete speed
models
Conclusion
5.0
Energy
trade-offs
Speed models
G. Aupy
Contents
Introduction
Models
Goal
Results
Continuous
speeds
Vdd-Hopping
Discrete speed
models
Conclusion
Gauss Fact
When Gauss wife asked him How much do you love me?, he
quantified it with an irrational number.
Unfortunately a computer will never be as good as Gauss.
Discrete: set of speed: {s1 , ..., sm }. Constant speed
s =s
+ i for some .
Energy
trade-offs
Speed models
G. Aupy
Contents
Introduction
Models
Goal
Results
Continuous
speeds
Vdd-Hopping
Discrete speed
models
Conclusion
5.0
Energy
trade-offs
Speed models
G. Aupy
Contents
Introduction
Models
Goal
Results
Continuous
speeds
Vdd-Hopping
Discrete speed
models
Conclusion
5.0
Energy
trade-offs
Speed models
G. Aupy
Contents
Introduction
Models
Goal
Results
Continuous
speeds
Vdd-Hopping
Discrete speed
models
Conclusion
5.0
Energy
trade-offs
Example
G. Aupy
Contents
Introduction
Models
Goal
Results
Continuous
speeds
Vdd-Hopping
Discrete speed
models
p1
w1 = 3
w2 = 2
Conclusion
p2
w3 = 1
w4 = 2
6.0
Energy
trade-offs
Example
G. Aupy
Contents
Introduction
Models
Goal
Results
Continuous
speeds
Vdd-Hopping
Discrete speed
models
Conclusion
(c)
s2 = s1
2
' 2.56;
351/3
3
' 3.83.
351/3
(d)
7.0
Energy
trade-offs
Example
G. Aupy
Contents
Introduction
Models
Goal
Results
Continuous
speeds
Vdd-Hopping
Discrete speed
models
Conclusion
(c)
7.0
Energy
trade-offs
Example
G. Aupy
Contents
Introduction
Models
Goal
Results
Continuous
speeds
Vdd-Hopping
Discrete speed
models
Conclusion
(c)
7.0
Energy
trade-offs
Example
G. Aupy
Contents
Introduction
Models
Goal
Results
Continuous
speeds
Vdd-Hopping
Discrete speed
models
(c)
Conclusion
(v )
7.0
Energy
trade-offs
Example
G. Aupy
Contents
Introduction
Models
Goal
Results
Continuous
speeds
Vdd-Hopping
Discrete speed
models
Conclusion
(c)
7.0
Energy
trade-offs
Optimization goal
G. Aupy
Contents
Introduction
Models
Goal
Results
Continuous
speeds
Vdd-Hopping
Discrete speed
models
Conclusion
Energy-Performance-oriented objective
Constraint on Deadline
Minimize Energy Consumption:
8.0
Energy
trade-offs
Optimization goal
G. Aupy
Contents
Introduction
Models
Goal
Results
Continuous
speeds
Vdd-Hopping
Discrete speed
models
Conclusion
Energy-Performance-oriented objective
Constraint on Deadline ti D for each Ti V
Minimize Energy Consumption:
Pn
i=1 wi
si2
8.0
Energy
trade-offs
Optimization goal
G. Aupy
Contents
Introduction
Models
Goal
Results
Continuous
speeds
Vdd-Hopping
Discrete speed
models
Conclusion
Energy-Performance-oriented objective
Constraint on Deadline ti D for each Ti V
Minimize Energy Consumption:
Pn
i=1 wi
si2
8.0
Energy
trade-offs
TOC
G. Aupy
Contents
Introduction
Models
Goal
Results
Continuous
speeds
Vdd-Hopping
Discrete speed
models
Conclusion
1 Introduction
Models
Goal
2 Results
Continuous speeds
Vdd-Hopping
Discrete speed models
3 Conclusion
9.0
Energy
trade-offs
Hardness
G. Aupy
Contents
Introduction
Models
Goal
Results
Continuous
speeds
Vdd-Hopping
Discrete speed
models
Conclusion
We give an approximation.
Incremental: NP-complete (reduction from
10.0
Energy
trade-offs
Hardness
G. Aupy
Contents
Introduction
Models
Goal
Results
Continuous
speeds
Vdd-Hopping
Discrete speed
models
Conclusion
We give an approximation.
Incremental: NP-complete (reduction from
10.0
Energy
trade-offs
Hardness
G. Aupy
Contents
Introduction
Models
Goal
Results
Continuous
speeds
Vdd-Hopping
Discrete speed
models
Conclusion
We give an approximation.
Incremental: NP-complete (reduction from
10.0
Energy
trade-offs
Hardness
G. Aupy
Contents
Introduction
Models
Goal
Results
Continuous
speeds
Vdd-Hopping
Discrete speed
models
Conclusion
We give an approximation.
Incremental: NP-complete (reduction from
10.0
Energy
trade-offs
Hardness
G. Aupy
Contents
Introduction
Models
Goal
Results
Continuous
speeds
Vdd-Hopping
Discrete speed
models
Conclusion
We give an approximation.
Incremental: NP-complete (reduction from
10.0
Energy
trade-offs
G. Aupy
Contents
Introduction
Models
Goal
Results
Continuous
speeds
Vdd-Hopping
Discrete speed
models
Conclusion
Reminder
For each task Ti we define
wi its size/work
si the speed of the processor which has task Ti assigned
to.
ti the time when the computation of Ti ends.
Objective function
Pn
2
Minimize
i=1 si wi
w
11.0
Energy
trade-offs
G. Aupy
Contents
Introduction
Models
Goal
Results
Continuous
speeds
Vdd-Hopping
Discrete speed
models
Conclusion
when G is a tree
MinEnergy(G,D) can be solved in polynomial time
12.0
Energy
trade-offs
G. Aupy
Contents
Introduction
Models
Goal
Results
Continuous
speeds
Vdd-Hopping
Discrete speed
models
Conclusion
when G is a tree
MinEnergy(G,D) can be solved in polynomial time
12.0
Energy
trade-offs
G. Aupy
Contents
Introduction
Models
Goal
Results
Continuous
speeds
Vdd-Hopping
Discrete speed
models
Conclusion
Definition
G , n tasks, D deadline;
s1 , ..., sm be the set of possible processor speeds;
ti is the finishing time of the execution of task Ti ;
(i,j) is the time spent at speed sj for executing task Ti
This makes us a total of n(m + 1) variables for the
Pmsystem.
Note that the total execution time of task Ti is j=1 (i,j) .
The objective function is:
min
n X
m
X
(i,j) sj3
i=1 j=1
13.0
Energy
trade-offs
G. Aupy
Contents
Introduction
Models
Goal
Results
Continuous
speeds
Vdd-Hopping
Discrete speed
models
Conclusion
13.0
Energy
trade-offs
NP-completeness
G. Aupy
Contents
Introduction
Models
Goal
Results
Continuous
speeds
Vdd-Hopping
Discrete speed
models
Conclusion
Theorem
With the Incremental model (and hence the Discrete
model), finding the speed distribution that minimizes the
energy consumption while enforcing a deadline D is
NP-complete.
14.0
Energy
trade-offs
NP-completeness
G. Aupy
Contents
Introduction
Models
Goal
Results
Continuous
speeds
Vdd-Hopping
Discrete speed
models
Conclusion
Theorem
With the Incremental model (and hence the Discrete
model), finding the speed distribution that minimizes the
energy consumption while enforcing a deadline D is
NP-complete.
PROOF: Reduction from 2-Partition,
1 processor, n independent tasks of weight (ai ).
2 speeds : s1 = 1/2, s2 = 3/2
D = 2W =
E =
Pn
i=1 ai
2
W ((3/2) + (1/2)2 )
14.0
Energy
trade-offs
G. Aupy
Contents
Introduction
Models
Goal
Results
Continuous
speeds
Vdd-Hopping
Discrete speed
models
Conclusion
1
(1 + )2 (1 + )2
s1
K
where = max1i<m {si+1 si }, in a time polynomial in
the size of the instance and in K .
With the Incremental model, the same result holds
15.0
Energy
trade-offs
G. Aupy
Contents
Introduction
Models
Goal
Results
Continuous
speeds
Vdd-Hopping
Discrete speed
models
Conclusion
15.0
Energy
trade-offs
TOC
G. Aupy
Contents
Introduction
Models
Goal
Results
Continuous
speeds
Vdd-Hopping
Discrete speed
models
Conclusion
1 Introduction
Models
Goal
2 Results
Continuous speeds
Vdd-Hopping
Discrete speed models
3 Conclusion
16.0
Energy
trade-offs
G. Aupy
Contents
Introduction
Models
Goal
Results
Continuous
speeds
Vdd-Hopping
Discrete speed
models
Conclusion
models.
17.0
Energy
trade-offs
G. Aupy
Contents
Introduction
Models
Goal
Results
Continuous
speeds
Vdd-Hopping
Discrete speed
models
Conclusion