18
Energy efficient transport-layer protocol over wireless networks by burst transmission Go Hasegawa Osaka University, Japan This slidesis based on the presentation of the following paper: Masafumi Hashimoto, Go Hasegawa and Masayuki Murata, Energy Efficiency Analysis of TCP with Burst Transmission over a Wireless LAN, in Proceedings of IEEE ISCIT 2011, October 2011.

Energy efficient transport-layer protocol over … › ~hasegawa › PONET_FILES › osaka-u.pdfEnergy efficient transport-layer protocol over wireless networks by burst transmission

  • Upload
    others

  • View
    0

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Energy efficient transport-layer protocol over … › ~hasegawa › PONET_FILES › osaka-u.pdfEnergy efficient transport-layer protocol over wireless networks by burst transmission

Energy efficient transport-layer protocol over wireless networks by burst transmission

Go Hasegawa Osaka University, Japan

This slidesis based on the presentation of the following paper:

Masafumi Hashimoto, Go Hasegawa and Masayuki Murata, Energy Efficiency Analysis of TCP with Burst Transmission over a Wireless LAN, in Proceedings of IEEE ISCIT 2011, October 2011.

Page 2: Energy efficient transport-layer protocol over … › ~hasegawa › PONET_FILES › osaka-u.pdfEnergy efficient transport-layer protocol over wireless networks by burst transmission

Background

•  Accessing the Internet by using mobile devices is becoming common situations –  Laptops, tablet PCs, smartphones

•  Mobile devices are battery-driven •  Wireless communications of a mobile device can

account for about 10% to 50% of its total power consumption [1]

2011/11/28 WINLAB workshop 2011 2

It is important for lengthening battery’s lifetime to save energy in the wireless communications

[1] Atheros Communications, “Power consumption and energy efficiency comparisons of wlan products.” Atheros White Papers, May 2003.

Page 3: Energy efficient transport-layer protocol over … › ~hasegawa › PONET_FILES › osaka-u.pdfEnergy efficient transport-layer protocol over wireless networks by burst transmission

Impact of TCP behavior for energy consumption

3

How do we save energy effectively?

Energy efficiency depends on when and how long a wireless client stays at sleep mode Timings of packet transmission and reception depend on the behavior of transport-layer protocols used by upper-layer applications

We should understand the behavior of transport-layer protocols for effective energy saving

Energy consumption model for a mobile device in TCP data transfer [9]

To further save energy, we should reduce the number of state transitions between active and sleep modes

active

sleep

Packet

active

sleep

2011/11/28 WINLAB workshop 2011 M. Hashimoto, G. Hasegawa, and M. Murata, “Modeling and analysis of power consumption in TCP data transmission over a wireless LAN environment,” in Proceedings of GreenComm 2011, June 2011.

Page 4: Energy efficient transport-layer protocol over … › ~hasegawa › PONET_FILES › osaka-u.pdfEnergy efficient transport-layer protocol over wireless networks by burst transmission

Objectives of this work

1.  Construct an energy consumption model of burst transmission in TCP data transfer by extending the model in [9]

2.  Show energy efficiency of burst transmission through numerical results

2011/11/28 WINLAB workshop 2011 4

Energy efficiency analysis of TCP-level burst transmission by using energy consumption models

Main idea

Introduce TCP-level burst transmission that transmit multiple data segments consecutively to lengthen each idle duration

[9] M. Hashimoto, G. Hasegawa, and M. Murata, “Modeling and analysis of power consumption in TCP data transmission over a wireless LAN environment,” in Proceedings of GreenComm 2011, June 2011.

Page 5: Energy efficient transport-layer protocol over … › ~hasegawa › PONET_FILES › osaka-u.pdfEnergy efficient transport-layer protocol over wireless networks by burst transmission

Network model and assumptions for medlling

5

802.11 WLAN

Mobile device Access point (AP) Wired host

TCP data stream

