Energy Consumption Anatomy of 802.11 Devices and its Implication on - - PowerPoint PPT Presentation

energy consumption anatomy of 802 11 devices and its
SMART_READER_LITE
LIVE PREVIEW

Energy Consumption Anatomy of 802.11 Devices and its Implication on - - PowerPoint PPT Presentation

Energy Consumption Anatomy of 802.11 Devices and its Implication on Modeling and Design A. Banchs 1,2 , G. Bianchi 3 1: Universidad Carlos III de Madrid 2: Institute IMDEA Networks 3: CNIT / Universit Tor Vergata A. Garca-Saavedra 1 , P.


slide-1
SLIDE 1

Energy Consumption Anatomy of 802.11 Devices and its Implication on Modeling and Design

  • A. García-Saavedra1, P. Serrano1,
  • A. Banchs1,2, G. Bianchi3

1: Universidad Carlos III de Madrid 2: Institute IMDEA Networks 3: CNIT / Università Tor Vergata

slide-2
SLIDE 2

Energy Consumption Anatomy of 802.11 Devices and its Implication on Modeling and Design

Rantala ¡et ¡al. ¡“Modeling ¡energy ¡efficiency ¡in ¡wireless ¡internet ¡communica7on” ¡, ¡ACM ¡Mobiheld, ¡2009 ¡ Linksys ¡WRT54GL ¡WiFi ¡router ¡HW ¡ Wireless ¡interface ¡ (WiFi ¡NIC) ¡

What we wanted

  • To design an energy efficient comm. protocols

we need to understand the power consumption

  • Previous experimental work

‒ Per-packet analysis of the wireless interface

slide-3
SLIDE 3

Energy Consumption Anatomy of 802.11 Devices and its Implication on Modeling and Design

What we wanted

  • To design an energy efficient comm. protocols

we need to understand the power consumption

  • Previous experimental work

‒ Per-packet analysis of the wireless interface ‒ Per-state measurements of the device

A.Rice, ¡S. ¡Hay ¡“Measuring ¡mobile ¡phone ¡energy ¡consump7on ¡for ¡802.11 ¡wireless ¡networking”, ¡PMC. ¡2010 ¡

slide-4
SLIDE 4

Energy Consumption Anatomy of 802.11 Devices and its Implication on Modeling and Design

What we found

  • Non-card can dominate the consumption
  • Questions previous schemes

‒ E.g. relaying in multihop

  • Enables new designs

‒ E.g. packet batching

Card App O.S.

Device Non-card operations Card operations

slide-5
SLIDE 5

Energy Consumption Anatomy of 802.11 Devices and its Implication on Modeling and Design

Energy Consumption Anatomy

  • Hardware used

Device WiFi chipset CPU Memory Software Soekris net4826-48 Atheros AR5414 (11a/b/g) 233 MHz AMD SC1100 128 MB SDRAM Gentoo 10.0 Kernel 2.6.24 / OpenBSD 5.1 Alix 2d2 Broadcom BCM4319 (11b/g) 500 MHz AMD LX800 256 MB SDRAM Ubuntu 10.04 Kernel 2.6.29 Linksys WRT54GL Broadcom BM4320 (11b/g) 200 MHz BCM5352 16 MB RAM OpenWrt Backfire Kernel 2.6.32 Protek 3033B PCE PA-6000 Device running controlled experiments

slide-6
SLIDE 6

Energy Consumption Anatomy of 802.11 Devices and its Implication on Modeling and Design

  • With one device

‒ Results are not very precise (e.g. ~6%) ‒ We added more devices (~2%)

Methodology

Power

Baseline power consumption

slide-7
SLIDE 7

Energy Consumption Anatomy of 802.11 Devices and its Implication on Modeling and Design

Power consumption: Transmission

  • Varying frame length -> Airtime = Tplcp+(H+L)/R

3,25 3,75 4,25 4,75 5,25 5,75 6,25 10 20 30 40 50 60 70 80 90 100

Power (Watts) airtime (%)

6Mbps, ¡400fps, ¡15dBm ¡

3,25 3,75 4,25 4,75 5,25 5,75 6,25 10 20 30 40 50 60 70 80 90 100

Power (Watts) airtime (%)

6Mbps, ¡400fps, ¡5dBm ¡

3,25 3,75 4,25 4,75 5,25 5,75 6,25 10 20 30 40 50 60 70 80 90 100

Power (Watts) airtime (%)

24Mbps, ¡400fps, ¡15dBm ¡

UDP, no ACKs, no retx.

slide-8
SLIDE 8

Energy Consumption Anatomy of 802.11 Devices and its Implication on Modeling and Design

P(fps) + UDP, no ACKs, no retx.

Power consumption: Transmission

3,25 3,75 4,25 4,75 5,25 5,75 6,25 10 20 30 40 50 60 70 80 90 100

Power (Watts) airtime (%)

6Mbps, ¡400fps, ¡15dBm ¡

3,25 3,75 4,25 4,75 5,25 5,75 6,25 10 20 30 40 50 60 70 80 90 100

Power (Watts) airtime (%)

6Mbps, ¡400fps, ¡5dBm ¡

3,25 3,75 4,25 4,75 5,25 5,75 6,25 10 20 30 40 50 60 70 80 90 100

Power (Watts) airtime (%)

24Mbps, ¡400fps, ¡15dBm ¡

3,25 3,75 4,25 4,75 5,25 5,75 6,25 10 20 30 40 50 60 70 80 90 100

Power (Watts) airtime (%)

24Mbps, ¡1200fps, ¡15dBm ¡

3,25 3,75 4,25 4,75 5,25 5,75 6,25 10 20 30 40 50 60 70 80 90 100

Power (Watts) airtime (%)

