Efficient Wireless Data Transfer Ahmad Rahmati and Lin Zhong Rice - - PowerPoint PPT Presentation

efficient wireless data transfer
SMART_READER_LITE
LIVE PREVIEW

Efficient Wireless Data Transfer Ahmad Rahmati and Lin Zhong Rice - - PowerPoint PPT Presentation

Context-for-Wireless: Context-Sensitive Energy- Efficient Wireless Data Transfer Ahmad Rahmati and Lin Zhong Rice Efficient Computing Group (recg.org) Dept. of Electrical & Computer Engineering Rice University Motivation Ubiquitous


slide-1
SLIDE 1

Context-for-Wireless: Context-Sensitive Energy- Efficient Wireless Data Transfer

Ahmad Rahmati and Lin Zhong Rice Efficient Computing Group (recg.org)

  • Dept. of Electrical & Computer Engineering

Rice University

slide-2
SLIDE 2

Motivation

 Ubiquitous wireless connectivity enables new apps

 Example: Our OrbitECG health monitoring system

 Wireless data transfer is power hungry  Objective: Reduce wireless energy consumption

 Use context information to take advantage of multiple

wireless interfaces on modern devices

 35% battery life increase in field trial

 Phone running ECG reporting application

1 / 25

slide-3
SLIDE 3

Outline

 Reality check

 Network availability in daily life  Wireless energy cost  Cellular & Wi-Fi are complementary

 Energy-efficient data transfer

 Problem: Selecting between network interfaces  Solution: Context-for-Wireless  Field validation

 Conclusion

2 / 25

slide-4
SLIDE 4

Reality Check

 Commercial Windows Mobile Phones

 GSM, EDGE, Wi-Fi, Bluetooth

 Custom software

 RateLogger: Cellular / Wi-Fi data rates  TowerLogger: Cellular / Wi-Fi signal levels

 Acceleration logging using Orbit Sensor

 Power measurements

 Model for wireless transfer energy cost  Measured with battery inside phone

3 / 25

slide-5
SLIDE 5

Network Conditions in Daily Life

 14 participants from Rice, 3-4 weeks

Cellular availability: 99%

4 / 25

Wi-Fi availability: 49%

0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100% Wi-Fi availability Participant No coverage < -70 dBm

  • 70 to -50 dBm

> -50 dBm 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100% Cellular availability Participant No coverage

  • 111 to -95 dBm
  • 94 to -82 dBm

> -81 dBm

slide-6
SLIDE 6

 We should combine their strengths

Complementary Energy Profiles

5 / 25

Cellular Wi-Fi Checking for availability / Establishing a connection None* High 5 J Maintaining a connection None* 1–6 J/min High 20–60 J/min Energy per MB transfer High

upload: 95–125 J download: 40–50 J

Low

upload: 7–11 J download: 5–7 J

Coverage High 99% Medium 49% * We assume phones are always connected to the cellular network

slide-7
SLIDE 7

Outline

 Reality check

 Network availability in daily life  Wireless energy cost  Cellular & Wi-Fi are complementary

 Energy-efficient data transfer

 Problem: Selecting between network interfaces  Solution: Context-for-Wireless  Field validation

 Conclusion

6 / 25

slide-8
SLIDE 8

Energy-Efficient Data Transfer

 Combining the strengths of Cellular and Wi-Fi

 Cellular always on  Wi-Fi powered off when not in use

 For each data transfer, should the device attempt

Wi-Fi to save energy?

7 / 25

Attempt Wi-Fi? Energy Cost of Data Transfer No attempt Cellular transfer Attempt Unsuccessful Wi-Fi establishment + Cellular transfer Successful Wi-Fi establishment + Wi-Fi transfer

slide-9
SLIDE 9

Energy Cost of Data Transfer

 Wi-Fi establishment: ~ 5 J  Cellular / Wi-Fi transfer: depends on size,

network conditions

 Signal Strength used in our energy model  Cellular signal strength / availability: FREE!  Wi-Fi signal strength / availability: COSTLY!

8 / 25

Attempt Wi-Fi? Energy Cost of a Data Transfer No attempt Cellular transfer Attempt Unsuccessful Wi-Fi establishment + Cellular transfer Successful Wi-Fi establishment + Wi-Fi transfer

slide-10
SLIDE 10

Naïve: Attempt Wi-Fi for all transfers Context-for-Wireless: Wi-Fi conditions estimated with negligible cost Ideal: Wi-Fi conditions known free

Should the Device Attempt Wi-Fi?

9 / 25

 Naïve

 Always attempt Wi-Fi  If unsuccessful, use

Cellular

 Ideal

 Wi-Fi conditions known  Choose most energy

efficient interface

slide-11
SLIDE 11

 Context-for-Wireless

1.

Use context information to estimate Wi-Fi conditions without powering up the interface

2.

Calculate and compare expected energy costs for each interface

10 / 25

Naïve: Attempt Wi-Fi for all transfers Context-for-Wireless: Wi-Fi conditions estimated with negligible cost Ideal: Wi-Fi conditions known free

Should the Device Attempt Wi-Fi?

slide-12
SLIDE 12

Potential Energy Saving

 Average energy cost for a transfer

 Using network condition traces from TowerLogger  Using energy model from measurements

11 / 25 2 4 6 8 10 12 14 16 18 20 20 40 60 80 100 120 140 160 180 200 Transfer energy (J) Data size (KB)

Cellular Naïve Ideal

slide-13
SLIDE 13

