an analysis of power consumption in a smartphone€¦ · © nicta 2010 from imagination to impact...

20
© NICTA 2010 From imagination to impact An Analysis of Power Consumption in a Smartphone Aaron Carroll and Gernot Heiser

Upload: others

Post on 21-Jul-2020

4 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: An Analysis of Power Consumption in a Smartphone€¦ · © NICTA 2010 From imagination to impact An Analysis of Power Consumption in a Smartphone Aaron Carroll and Gernot Heiser

© NICTA 2010 From imagination to impact

An Analysis of Power Consumption in a

Smartphone

Aaron Carroll and Gernot Heiser

Page 2: An Analysis of Power Consumption in a Smartphone€¦ · © NICTA 2010 From imagination to impact An Analysis of Power Consumption in a Smartphone Aaron Carroll and Gernot Heiser

© NICTA 2010 From imagination to impact

Motivation

Page 3: An Analysis of Power Consumption in a Smartphone€¦ · © NICTA 2010 From imagination to impact An Analysis of Power Consumption in a Smartphone Aaron Carroll and Gernot Heiser

© NICTA 2010 From imagination to impact

Problem

• Where and how is power consumed in a smartphone?

• Approach: fine-grained instrumentation ofa real device

Page 4: An Analysis of Power Consumption in a Smartphone€¦ · © NICTA 2010 From imagination to impact An Analysis of Power Consumption in a Smartphone Aaron Carroll and Gernot Heiser

© NICTA 2010 From imagination to impact

Methodology

• OpenMoko Freerunner– 2.5G smartphone, c. 2008– 400 MHz ARM9– Lacking camera, 3G modem

– Open design– Amenable to power

instrumentation

Page 5: An Analysis of Power Consumption in a Smartphone€¦ · © NICTA 2010 From imagination to impact An Analysis of Power Consumption in a Smartphone Aaron Carroll and Gernot Heiser

© NICTA 2010 From imagination to impact

Methodology

Device

PowerManager

ADC

0 Ω100 mΩ

I = Vd / RP = IV

Page 6: An Analysis of Power Consumption in a Smartphone€¦ · © NICTA 2010 From imagination to impact An Analysis of Power Consumption in a Smartphone Aaron Carroll and Gernot Heiser

© NICTA 2010 From imagination to impact

Methodology

PowerManager

Page 7: An Analysis of Power Consumption in a Smartphone€¦ · © NICTA 2010 From imagination to impact An Analysis of Power Consumption in a Smartphone Aaron Carroll and Gernot Heiser

© NICTA 2010 From imagination to impact

Methodology

• Instrumented components

– CPU– RAM– GSM– GPS– Bluetooth– LCD panel

– WiFi– Backlight– Audio codec– Amplifier– NAND flash– SD card

Page 8: An Analysis of Power Consumption in a Smartphone€¦ · © NICTA 2010 From imagination to impact An Analysis of Power Consumption in a Smartphone Aaron Carroll and Gernot Heiser

© NICTA 2010 From imagination to impact

Benchmarks

• Micro-benchmarks– Suspend– Idle– Backlight– CPU/RAM

– Flash storage– Network– GPS

• Usage scenarios– Audio– Video– SMS

– Email– Web– Call

Page 9: An Analysis of Power Consumption in a Smartphone€¦ · © NICTA 2010 From imagination to impact An Analysis of Power Consumption in a Smartphone Aaron Carroll and Gernot Heiser

© NICTA 2010 From imagination to impact

Click to edit Master subtitle style

Idle Power

GSM CPU GPU LCD Rest0

10

20

30

40

50

60

70

80

90

Pow

er (

mW

)

Idle: 269 mWSuspend: 69 mW

Page 10: An Analysis of Power Consumption in a Smartphone€¦ · © NICTA 2010 From imagination to impact An Analysis of Power Consumption in a Smartphone Aaron Carroll and Gernot Heiser

© NICTA 2010 From imagination to impact

Click to edit Master subtitle style

Display Power