TCP ACK stream

wired network

We model energy consumption of a mobile device in upstream TCP data transfer over WLAN

Assumptions

•  Consider TCP bulk data transfer •  Timings of packet transmission and reception are determined by the

behavior of TCP congestion control mechanisms, and TCP knows these timings

•  Frame collision does not occur in the WLAN, so no frames are lost at the MAC level

•  Data segments are lost by congestion in the wired networks, but ACK segments are not lost

2011/11/28 WINLAB workshop 2011

Page 6: Energy efficient transport-layer protocol over … › ~hasegawa › PONET_FILES › osaka-u.pdfEnergy efficient transport-layer protocol over wireless networks by burst transmission

Reception of TCP-ACK segment

TCP level

TCP congestion window

The number of packets sent and received in an RTT is determined by the TCP congestion window size

Structure of energy consumption models

6

time

Time series of packet transmission/reception on a mobile device Transmission of TCP-DATA segment

CTS ACK

RTS

DATA

AP

Mobile device Frame exchange of CSMA/CA

Based on frame exchanges of CSMA/CA, we calculate energy consumption of transmission and reception of one data frame

MAC level 1 RTT 1 RTT

Our model is a mixture of the MAC-level model and the TCP-level model

2011/11/28 WINLAB workshop 2011

Page 7: Energy efficient transport-layer protocol over … › ~hasegawa › PONET_FILES › osaka-u.pdfEnergy efficient transport-layer protocol over wireless networks by burst transmission

Ideal sleeping with burst transmission

7

1 RTT time

active sleep time

Reducing the number of state transitions is effective for energy saving

Transmission of TCP-DATA segment Reception of TCP-ACK segment time

1 RTT

time

active sleep

Normal TCP

Burst Transmission

Total sleep duration is almost equal

Frequent state transitions degrade energy reduction of sleeping because they consume some energy and take some time

Burst transmission can be realized by varying the parameter of delayed ACK

2011/11/28 WINLAB workshop 2011

Page 8: Energy efficient transport-layer protocol over … › ~hasegawa › PONET_FILES › osaka-u.pdfEnergy efficient transport-layer protocol over wireless networks by burst transmission

Energy consumption of burst transmission

2011/11/28 WINLAB workshop 2011 8

JTD(m) =E[Y ]J t+(E[Nstd]�E[W ]/2)Jr

+ P sE[T std] + E[Ns

td](PasT as + P saT sa)

+ P l�E[A]�E[Y ]T t�(E[Ns

td]�E[W ]/2)T r�E[T std]�E[Ns

td](Tas+T sa)

1 RTT time

active sleep time

Energy consumption with burst transmission in congestion avoidance phase

Energy consumption for packet transmission

Energy consumption for packet reception

Energy consumption for state transitions

Energy consumption in sleep mode Energy consumption in idle mode

Energy consumption of each state can be calculated by multiplying power consumption and duration of each state

Page 9: Energy efficient transport-layer protocol over … › ~hasegawa › PONET_FILES › osaka-u.pdfEnergy efficient transport-layer protocol over wireless networks by burst transmission

Increase in transmission delay by TCP delayed ACK

9

802.11 WLAN

Mobile device Access point Wired host

Wired network

delay

Without delayed ACK

With delayed ACK

RTT

RTT

Burst transmission can cause an additional delay

ˆRTT (m) = RTT + (m� 1)RTT

E[W ]

RTT observed at the TCP sender with burst transmission

Average time for a wireless client to receive one data segment

The TCP receiver waits to send the ACK segment from receiving the first data segment until receiving

the final data segment. This causes some delay

2011/11/28 WINLAB workshop 2011

Page 10: Energy efficient transport-layer protocol over … › ~hasegawa › PONET_FILES › osaka-u.pdfEnergy efficient transport-layer protocol over wireless networks by burst transmission

Numerical analysis – Parameter settings