Simple Estimation Algorithm

 Use each person’s average Wi-Fi condition

 Large energy saving over cellular-only  We use as baseline (0%), compared to Ideal (100%)

12 / 25 2 4 6 8 10 12 14 16 18 20 20 40 60 80 100 120 140 160 180 200 Transfer energy (J) Data size (KB)

Cellular Naïve Simple Ideal

0% 100%

slide-14
SLIDE 14

Hysteretic Estimation Algorithm

 Network conditions are related in time

 Re-use last measured Wi-Fi conditions up to a specific

time

 Attempt Wi-Fi for transfer after that time  Simple, no extra hardware

13 / 25

slide-15
SLIDE 15

History + Cell ID Estimation Algorithm

 History: People spend days in a predictable fashion

 Network conditions related at same time in different days  Use Wi-Fi conditions in 1-hour partitions to train

 Cell ID: Network conditions related to location

 GPS is power hungry, outdoors only  GSM localization requires training to ground truth  We directly train based on GSM Cell IDs and Wi-Fi conditions

 History + Cell ID Estimation uses both

 More weight for estimation with higher certainty  Slightly favor Cell ID

14 / 25

GPS / GSM Location Wi-Fi Conditions GSM Wi-Fi Conditions

slide-16
SLIDE 16

Acceleration Estimation Algorithm

 Network conditions relatively constant at a fixed

location

 Use motion sensing to detect change in location

 3-axis accelerometer on Orbit Sensor, 32 Hz, 8 bit, Bluetooth  Some new devices have built-in accelerometer (for UI)

 Re-use last measured Wi-Fi conditions if movement

below threshold.

15 / 25

slide-17
SLIDE 17

Combination Algorithms

 Determine validity of previous measurement

 Hysteretic  Acceleration

 Determine conditions

 History + Cell ID

 Re-use last measured network conditions if valid  Use History + Cell ID if change anticipated

16 / 25

slide-18
SLIDE 18

Performance Evaluation

 Real-life network traces from Tower Logger  Simulated ECG reporting application

 5 min. transfer interval  270 kB data size

18 / 25 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100% Effectiveness (ideal = 100%) Participant History + Cell ID Hysteretic History + Cell ID + Hysteretic

slide-19
SLIDE 19

19 / 25 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100% Effectiveness (ideal = 100%) Participant History + Cell ID Hysteretic History + Cell ID + Hysteretic

Findings

 Our estimation algorithms had a hard time when

Wi-Fi availability -> 100%

90% 81%

slide-20
SLIDE 20

20 / 25 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100% Effectiveness (ideal = 100%) Participant History + Cell ID Hysteretic History + Cell ID + Hysteretic

Findings

 History + Cell ID Estimation is more effective for

users with regular schedules

 One staff member – regular hours and location  Others were students and faculty – flexible hours

staff

slide-21
SLIDE 21

21 / 25 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100% Effectiveness (ideal = 100%) Participant History + Cell ID Hysteretic History + Cell ID + Hysteretic

Findings

 History + Cell ID Estimation is more effective for

users with long commutes

 Participants lived close to campus whenever

Hysteretic Estimation was more effective

slide-22
SLIDE 22

Findings

 P1, P2, P3 had acceleration logging

 We used a very simple motion sensing algorithm  We expect Acceleration Estimation to perform better

 Using more sophisticated motion sensing algorithms  For close locations with different Wi-Fi conditions

21 / 25

0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100% History + Cell ID Hysteretic History + Cell ID + Hysteretic Acceleration History + Cell ID + Acceleration Effectiveness (Ideal = 100%) Estimation algorithm P1 P2 P3 Average

slide-23
SLIDE 23

Findings

 Both Hysteretic and Acceleration Estimation are

more effective for shorter transfer intervals

 User less likely to have moved  Measured conditions more likely to remain valid

22 / 25

0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100% History + Cell ID Hysteretic History + Cell ID + Hysteretic Acceleration History + Cell ID + Acceleration Effectiveness (Ideal = 100%) Estimation algorithm 1 min interval 5 min interval 25 min interval

slide-24
SLIDE 24

Field Validation

 Implement same ECG reporting application

 Upload 270 kB every 5 min., retry failed transfers  1. Cellular only mode  2. Context-for-Wireless mode

 Hysteretic Estimation

 Measure battery life with normal phone usage

 Two participants, six experiments each

 System Battery life: 15.4 h -> 20.8 h (+35%)

23 / 25

slide-25
SLIDE 25

Conclusion

 Cellular and Wi-Fi have complementary strengths  Optimally selecting between wireless interfaces can

considerably increase system battery life

 Requires knowing network conditions

 Context information (Context-for-Wireless) can be

effectively used for selecting between interfaces

 Previous conditions  History  Visible Cell IDs  Acceleration (motion sensing)

 We used GSM EDGE and 802.11 Wi-Fi

 Same for future technologies with long & short range

interfaces

24 / 25

slide-26
SLIDE 26

Related Work

 Employing multiple wireless interfaces

 Wake-on-Wireless

 Low power radio signals Wi-Fi wakeup

 Coolspots

 Bluetooth to improve Wi-Fi energy efficiency

 Armstrong et al.

 Selected wireless interface based on data size

 We use context information to estimate Wi-Fi

conditions (Context-for-Wireless)

 Judiciously select between wireless interfaces

 Improve energy efficiency using Wi-Fi  Maintain ubiquitous coverage through cellular

25 / 25

slide-27
SLIDE 27

Questions and Comments

 Traces and source code will be available online

 http://www.recg.org

 Traces will also be available on

 http://crawdad.cs.dartmouth.edu