turducken: hierarchical power management for mobile devices

26
University of Massachusetts, Amherst Turducken: Hierarchical Power Management for Mobile Devices Jacob Sorber, Nilanjan Banerjee, Mark Corner, Sami Rollins† http://prisms.cs.umass.edu/hpm

Upload: donoma

Post on 05-Jan-2016

28 views

Category:

Documents


2 download

DESCRIPTION

Turducken: Hierarchical Power Management for Mobile Devices. Jacob Sorber, Nilanjan Banerjee, Mark Corner, Sami Rollins†. University of Massachusetts, Amherst. http://prisms.cs.umass.edu/hpm. Batteries and Wireless: Two Achilles Heels. Imagine using a laptop like it was a desktop: - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Turducken: Hierarchical Power  Management for Mobile Devices

University of Massachusetts, Amherst

Turducken: Hierarchical Power

Management for Mobile Devices

Jacob Sorber, Nilanjan Banerjee,

Mark Corner, Sami Rollins†

http://prisms.cs.umass.edu/hpm

Page 2: Turducken: Hierarchical Power  Management for Mobile Devices

Batteries and Wireless: Two Achilles Heels

Imagine using a laptop like it was a desktop:

your mail is always fresh

your file system is always consistent

your web is always prefetched

instant messages are instantaneous

Why isn’t this a reality?

Mobility leads to variable connectivity

Limited energy necessitates shutting laptop off

The result is we don’t even try!

Page 3: Turducken: Hierarchical Power  Management for Mobile Devices

Tension in Maintaining Availability

The laptop can remain active—available for communication

System lifetime is severely limited

The laptop can be suspended—extending lifetime

System is not available

Compromise: wake periodically to communicate

More frequent = more available, shorter lifetime

Less frequent = less available, longer lifetime

The tension remains despite current methods

Don’t know when to wake up

Systems lean toward longer lifetime

Goal: A system that is always available with extended lifetime

Page 4: Turducken: Hierarchical Power  Management for Mobile Devices

Solution: Hierarchical Power Management

Hierarchical Power Management

Combine a range of embedded platforms into a single device

Perform tasks on the tier that best fits the task

Download email using PDA

Download large movies with laptop

Sleep high-power tiers when not needed

Focus on non-interactive use

Provide power-efficiency when NOT in use

Remove the human bottleneck

Allow new laptop functionality

Page 5: Turducken: Hierarchical Power  Management for Mobile Devices

Outline

HPM Design Principles:

Combine the Right Platforms

Use the right device for the job

Decompose Tasks

Design of an HPM Laptop

Implementation of Turducken

Hardware

Software

Experimental Results

Related Work and Conclusions

Page 6: Turducken: Hierarchical Power  Management for Mobile Devices

Combine the Right Platforms

More platforms = more overhead

Size, weight, and complexity

Suspend power

Transition cost between platforms

Still need to support a large range of power modes

Use few devices separated by orders-of-magnitude in power

Page 7: Turducken: Hierarchical Power  Management for Mobile Devices

Use the Right Device for the Job

40W

2W

0.04WSensor

PDA

Laptop

Simple computatio

nand storage

Download Web Pages

Very complex computation

Send/RecvMail

Tasks requiringlarge memory or

storage space

Pow

er

Need

s

Page 8: Turducken: Hierarchical Power  Management for Mobile Devices

Decompose Tasks

Not only separate platforms, but subdivide tasks

Tasks include common subtasks:

Checking for network connectivity

Service Discovery

Check for work to be done

Interact with user

Example:

Mote checks for a network, PDA checks for mail server

Laptop remains asleep until user reads the mail

Page 9: Turducken: Hierarchical Power  Management for Mobile Devices

Outline

HPM Design Principles:

Combine the Right Platforms

Use the right device for the job

Decompose Tasks

Design of an HPM Laptop

Implementation of Turducken

Hardware

Software

Experimental Results

Related Work and Conclusions

Page 10: Turducken: Hierarchical Power  Management for Mobile Devices

HPM Hardware Design

WakeControl

Higher Tier

LowerTier

WakeControl

Local Communication Link

Local Communication Link

Battery

Service Discovery

Task Execution

Tier Hardware (CPU, Memory, Storage)

Page 11: Turducken: Hierarchical Power  Management for Mobile Devices

HPM Software Design

Take advantage of transparent proxies

Proxies periodically perform service discovery and fetch content

Provide it on demand to higher tiers in system

Many applications are already distributed

Lower tiers act as proxy for higher tiers

Little or no application recoding and invisible to users

MailProxy

PDA

MailClient

LaptopMail

Server

Page 12: Turducken: Hierarchical Power  Management for Mobile Devices

Outline