3,25 3,75 4,25 4,75 5,25 5,75 6,25 10 20 30 40 50 60 70 80 90 100

Power (Watts) airtime (%)

+0.4 W +1.2 W

  • P = Pbase +

Ptx(MCS,power) x Airtime

slide-9
SLIDE 9

Energy Consumption Anatomy of 802.11 Devices and its Implication on Modeling and Design

Per-Packet “energy toll”

Soekris: 0.93 mJ/frame (Linux), 1.27 mJ/frame (OpenBSD) Linksys: 0.46 mJ/frame Alix: 0.11 mJ/frame

slope ≈ 1 W / 1000 fps = 1mJ/frame

slide-10
SLIDE 10

Energy Consumption Anatomy of 802.11 Devices and its Implication on Modeling and Design

3,25 3,75 4,25 4,75 5,25 5,75 6,25 20 40 60 80 100

Power (Watts) airtime (%)

3,25 3,75 4,25 4,75 5,25 5,75 6,25 20 40 60 80 100

Power (Watts) airtime (%)

Energy Consumption Anatomy

  • (a) App.: disc. before the OS
  • (b) TCP/IP: disc. before driver
  • (c) Driver: disc. after driver
  • Total

“Cross-Factor” Transmission

slide-11
SLIDE 11

Energy Consumption Anatomy of 802.11 Devices and its Implication on Modeling and Design

Anatomy Results

2.6 2.4 2.2 ≈ ≈

48 Mbps 100 B/Pkt 300 fps 48 Mbps 100 B/Pkt 1200 fps 48 Mbps 750 B/Pkt 1200 fps 48 Mbps 1400 B/Pkt 1200 fps 6 Mbps 1400 B/Pkt 400 fps

slide-12
SLIDE 12

Energy Consumption Anatomy of 802.11 Devices and its Implication on Modeling and Design

  • Energy toll to handle a frame

‒ Independent of frame size ‒ Total power > base power + card power

  • Energy split:
  • Very far from negligible (vs. Tx Power)

‒ Previous slide: 37% ~ 97% energy/frame

App TCP/IP Driver NIC 24% 33% 21% 22%

The Cross Factor

slide-13
SLIDE 13

Energy Consumption Anatomy of 802.11 Devices and its Implication on Modeling and Design

  • E.g. 2 retries, but only 1 cross factor

Retransmissions (and control frames)

slide-14
SLIDE 14

Energy Consumption Anatomy of 802.11 Devices and its Implication on Modeling and Design

Retransmissions

ReTx Tx X-factor

slide-15
SLIDE 15

Energy Consumption Anatomy of 802.11 Devices and its Implication on Modeling and Design

Model for the power consumption

  • Similar results for reception.
  • Model:
  • Parametrization for the Soekris, Linksys, Alix

Baseline ¡ TX ¡air7me ¡ RX ¡air7me ¡ Packet ¡processing ¡

“Classical” New

slide-16
SLIDE 16

Energy Consumption Anatomy of 802.11 Devices and its Implication on Modeling and Design

Validation of the model

  • General scenarios

AP

Sta Sta Sta

slide-17
SLIDE 17

Energy Consumption Anatomy of 802.11 Devices and its Implication on Modeling and Design

Ok, but...

  • Does it matter?
  • What are the implications?
  • 1. Revisit old proposals based on the

classical model

  • 2. Design of new schemes building on the

detailed anatomy

Cross factor: 37% ~ 97% ∆ energy / frame

slide-18
SLIDE 18

Energy Consumption Anatomy of 802.11 Devices and its Implication on Modeling and Design

10,7 10,8 10,9 11 11,1 11,2 11,3 11,4 11,5 11,6 250 500 750 1000 1250 1500 Power (Watts) 1 hop 2 hops

Old: Packet relays

AP ¡ STA ¡1 ¡ STA ¡2 ¡ 6Mbps ¡ 48Mbps ¡ 48Mbps ¡

Packet Size (B)

Classical ¡

slide-19
SLIDE 19

Energy Consumption Anatomy of 802.11 Devices and its Implication on Modeling and Design

11 11,4 11,8 12,2 12,6 250 500 750 1000 1250 1500 Power (Watts) 1 hop 2 hops Measurement

Old: Packet relays

AP ¡ STA ¡1 ¡ STA ¡2 ¡ 6Mbps ¡ 48Mbps ¡ 48Mbps ¡

New ¡

Packet Size (B) Fwd.

iface iface

slide-20
SLIDE 20

Energy Consumption Anatomy of 802.11 Devices and its Implication on Modeling and Design

  • Group n packets before they transverse

the protocol stack

‒ Fixed energy cost per bundle ‒ Same information over the medium

New: Packet batching

slide-21
SLIDE 21

Energy Consumption Anatomy of 802.11 Devices and its Implication on Modeling and Design

New: Packet batching

  • Substantial

savings (~80%)

  • No savings

according to the classical model

slide-22
SLIDE 22

Energy Consumption Anatomy of 802.11 Devices and its Implication on Modeling and Design

  • Data compression in multihop

‒ Old model: savings ‒ New model: not

  • Directed Multicast

‒ Where to generate frames

  • Use of raw sockets

‒ E.g., skipping TCP/IP: 0.2 mJ/frame

Other implications

App.

iface

TCP Driver App.

slide-23
SLIDE 23

Energy Consumption Anatomy of 802.11 Devices and its Implication on Modeling and Design

Summary

  • Per-packet analysis of the energy

consumption of a wireless device

‒ Parametrized for various devices

  • Characterization of the cross factor
  • Two-fold impact

‒ Revisit previous schemes ‒ Enable new designs

slide-24
SLIDE 24

Energy Consumption Anatomy of 802.11 Devices and its Implication on Modeling and Design Thanks!