GSM CPU Display Rest0

100

200

300

400

500

600

Pow

er (

mW

) Backlight

Page 11: An Analysis of Power Consumption in a Smartphone€¦ · © NICTA 2010 From imagination to impact An Analysis of Power Consumption in a Smartphone Aaron Carroll and Gernot Heiser

© NICTA 2010 From imagination to impact

CPU and RAMeq

uake vp

rgz

ipcr

afty

mcf

idle

0

50

100

150

200

250

Pow

er (

mW

)

equa

ke vpr

gzip

craf

tym

cfid

le

0

50

100

150

200

250100 MHz 400 MHz

RAMCPU

Page 12: An Analysis of Power Consumption in a Smartphone€¦ · © NICTA 2010 From imagination to impact An Analysis of Power Consumption in a Smartphone Aaron Carroll and Gernot Heiser

© NICTA 2010 From imagination to impact

Email

GSM CPU Display Rest0

50

100

150

200

250

300

350

400

Pow

er (

mW

)

Total: 610 mW

Page 13: An Analysis of Power Consumption in a Smartphone€¦ · © NICTA 2010 From imagination to impact An Analysis of Power Consumption in a Smartphone Aaron Carroll and Gernot Heiser

© NICTA 2010 From imagination to impact

Video

GSM CPU RAM Display Rest0

20

40

60

80

100

120

140

160

180

Pow

er (

mW

)

Total: 454 mW

Page 14: An Analysis of Power Consumption in a Smartphone€¦ · © NICTA 2010 From imagination to impact An Analysis of Power Consumption in a Smartphone Aaron Carroll and Gernot Heiser

© NICTA 2010 From imagination to impact

Audio

GSM CPU RAM Display Audio Rest0

20

40

60

80

100

120

140

Pow

er (

mW

)

Total: 320 mW

Page 15: An Analysis of Power Consumption in a Smartphone€¦ · © NICTA 2010 From imagination to impact An Analysis of Power Consumption in a Smartphone Aaron Carroll and Gernot Heiser

© NICTA 2010 From imagination to impact

Validation

• Benchmarks repeated on two devices:● HTC Dream (G1)● Google Nexus One (N1)

• Total system power only• 3-4 years of mobile

technology

Page 16: An Analysis of Power Consumption in a Smartphone€¦ · © NICTA 2010 From imagination to impact An Analysis of Power Consumption in a Smartphone Aaron Carroll and Gernot Heiser

© NICTA 2010 From imagination to impact

Validation

Suspe

nd

Idle

Phone

call

Web

(cell

)

Web

(WiF

i)

Networ

k (c

ell)

Networ

k (W

iFi)

Video

Audio

-80

-60

-40

-20

0

20

40

G1N1

% p

ower

diff

eren

c e

Page 17: An Analysis of Power Consumption in a Smartphone€¦ · © NICTA 2010 From imagination to impact An Analysis of Power Consumption in a Smartphone Aaron Carroll and Gernot Heiser

© NICTA 2010 From imagination to impact

DVFS

• Dynamic Voltage and Frequency Scaling• DVFS reduces power

… but does it reduce energy?

Page 18: An Analysis of Power Consumption in a Smartphone€¦ · © NICTA 2010 From imagination to impact An Analysis of Power Consumption in a Smartphone Aaron Carroll and Gernot Heiser

© NICTA 2010 From imagination to impact

DVFS

equake

vprgzip

craftymcf

-30

-20

-10

0

10

20

30

40

FreerunnerG1N1

% e

nerg

y sa

ving

Page 19: An Analysis of Power Consumption in a Smartphone€¦ · © NICTA 2010 From imagination to impact An Analysis of Power Consumption in a Smartphone Aaron Carroll and Gernot Heiser

© 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

Page 20: An Analysis of Power Consumption in a Smartphone€¦ · © NICTA 2010 From imagination to impact An Analysis of Power Consumption in a Smartphone Aaron Carroll and Gernot Heiser

© NICTA 2010 From imagination to impact

Conclusions

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