avoiding the rush hours: wifi energy management via traffic isolation

26
Avoiding the Rush Hours: WiFi Energy Management via Traffic Isolation Justin Manweiler Romit Roy Choudhury ACM MobiSys 2011

Upload: tomas

Post on 25-Feb-2016

50 views

Category:

Documents


2 download

DESCRIPTION

Avoiding the Rush Hours: WiFi Energy Management via Traffic Isolation. Justin Manweiler Romit Roy Choudhury ACM MobiSys 2011. : Saving Energy through Sleep. WiFi. Between packet bursts, WiFi switches to low -power sleep mode. Zzz …. Zzz …. Time. WiFi Sleep Under Contention. Zzz …. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Avoiding the Rush Hours: WiFi  Energy Management via Traffic Isolation

Avoiding the Rush Hours:WiFi Energy Management via Traffic Isolation

Justin ManweilerRomit Roy Choudhury

ACM MobiSys 2011

Page 2: Avoiding the Rush Hours: WiFi  Energy Management via Traffic Isolation

2

WiFi

Time

Zzz…Zzz…

Between packet bursts, WiFi switches to low-power sleep mode

: Saving Energy through Sleep

Page 3: Avoiding the Rush Hours: WiFi  Energy Management via Traffic Isolation

3

WiFi Sleep Under Contention

Time

Zzz…Zzz…

Time

Zzz…Zzz…

Page 4: Avoiding the Rush Hours: WiFi  Energy Management via Traffic Isolation

4

Beacon WakeupsBad wakeups =

burst contention

Key intuition: move beacons, spread apart traffic, let clients sleep faster

Traffic Download

Page 5: Avoiding the Rush Hours: WiFi  Energy Management via Traffic Isolation

5

MEASUREMENTSEnergy performance on modern WiFi smartphones

Zzz…Zzz…

vs

Page 6: Avoiding the Rush Hours: WiFi  Energy Management via Traffic Isolation

6

Measuring Power on Nexus One

Simultaneous measurements at 5K hertz

Page 7: Avoiding the Rush Hours: WiFi  Energy Management via Traffic Isolation

7

Energy Profile of Nexus One

With contention:↑ Idle/Overhear, ↓ Sleep

DeepSleep

BeaconWakeups Idle/Overhear

Light Sleep

Transmit/Receive

Page 8: Avoiding the Rush Hours: WiFi  Energy Management via Traffic Isolation

8

Energy Cost of Contention

1 AP 2 AP 3 AP 4 AP 5 AP 6 AP 7 AP 8 AP05

10152025303540

IperfYouTube

Tota

l Ene

rgy

in Jo

ules

(J)

Energy costs grow with number of contenders

Denser Neighborhood

File Download

Page 9: Avoiding the Rush Hours: WiFi  Energy Management via Traffic Isolation

9

Activity Percentages

1 AP 2 AP 3 AP 4 AP 5 AP 6 AP 7 AP 8 AP0%

10%20%30%40%50%60%70%80%90%

100% File Download

High PowerIdle/OverhearLight SleepDeep Sleep

Increasing time in Idle/Overhear

Transmit/ReceiveTim

e

Page 10: Avoiding the Rush Hours: WiFi  Energy Management via Traffic Isolation

10

SLEEPWELL DESIGNAvoiding the rush hours to save energy

Seattle 520 bridge

Wakeup later / go home later

Smarter commute = save gasSmarter beacons = save battery

Page 11: Avoiding the Rush Hours: WiFi  Energy Management via Traffic Isolation

11

SleepWell Techniques● Traffic Monitoring

APs maintain a map of peers in the wireless vicinity

● Traffic Migration APs select a new beacon position based on heuristics

● Traffic Preemption APs avoid traffic spillover into that of neighbors

Page 12: Avoiding the Rush Hours: WiFi  Energy Management via Traffic Isolation

12

Traffic Monitoring

beacon & traffic maps for the one-hop neighborhood

Page 13: Avoiding the Rush Hours: WiFi  Energy Management via Traffic Isolation

13

Traffic Migration

85

25

70

55

0

55

75

50

Expected share = 100/(n + 1) = 25 ms

Claim expected share from largest hole

CONVERGES

Page 14: Avoiding the Rush Hours: WiFi  Energy Management via Traffic Isolation

14

Traffic Preemption

Traffic preemption prevents spillover

25

0

75

50

Page 15: Avoiding the Rush Hours: WiFi  Energy Management via Traffic Isolation

15

Key Implementation Challenge● APs need to change the beacon timings

● But, no 802.11 protocol support