2011/11/28 WINLAB workshop 2011 10

802.11 WLAN

Mobile device Access point (AP) Wired host

wired network

1 MB

Parameter settings

Transmit Receive Listen Sleep

1.4 W 0.9 W 0.8 W 0.16 W

Power consumption of a WNIC [14]

Transition time from sleep to active: 1ms Power consumption from sleep to active: 1.4 W

[14] Wistron NeWeb Corp., “CM9: WLAN 802.11 a/b/g mini-PCI Module.” available at microcom.us/CM9.pdf.

• Data size: 1 MB •  IEEE 802.11a

• Data rate: 54 Mbps • Data segment size: 1500 bytes •  ACK segment size: 40 bytes

5ms – 100ms

We calculate energy consumption for 1 MB data transfer when changing in RTT and probability (p) of packet drop events in the wired network

Page 11: Energy efficient transport-layer protocol over … › ~hasegawa › PONET_FILES › osaka-u.pdfEnergy efficient transport-layer protocol over wireless networks by burst transmission

Numerical results – Energy efficiency

11

0.0001 0.001 0.01 0.1 0

50

100

150

200

0 0.2 0.4 0.6 0.8 1 1.2 1.4

RTT

[ms]

Probability (p) of packet drop events in the wired network

RTT

[ms]

Ideal sleeping without burst transmission Ideal sleeping with burst transmission (m=5)

Energy consumption ratio = energy consumption with sleeping

energy consumption without sleeping

m: the number of packets sent in burst

0.0001 0.001 0.01 0.1 0

50

100

150

200

0 0.2 0.4 0.6 0.8 1 1.2 1.4

Probability (p) of packet drop events in the wired network

When RTT and p are large, energy efficiency is high There is much idle duration for entering sleep mode

As RTT and p become small, energy efficiency decreases Idle duration in which sleep mode can be entered decreases

As RTT and p become further small, energy consumption ratio approaches one sleep mode cannot be entered at any idle duration 2011/11/28 WINLAB workshop 2011

Page 12: Energy efficient transport-layer protocol over … › ~hasegawa › PONET_FILES › osaka-u.pdfEnergy efficient transport-layer protocol over wireless networks by burst transmission

Numerical results – Energy efficiency

12

0.0001 0.001 0.01 0.1 0

50

100

150

200

0 0.2 0.4 0.6 0.8 1 1.2 1.4

RTT

[ms]

0.0001 0.001 0.01 0.1 0

50

100

150

200

0 0.2 0.4 0.6 0.8 1 1.2 1.4

RTT

[ms]

Ideal sleeping without burst transmission Ideal sleeping with burst transmission (m=5)

Energy consumption ratio = energy consumption with sleeping

energy consumption without sleeping

The number of state transitions is large due to large TCP window size

Energy consumption of state transitions becomes large

Burst transmission can reduce the number of state transitions

Energy consumption of state transitions is reduced

m: the number of packets sent in burst

Probability (p) of packet drop events in the wired network

Probability (p) of packet drop events in the wired network

Energy efficiency without burst transmission is very small

Energy efficiency with burst transmission is improved

2011/11/28 WINLAB workshop 2011

Page 13: Energy efficient transport-layer protocol over … › ~hasegawa › PONET_FILES › osaka-u.pdfEnergy efficient transport-layer protocol over wireless networks by burst transmission

Numerical results - trade-off between energy efficiency and data transfer latency

2011/11/28 WINLAB workshop 2011 13

Number (m) of packets sent in burst 0

0.5

1

1.5

2

2.5

2 4 6 8 10 12 14 16 18 20

Energy consumption

Ene

rgy

cons

umpt

ion

[J]

p: probability of packet drop events in the wired network

p=0.01, RTT=100ms

p=0.005, RTT=100ms

p=0.005, RTT=50ms

As m becomes large, energy consumption converges to a certain value

