1
Giorgio Buttazzo
g.buttazzo@sssup.it
Scuola Superiore Sant’Anna
Context
More a more devices are powered by battery:
2
Context More a more devices are powered by battery: High - - PDF document
Giorgio Buttazzo g.buttazzo@sssup.it Scuola Superiore SantAnna Context More a more devices are powered by battery: High performance Required features: Long lifetime 2 1 Contrasting objectives The problem is not trivial, because
2
power power
4
1990 1994 1998 2010 2002 2006
5
6
59% 8% 33%
7
12000
10000 8000 6000
8
2000 2004 2008 2012 2016 4000
S
Space Cooling Electrical Losses
9
Servers
12000
Virtualization and Virtualization and Power efficiency impact
10000 8000 6000
10
2000 2004 2008 2012 2016
Virtualization impact
4000
Vdd
Vdd
P-MOS
Vin V
Vin V
Gnd
N-MOS
P-MOS
N-MOS
P-MOS
N-MOS
2 dd L sw
sc dd sc
2 dd L sc sw d
lk dd s
P-MOS N-MOS
Input
Gate Source Source Drain Drain Gate
Vdd Gnd
Output p
Dynamic 102
Static Power significant at 90 nm
Static Power (leakage) Dynamic Power 1 10-2 1990 1995 2000 2005 2010 2015 2020
No year
Gate length (nm): 500 350 250 180 130 90 65 45 22 10-4 10-6
2 dd L d
dynamic Long lifetime low performance short lifetime high performance
dynamic power
SLEEP1
Be(a,s) = as + sa active sleep1
OFF SLEEP2
p sleep2 OFF
time
time
Power
P(100 MHz) P(50 MHz)
time
P(sleep) reduced speed full speed
time
time
Power
time
P(sleep) P(100 MHz) P(50 MHz) full speed sleep sleep full
time
time
Power
time
P(sleep) P(100 MHz) P(50 MHz) full speed DPM DPM DVFS
m
1 0.5
1 2 2 3 3
i i i 1
Ci(s1)
i i i
1
Ci(s2) Ci(s3)
i fix i i var
i fix i i var
i i
i i 1
var 1
fix
i i i i
i fix i i fix i var var
n n 1 1
i i i i i i 1 1
n i i i
1 1 1
i i
1
1 0.5
i i
i i
i i
1 2 2 3 3
1 2 2 3
1.0
0.5 0.6 0.7 0.8 0.9
0.1
0.1
0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1.0 0.2 0.3 0.4 2.0
1.0 1.2 1.4 1.6 1.8
*
0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1.0 0.2 0.4 0.6 0.8
2.0
1.0 1.2 1.4 1.6 1.8
0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1.0 0.2 0.4 0.6 0.8
*
2.0
1.0 1.2 1.4 1.6 1.8
0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1.0 0.2 0.4 0.6 0.8
*
2.0
1.0 1.2 1.4 1.6 1.8
*
0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1.0 0.2 0.4 0.6 0.8
*
*
Elastic compression Speed
0.2 0.4 0.6 0.8 1.0
alternate Speed
*
0.2 0.4 0.6 0.8 1.0
1 0.75 0.50 0.25
L H L L H H eq
1 0.75 0.50 0.25
H L H H eq
L H L H H L H H eq
L H L eq H
L H
1
1 0.75 0.50 0.25
discrete speed management", ACM Trans. on Embedded Computing Systems, 8(4), 2009.
L H HL L L LH H H eq
seq (QH + QL) sL (QL – oHL)
eq (QH
QL)
QL – oHL QH – oLH
Mode Power (mW) ACTIVE (s = 1) 100 ACTIVE (s = 0 75) 60
ACTIVE (s = 0.75) 60 ACTIVE (s = 0.5) 30 ACTIVE (s = 0.25) 15 SLEEP 4
S = 1 10 10 10
1 1
1
40 80 120 60
30 30
1
1 2
n i i i
1 1 1
n i i i n i i i 1 1 1 1
1
1
40 80
10 10 10 30 30
100 80
2
120 60
20 60 40
40 80
10 10 10 30 30
100 80
2
120 60
20 60 40
40 80
10 10 10 30 30
120 60 40 80
13 13 13 40 40 2
120 60
20 60 40
12 24
3
3 3 6 6 2
36 18
6 6
Mode Power (mW) ACTIVE (s = 1) 100 ACTIVE (s = 0.75) 60 ACTIVE (s = 0.5) 30
ACTIVE (s = 0.25) 15 SLEEP 4
4
12 24
4 4
60 40
12 24
8 8
36 18
20 40
1
4
12 24
4 4
60 40
12 24
8 8
36 18
20 40
4
12 24
4 4
60 40
12 24
8 8
36 18
20 40
10 20
15 30 10 20 blocking tolerance 15 30 blocking tolerance
4
12 24
4 4 8 8
36 18
20 60 40
4
12 24
4 4 8 8
36 18
20 60 40
Be = 5
5 10 15 20 25 30 35 40 45 50 55 60
T
sleep = 10 5 10 15 20 25 30 35 40 45 50 55 60
40 80
13 13 13
120 60
13 20 40 40
120 60 40 80
13 20 30 23 34
40 80
10 10 10
10 20
120 60
30 30
10 10 5
45
40 80 120 60
20 30 10 10 5