An Analysis of Power Consumption in a

Aaron Carroll and Gernot Heiser

© NICTA 2010 From imagination to impact Motivation

© NICTA 2010 From imagination to impact Problem

• Where and how is power consumed in a smartphone?

• Approach: fine-grained instrumentation of a real device

© NICTA 2010 From imagination to impact Methodology

Freerunner – 2.5G smartphone, . 2008 – 400 MHz ARM9 – Lacking camera, modem

– Open design – Amenable to power instrumentation

© NICTA 2010 From imagination to impact Methodology

100 m0 ΩΩ Power Manager Device

ADC I = Vd / R P = IV

© NICTA 2010 From imagination to impact Methodology

Power Manager

© NICTA 2010 From imagination to impact Methodology

• Instrumented components

– CPU – WiFi – RAM – Backlight – GSM – Audio codec – GPS – Amplifier – – NAND flash – LCD panel – SD card

© NICTA 2010 From imagination to impact Benchmarks

• Micro-benchmarks – Suspend – Flash storage – Idle – Network – Backlight – GPS – CPU/RAM

• Usage scenarios – Audio – Email – Video – Web – SMS – Call

© NICTA 2010 From imagination to impact Idle Power

90 Suspend: 69 mW 80 Idle: 269 mW 70

) 60

W

m 50

(

r

e 40 Click to edit Master subtitle style

w

o 30

P 20 10 0 GSM CPU GPU LCD Rest

© NICTA 2010 From imagination to impact Display Power

600

500

) 400 Backlight

W

m

(

300

r e Click to edit Master subtitle style

w

o 200

P

100

0 GSM CPU Display Rest

© NICTA 2010 From imagination to impact CPU and RAM

100 MHz 400 MHz 250 250 RAM 200 200 CPU

) 150 150

W

m

(

100 100

r

e

w

o 50 50

P

0 0 f e r p y e e r p y f e k p i ft c l p i t c l v z d k z f d a a m i a v a m i g r g r u c u q q c e e

© NICTA 2010 From imagination to impact Email

400 350 Total: 610 mW 300

) 250

W

m

(

200

r

e

w 150

o

P 100 50 0 GSM CPU Display Rest

© NICTA 2010 From imagination to impact Video

180 160 Total: 454 mW 140

) 120

W 100

m

(

r

e 80

w

o 60

P 40 20 0 GSM CPU RAM Display Rest

© NICTA 2010 From imagination to impact Audio

140

120 Total: 320 mW 100

)

W 80

m

(

r

e 60

w

o

P 40

20

0 GSM CPU RAM Display Audio Rest

© NICTA 2010 From imagination to impact Validation

• Benchmarks repeated on two devices: ● HTC Dream (G1) ● (N1) • Total system power only • 3-4 years of mobile technology

© NICTA 2010 From imagination to impact Validation

i) ll) F e i ll i) c W ll) F ( ( d a e i k k n c c W r r e e ( ( o o o o p n b b w w e i s le o e e t t d d u d h e e i u

e S I P W W N N V A

c 40

n

e

r

e

f 20

f

i

d

r 0

e

w

o -20

p

% -40 G1 -60 N1 -80

© NICTA 2010 From imagination to impact DVFS

• Dynamic Voltage and Frequency Scaling • DVFS reduces power … but does it reduce energy?

© NICTA 2010 From imagination to impact DVFS

e ak ty u r ip af cf eq vp gz cr m 40

g 30

n

i

v

a 20

s

y

g 10

r

e

n

e 0

% -10 Freerunner -20 G1 -30 N1

© NICTA 2010 From imagination to impact Conclusions

• Major consumers: display & cell radio ‒ WiFi power low in most situations • CPU can be significant ‒ Future power driver • Where power is not going: – RAM – Audio – Bluetooth – Storage

© NICTA 2010 From imagination to impact Conclusions

• Both dynamic and static power important • DVFS hanging on (for now) • Networking power not increasing

© NICTA 2010 From imagination to impact