realizing the full potential of psm using proxying

18
Realizing the Full Potential of PSM using Proxying Ning Ding Abhinav Pathak Y. Charlie Hu Dimitrios Koutsonikolas Clay Shepard Lin Zhong 1

Upload: zeheb

Post on 24-Feb-2016

30 views

Category:

Documents


0 download

DESCRIPTION

Realizing the Full Potential of PSM using Proxying. Clay Shepard Lin Zhong. Dimitrios Koutsonikolas. Ning Ding Abhinav Pathak Y. Charlie Hu. Smartphone is Energy Constrained. Battery capacity only doubles in last 15 years. 3G/4G. GPS. CPU. Screen. WiFi. Camera. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Realizing the Full Potential of PSM using  Proxying

1

Realizing the Full Potential of PSM using Proxying

Ning DingAbhinav PathakY. Charlie Hu

Dimitrios KoutsonikolasClay ShepardLin Zhong

Page 2: Realizing the Full Potential of PSM using  Proxying

2

Smartphone is Energy Constrained

CPU

Screen

3G/4G

WiFi

GPS

Camera

Battery capacity only doubles in

last 15 years

Page 3: Realizing the Full Potential of PSM using  Proxying

3

WiFi Energy Consumption

Send

Recv

Idle Listen1000mW

765mW650mW

Time (ms)

WiFi NIC Power(mW)

… …

Phone

AP

Data

Data

Idle

Even in idle, WNIC drains out battery

in 6-10 hrs!

Page 4: Realizing the Full Potential of PSM using  Proxying

4

Modes of WiFi NIC

• Constant Awake Mode (CAM)– Send, Recv, Idle Listen– High power

• Power Saving Mode (PSM)– Cannot send/recv/idle listen– Very little power

Page 5: Realizing the Full Potential of PSM using  Proxying

5

WiFi: Power Saving Mode

100ms 100ms 100ms

Beacon

Phone

APBeacon Beacon Beacon

Time (ms)

WiFi NIC Power(mW)

Beacon

Page 6: Realizing the Full Potential of PSM using  Proxying

6

WiFi: Power Saving Mode (cont’d)

Beacon

Phone

AP

Data

WNIC in PSM, cannot recv

WNIC switch to CAM

PSM Wake-up Delay

PSM does not come for free!

Server

Time (ms)

WiFi NIC Power(mW)

Page 7: Realizing the Full Potential of PSM using  Proxying

7

PSM

• Energy - performance trade off

• Two implementations of PSM– Static PSM– Dynamic PSM

Page 8: Realizing the Full Potential of PSM using  Proxying

8

Static PSM

Phone

APSYN

ServerSYNACK

SYNACK

Req

Wake-up Delay

Wake-up Delay

Wake-up Delay

Already in PSM

Time (ms)

WiFi NIC Power(mW)

Static PSM

Flow Time: 300ms

Energy:3 μAh

Data

ACK

Beacon

Page 9: Realizing the Full Potential of PSM using  Proxying

9

Dynamic PSM

WiFi NIC Power(mW)

Phone

APSYN

ServerSYNACK

Req

PSM Timeout Dynamic PSM

Flow Time: 90ms

Energy:10 μAh

Static PSM

Flow Time: 300ms

Energy:3 μAh

Data

ACK

Beacon

Time (ms)

Page 10: Realizing the Full Potential of PSM using  Proxying

10

Motivation

Performance Energy

Static PSM

Dynamic PSM

Can we make it ?

Page 11: Realizing the Full Potential of PSM using  Proxying

11

Understand Dynamic PSM

Phone

AP

Server

RTT

PSM Timeout

Key: PSM Timeout > RTT

Phone PSM TimeoutNokia N900 200ms

HTC Nexus One 200ms

iPhone 4 95ms

Page 12: Realizing the Full Potential of PSM using  Proxying

12

Percy: Design

AP AP Split-TCP Proxy

PSM Timeout200ms/95ms

PSM Timeout30ms

1.

2.

Page 13: Realizing the Full Potential of PSM using  Proxying

13

Data

ACK

Beacon

Percy: Short Flows

Phone

AP+Proxy SYN

Server

Req

DataSYN

SYNACK Req

Percy

Flow Time: 110ms

Energy:4 μAh

Static PSM

Flow Time: 300ms

Energy:3 μAh

Dynamic PSM

Flow Time: 90ms

Energy:10 μAh

Time (ms)

WiFi NIC Power(mW)

Page 14: Realizing the Full Potential of PSM using  Proxying

Percy: Long Flows

14

SYNReq

SYN

SYNACK

Req

Periodical Flush

Time (ms)

WiFi NIC Power(mW)

Data

ACK

Beacon

Page 15: Realizing the Full Potential of PSM using  Proxying

15

Evaluation

• Trace-driven experiment– 10-phone 1-week trace– 38,069 HTTP flows

• PSM configurations– Percy– Static PSM– Dynamic PSM:

NokiaN900 iPhone 4

HTC Nexus One

Page 16: Realizing the Full Potential of PSM using  Proxying

16

Result – Energy Consumption

Total energy consumption for different PSM schemes

67%

44%

Page 17: Realizing the Full Potential of PSM using  Proxying

17

Result – Network Performance

CDF of flow time difference compared to Android PSM configuration

Time (ms)

Page 18: Realizing the Full Potential of PSM using  Proxying

18

Conclusion

• Existing PSMs have inherent problems

• A simple system: Percy– improve the energy savings– maintain good performance

• Percy saves 44-67% energy while incur minimal flow time elongation