HPM Design Principles:

Combine the Right Platforms

Use the right device for the job

Use the right number of devices

Design of an HPM Laptop

Implementation of Turducken

Hardware

Software

Experimental Results

Related Work and Conclusions

Page 13: Turducken: Hierarchical Power  Management for Mobile Devices

Hardware Implementation

Combines Laptop, PDA, and mote into a laptop

Laptop and PDA communicate via USB

PDA and mote via RS-232

Wakeup using relays

WiFi detector allows mote to detect 802.11 beacons

PDALaptop MoteUSB RS-232

Wake

Page 14: Turducken: Hierarchical Power  Management for Mobile Devices

Hardware Implementation

Page 15: Turducken: Hierarchical Power  Management for Mobile Devices

Applications

Time Synchronization

Can be completely performed by the mote

Lowest tier periodically synchronizes with remote time server

Web Prefetching

More complicated application which requires at least PDA

Mote detects wireless networks

PDA periodically fetches updates to frequently accessed pages

E-Mail

Involves user interaction

Both incoming and outgoing updates

Laptop accesses mail via proxy on the PDA

Page 16: Turducken: Hierarchical Power  Management for Mobile Devices

Evaluating Turducken

How does HPM affect battery lifetime?

Show results for a variety of workloads

Vary the consistency of the application

Vary the availability of the network

Consider three configurations

Laptop

Laptop+Mote

Laptop+PDA+Mote

Experiments take a long time

Extrapolate from a set of measured data points

Page 17: Turducken: Hierarchical Power  Management for Mobile Devices

Effect of Consistency

Measure the impact of maintaining consistency

System wakes periodically—vary frequency

Network is always present

Time Synchronization (please see paper)

Web Prefetching

Laptop routes network traffic through PDA

PDA periodically refreshes expired pages

E-Mail

System wakes with constant rate to send mail (2 min/hr)

PDA periodically checks for new mail and sends pending mail

Page 18: Turducken: Hierarchical Power  Management for Mobile Devices

Results: Web Prefetching

PDA is the right device for the job

For always-on operation, Turducken lasts up to 10 times longer

Wake Interval (minutes)

Lif

eti

me (

hou

rs)

Page 19: Turducken: Hierarchical Power  Management for Mobile Devices

Results: E-Mail

More interactive use reduces opportunities for Turducken to save power

Turducken still lasts up to 6 times longer

Wake Interval (minutes)

Lif

eti

me (

hou

rs)

Page 20: Turducken: Hierarchical Power  Management for Mobile Devices

0

100

200

300

400

500

600

700

Avera

ge P

ow

er

(mW

)

Mote Active

Mote Suspend

PDA Active

PDA Suspend

Laptop Active

Laptop Suspend

Laptop Laptop+Mote

Full Turducken

Power-By-Tier: Web Caching

Laptop+Mote shows cost of adding unnecessary platforms

Turducken replaces 400mW of laptop active power with 25mW on PDA

Laptop suspend power is the greatest limiting factor: try hibernation

Page 21: Turducken: Hierarchical Power  Management for Mobile Devices

Effect of Network Availability

Measure the impact of intermittent connectivity

Network is present with varying probability

Mote wakes at a fixed interval

Only wakes PDA when network is available

Only show results for Web Prefetching

Page 22: Turducken: Hierarchical Power  Management for Mobile Devices

Probability of WiFi

Lif

eti

me (

hou

rs)

Results: Web Prefetching

With no network mote prevents laptop from waking

Turducken performs well over a variety of connectivity patterns

Page 23: Turducken: Hierarchical Power  Management for Mobile Devices

Related Work

Wake-On-Wireless [Shih, et al]

Low-power radio receives wakeup messages

Requires in-network support

Focus on when to wake up

Wireless optimizations [Anand, et al], Disk Spindown [Helmbold, et al], Multiple radios [Pering, et al], Multiple processor cores [Mayo & Ranganathan]

none provide orders-of-magnitude scaling of power

Page 24: Turducken: Hierarchical Power  Management for Mobile Devices

Conclusions

Always-on availability and extended battery life

Hierarchical Power Management

Integrate multiple independent platforms

Pass control between tiers

Suspend unneeded tiers

Use proxy-based approach

Little or no application recoding

Always-on operation for up to 10x as long

Page 25: Turducken: Hierarchical Power  Management for Mobile Devices

University of Massachusetts, Amherst

Turducken: Hierarchical Power

Management for Mobile Devices

Jacob Sorber, Nilanjan Banerjee,

Mark Corner, Sami Rollins†

http://prisms.cs.umass.edu/hpm

Page 26: Turducken: Hierarchical Power  Management for Mobile Devices

Turducken: What’s In The Name?