The value of m should be chosen between one and about five according to requirements of users or applications for energy efficiency and acceptable latency

0

2

4

6

8

10

12

2 4 6 8 10 12 14 16 18 20

Data transfer latency

Dat

a tra

nsfe

r lat

ency

[sec

]

p=0.01, RTT=100ms

p=0.005, RTT=100ms

p=0.005, RTT=50ms

As m becomes large, data transfer latency increases linearly

Number (m) of packets sent in burst

Page 14: Energy efficient transport-layer protocol over … › ~hasegawa › PONET_FILES › osaka-u.pdfEnergy efficient transport-layer protocol over wireless networks by burst transmission

Conclusion and future work

Conclusion •  We proposed the energy consumption model in TCP

data transfer over a WLAN –  Introduce burst transmission for effective energy saving

•  From numerical results, –  With burst transmission, we can can save energy by up to

50% –  Considering trade-off between energy efficiency and data

transfer latency, the number of packets sent in burst should be chosen between one to about five

Future work •  multiple TCP connections •  multiple wireless clients •  Develop a transport/datalink protocols for energy

saving based on burst transmission

2011/11/28 WINLAB workshop 2011 14

Page 15: Energy efficient transport-layer protocol over … › ~hasegawa › PONET_FILES › osaka-u.pdfEnergy efficient transport-layer protocol over wireless networks by burst transmission

Ideal sleeping with burst transmission

15

How to realize TCP-level burst transmission

Burst transmission can be realized by varying the parameter of delayed ACK

2011/11/28 WINLAB workshop 2011

802.11 WLAN

Mobile device Access point Wired host

Wired network

With delayed ACK

802.11 WLAN

Mobile device Access point Wired host

Wired network

Without delayed ACK

The TCP receiver sends one ACK segment every data

segment reception

Page 16: Energy efficient transport-layer protocol over … › ~hasegawa › PONET_FILES › osaka-u.pdfEnergy efficient transport-layer protocol over wireless networks by burst transmission

2011/11/28 WINLAB workshop 2011 16

Ideal sleeping with burst transmission

How to realize TCP-level burst transmission

802.11 WLAN

Mobile device Access point Wired host

Wired network

With delayed ACK

802.11 WLAN

Mobile device Access point Wired host

Wired network

Without delayed ACK

When the TCP sender received the ACK segment, it can send new data segments in a

bursty fashion

When delayed ACK is used, the TCP receiver sends one ACK

segment after it received multiple data segments

Burst transmission can be realized by varying the parameter of delayed ACK

Page 17: Energy efficient transport-layer protocol over … › ~hasegawa › PONET_FILES › osaka-u.pdfEnergy efficient transport-layer protocol over wireless networks by burst transmission

2011/11/28 WINLAB workshop 2011 17

0.0001 0.001 0.01 0.1 0

50

100

150

200

0 0.2 0.4 0.6 0.8 1 1.2 1.4

RTT

[ms]

Probability of packet drop events in the wired network

0.0001 0.001 0.01 0.1 0

50

100

150

200

0 0.2 0.4 0.6 0.8 1 1.2 1.4

RTT

[ms]

Ideal sleeping without burst transmission Ideal sleeping with burst transmission (m=5)

Energy consumption ratio = energy consumption with sleeping

energy consumption without sleeping

Ideal sleeping with and without burst transmission are almost identical When RTT is large, energy consumption of state transitions is relatively small and that accounts for only a small portion of total energy consumption

Probability of packet drop events in the wired network

Numerical results – Energy efficiency

m: the number of packets sent consecutively

Page 18: Energy efficient transport-layer protocol over … › ~hasegawa › PONET_FILES › osaka-u.pdfEnergy efficient transport-layer protocol over wireless networks by burst transmission

Acknowledgement

•  This study is financially supported by NICT, Japan, under the project “New generation network R&D program for innovative network virtualization platform and its application.”

2011/11/28 WINLAB workshop 2011 18