Title: Power Management
1Power Management
2Power A New Resource
- Energy is consumed by
- Display
- WiFi card
- CPU
- Disk
- Memory Access
-
-
3WiFi Card
- Operating Mode
- Send/Recv Mode (900-1400 mW)
- Sleep Mode (50mW)
- Proxy Assisted Power-Friendly Streaming to Mobile
Devices - P. Shenoy and P. Radkov, MMCN 2002
4LCD Display
- Backlight modes
- Superbright (2.8W)
- Power Save (1.72W)
- Reducing Backlight Power Consumption for
Streaming Video Applications on Mobile Handheld
Devices - S. Pasricha et. al. Workshop on Embedded Systems
for Real-Time Multimedia, October 2003
5CPU
- Running at
- 300MHz (22W)
- 700MHz (30W)
- 1GHz (40W)
- Practical Voltage Scaling for Mobile Multimedia
Devices - W. Yuan, K. Nahrstedt, ACM MM 2004
6Power and Media Streaming
- Power Consumed When
- Receive packets
- Decode
- Display
7Idea
- Send video stream that is power-friendly
8Proxy-Assisted Power-Friendly Streaming to Mobile
Devices
- P. Shenoy and P. Radkov
- MMCN 2002
9Architecture
Heres my energy budget for decoding network
reception and max resolution
server/proxy
client
10Architecture
OK, what should I send?
server/proxy
client
11Information Needed
- Map stream properties to energy requirement
- Need to know decoding time of a frame
12Frame Decoding Time
13Decoding Time
- As a function of size
- As a function of resolution
14Estimating Frame Decoding Time
15Transcoding
- If current stream would exceed client decoding
energy budget - Need to transcode by reducing quality
16Transcode to what?
- E estimated energy needed
- while E gt energy budget
- reduce quality by e
- E estimate energy needed
17Transcoded Streams
server/proxy
client
18Estimating Frame Decoding Time
19Reducing NIC Energy
- NIC has two modes active/sleep
- Client can activate NIC only when packets are
expected.
20Normal Transmission
21Burst Transmission
I will start transmitting at 101254.86 pm
22Transcoded Streams
OK, I will wake up at t kd
I will start transmitting at time t
server/proxy
client
23Evaluation
Frame Number
24Evaluation
- NIC Idle Uptime 2 20
- Energy Savings 65 98
25Power and Media Streaming
- Power Consumed When
- Receive packets
- Decode
- Display
26Reducing Backlight Power Consumption for
Streaming Video Applications on Mobile Handheld
Devices
- S. Pasricha et. al.
- ESTIMedia 2003
27Idea
- If video is bright, can reduce backlight
28Intensity of an Image
29Perceived Intensity
30Reduction in Backlight
31Increment in Pixel Intensity
32Compensate Every Frame?
33How to compensate
playback at this backlight level
server/proxy
client
34Evaluation
35Energy Efficient Soft Real-Time CPU Scheduling
for Mobile Multimedia Systems
- W. Yuan, K. Nahrstedt
- SOSP 2003
36Motivation
- Mobile devices run on battery
- How to save battery?
37Dynamic Voltage Scaling
- Example AMD Athlon 4 PowerOn 300, 500, 600,
700, 800, 1000MHz - Energy ? V2
38CPU Scheduler
- When to execute a task
- How long to execute it
- How fast to execute it
39Requirements
- I need C units of time, out of every T units.
- How to know C?
40Probability Distribution
Cum. Prob.
cycles
41Soft Real-Time Scheduling
- EDF with budget C
- If overrun budget, use available free time
42CPU Requirements
- I need C units of time, out of every T units.
43Speed Schedule
speed
time
44Finding Speed Schedule
- Let task execute at speed vx during cycle x
- execution time
- energy per cycle
- expected energy
45Optimize This
46Implementation
- Linux Kernel
- AMD Athlon 4
- 716 lines of code
47Evaluation Cycles
48Evaluation Power Savings
Stochastic Speed Schedule Missed Deadline EnergySavings
no no
yes no
yes yes