● Fortunately, clients synchronize to AP clocks

● AP can change beacon by “lying” about the time

Fully 802.11 compatible AP:Hostapd + modified Atheros Ath9k 802.11n driver

40

Page 16: Avoiding the Rush Hours: WiFi  Energy Management via Traffic Isolation

16

Rescheduling Client Wakeups“hey clientthis beacon is60ms Late”

ActualTime

Client Clock(sync to AP)

I’ll adjust my clock

OK, I need towakeup in 40ms

50 50

0 0

Right on time

I know client will wakeup in 40ms

Yes, delayed client by 40ms

Page 17: Avoiding the Rush Hours: WiFi  Energy Management via Traffic Isolation

17

0 0.6666 1.3332 1.9998 2.6666 3.33320

200

400

600

800 SleepWell, 2 AP (Client A)

Time (s)

Pow

er (m

W)

0 0.6668 1.3336 2.0002 2.6668 3.33360

200

400

600

800SleepWell, 2 AP (Client B)

Time (s)

Pow

er (m

W)

Energy TDMA

0 0.6668 1.3336 2.0002 2.6668 3.33360

200

400

600

800802.11, 2 AP

Time (s)

Pow

er (m

W)

Page 18: Avoiding the Rush Hours: WiFi  Energy Management via Traffic Isolation

18

Energy Comparison

Iperf YouTube Pandora05

10152025303540

No Contention802.11, 8 APSleepWell, 8 AP

Tota

l Ene

rgy

in Jo

ules

(J)

File Download

Page 19: Avoiding the Rush Hours: WiFi  Energy Management via Traffic Isolation

19

Activity Percentages: 802.11

1 AP 2 AP 3 AP 4 AP 5 AP 6 AP 7 AP 8 AP0%

10%20%30%40%50%60%70%80%90%

100% File Download

High PowerIdle/OverhearLight SleepDeep Sleep

Transmit/Receive

Page 20: Avoiding the Rush Hours: WiFi  Energy Management via Traffic Isolation

20

Activity Percentages: SleepWell

1 AP 2 AP 3 AP 4 AP 5 AP 6 AP 7 AP 8 AP0%

10%20%30%40%50%60%70%80%90%

100% File Download

High PowerIdle/OverhearLight SleepDeep Sleep

Transmit/Receive

Page 21: Avoiding the Rush Hours: WiFi  Energy Management via Traffic Isolation

21

Youtube CDF, Instantaneous Power

0 100 200 300 400 500 6000

0.2

0.4

0.6

0.8

1

1 AP802.11, 8 AP

Power in Milliwatts (mW)

Empi

rical

CDF SleepWell closely matches

zero-contention energy profile

Page 22: Avoiding the Rush Hours: WiFi  Energy Management via Traffic Isolation

22

Throughput under SleepWell(per-link TCP on 4 AP testbed)

0 0.5 1 1.5 2 2.50

0.2

0.4

0.6

0.8

1

802.11

Bandwidth (Mbps)

Empi

rical

CDF

Negligible performance impact:SleepWell just reorders traffic

Page 23: Avoiding the Rush Hours: WiFi  Energy Management via Traffic Isolation

23

Limitations

● Not immediately suitable to interactive traffic (VoIP) True of 802.11 PSM in general

● Legacy APs lessen energy savings Won’t preempt for SleepWell traffic

● Contention from clients of the same AP Considered in NAPman [MobiSys 2010]

Page 24: Avoiding the Rush Hours: WiFi  Energy Management via Traffic Isolation

24

Prior Work● WiFi PSM Sleep Optimization

NAPman, Catnap [MobiSys 10] μPM [MobiSys 08]

● WiFi Duty Cycling Wake-on-Wireless [MobiCom 02] / revisited [MobiSys 07] Context-for-Wireless [MobiSys 07] Blue-Fi [MobiSys 09], Breadcrumbs [MobiCom 08] Also, Turducken, Coolspots, Tailender, etc.

● Sensor network TDMA Z-MAC [SenSys 05] S-MAC [INFOCOM 02]

Page 25: Avoiding the Rush Hours: WiFi  Energy Management via Traffic Isolation

25

Conclusion

● PSM is a valuable energy-saving optimization

● But, PSM designed with a single AP in mind

● Multiple APs induce contention, waste energy

● Staggered wakeups clients sleep through contention

● SleepWell = PSM made efficient for high-density networks

Zzz…Zzz…to

Page 26: Avoiding the Rush Hours: WiFi  Energy Management via Traffic Isolation

26

THANK YOU!Questions?

cs.duke.edu/[email protected]