29
EXPLOITING VOIP SILENCE FOR WIFI ENERGY SAVINGS IN SMART PHONES Andrew J. Pyles 1 , Zhen Ren 1 , Gang Zhou 1 , Xue Liu 2 1 College of William and Mary, 2 University of Nebraska SiFi:

EXPLOITING VOIP SILENCE FOR WIFI ENERGY SAVINGS IN SMART PHONES Andrew J. Pyles 1, Zhen Ren 1, Gang Zhou 1, Xue Liu 2 1 College of William and Mary, 2

Embed Size (px)

Citation preview

EXPLOITING VOIP SILENCE FOR WIFI ENERGY SAVINGS IN SMART PHONES

Andrew J. Pyles1, Zhen Ren1, Gang Zhou1, Xue Liu2

1College of William and Mary, 2University of Nebraska

SiFi:

Problem Description

Minimize energy use during phone calls Observation: WiFi consumes 20x more

energy when power save disabled.

Power Save ModeActive Mode

0

100

200

300

400

500

600

700

800

Mean

Pow

er

(mW

)

Problem Description

Research by Drago, Molinari and Vagiliani (1978) : 60% of a typical conversation is silence.

Why not enter into WiFi Power Save Mode during silence periods in conversation?

Background : WiFi Power Save

Beacon period

100ms

Client is awake

Client Sleeps

AP Buffers Packet

s

Background: Adaptive PSM

NULL: AWAKE

PS-POLLNULL: SLEEP

PS-POLLPS-POLLPS-POLL

DELAY: depending on driver implementation

NOTE: AWAKE = CAM mode

Background : RTP

non-VAD :

VAD :

VAD: VoiceActivityDetection

Adaptive PSM

Switch to CAM

Delay.. STILL in CAM

NO packets for a while, time to SLEEP!(POWER SAVE MODE ENABLE)

Could be sleeping!

Related Work

802.11 general approaches Self Tuning Wireless Network Power Management, Mobicom

(2003) Micro Power Management of Active 802.11 Interfaces,

Mobisys (2008) Catnap: Exploiting High Bandwith Wireless Interfaces to

Save Energy for Mobile Devices, Mobisys (2010) VoIP Specific approaches

U-APSD, IEEE 802.11e (2005) Hybrid Power Saving Mechanism for VoIP Services with

Silence Suppression in IEEE 802.16e Systems, Communications letters (2007)

Towards Energy Efficient VoIP over Wireless LANS, Mobihoc (2008)

Contributions

Exploit Silence periods using modeling and prediction

Propose Silence prediction framework called SiFi

Implement SiFi onto Android phone

Overview

Problem Description Background Related work Contributions Big idea SiFi framework Implementation Evaluation Conclusion

Big Idea

Training operation Gather statistics about silence gaps in

conversation Run time operation

Detect start of silence period Predict length of silence period Enable WiFi Power Save Mode during

predicted length

Big idea: Training

•Gather Silence Periods•Store to disk•Compute ECDF

ECDF:EmpiricalCumulativeDistributionFunction

Big idea: Runtime

•Detect start of silence period•Wait α (typically 50ms)•Determine length of sleep period: Δ

Find MAX Δ where: P(x>α + Δ| x > α ) ≥β)

β = confidence interval

Introducing SiFi

Silence Prediction based WiFi energy Adaptation

SiFi Framework

Implementation: WiFi Manager

Evaluation

Energy Consumption Application Fidelity

Evaluation: Energy Consumption

Energy Consumption: non-VAD

Energy Consumption: VAD

Evaluation: Application Fidelity We use Mean Opinion Score (MOS) for

evaluation

Unint

ellib

le

Poor

Qua

lity

Med

ium

High

Qualit

y

Best

Qua

lity

0

1

2

3

4

5

MO

S S

core

Evaluation: Application Fidelity MOS is a subjective measurement Factors that impact MOS score:

ONE-Way delay (mouth to ear delay) Jitter

How do we put this together? E-MODEL:

1 + 0.035R+7∗ 10−6R(R − 60)(100 − R)

“R” can be approximated using one-way delay, and inferred codec information

Application Fidelity: Delay

One Way delay can be calculated if clocks are synced. (Can’t assume that!)

RTT=  (Ta2 - Ta1) - (Tb2 - Tb1) A B

ASSUME: OWD = RTT/ 2

Evaluation: Application Fidelity E-Model : Estimate MOS rating of a call

non-VAD 1hr

VAD 10min.

VAD 26:38

VAD 48:53

VAD 50:00

3.43.53.63.73.83.9

44.14.24.3

MO

S S

core

Conclusion

Feedback from Application layer to WiFi driver = added energy savings!

Exploit Silence periods using modeling and prediction

Propose Silence prediction framework called SiFi

Implement SiFi onto Android phone

Questions and Discussion

Thank you! Contact: [email protected] http://www.cs.wm.edu/~ajpyles

Questions?

backup

Related Work

Exploiting Idle Opportunities Self Tuning Wireless Network Power Management, Mobicom

(2003) Micro Power Management of Active 802.11 Interfaces,

Mobisys (2008) Catnap: Exploiting High Bandwith Wireless Interfaces to

Save Energy for Mobile Devices, Mobisys (2010) VoIP Specific approaches

U-APSD, IEEE 802.11e (2005) Hybrid Power Saving Mechanism for VoIP Services with

Silence Suppression in IEEE 802.16e Systems, Communications letters (2007)

Towards Energy Efficient VoIP over Wireless LANS, Mobihoc (2008)

Related Work

Research by Choi and Lee (2007) Uses Exponential Backoff Algorithm Oversleeping can cause quality problems

U-APSD 802.11 standard Upstream traffic triggers AP to transmit all buffered

packets Requires synchronous traffic

Two Three Four Five