alleviating the effects of mobility on tcp performance signal strength based link management

30
Copyright: UC Riverside lleviating the effects of mobility on TCP Performan Signal Strength based Link Management Fabius Klemm * , Srikanth Krishnamurthy + and Satish Tripathi + , EPFL Lasaunne ,+ University of California, Riversi Paper Presented by Dr.Nitin Vaidya, UIUC Presentation at UCLA on June 6 th , 2002

Upload: mckile

Post on 11-Jan-2016

14 views

Category:

Documents


0 download

DESCRIPTION

Alleviating the effects of mobility on TCP Performance Signal Strength based Link Management Fabius Klemm * , Srikanth Krishnamurthy + and Satish Tripathi + , * EPFL Lasaunne ,+ University of California, Riverside Paper Presented by Dr.Nitin Vaidya, UIUC. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Alleviating the effects of mobility on TCP Performance Signal Strength based Link Management

Copyright: UC Riverside

Alleviating the effects of mobility on TCP PerformanceSignal Strength based Link ManagementFabius Klemm*, Srikanth Krishnamurthy+

and Satish Tripathi+,* EPFL Lasaunne ,+ University of California, Riverside

Paper Presented by Dr.Nitin Vaidya, UIUC

Presentation at UCLA on June 6th , 2002

Page 2: Alleviating the effects of mobility on TCP Performance Signal Strength based Link Management

Copyright: UC Riverside

Outline

• Motivation for Research

•Using Lower Layer Support to improve TCP performance

• Link Failures – True and False

• Signal Strength based methods to help improve TCP goodput

• Preliminary experiments and results

Page 3: Alleviating the effects of mobility on TCP Performance Signal Strength based Link Management

Copyright: UC Riverside

Motivation

• TCP is unable to differentiate between true and false link failures – former due to mobility, latter due to congestion.

• Implement link layer mechanisms that can help:

• Anticipate real link failures by signal strength measurements – preemptively initiate route discovery.

• Reactively increase power level for transmission upon the detection of a real link failure to salvage TCP packets in transit.

• Requires mechanisms for differentiating between true and false link failures.

Page 4: Alleviating the effects of mobility on TCP Performance Signal Strength based Link Management

Copyright: UC Riverside

Source DestinationLink breaks

RERRRERR

Background -- AODV

•Ad hoc On-Demand Distance-Vector

• Route discovered by queries. RERR message sent upon discovery of a link failure.

Page 5: Alleviating the effects of mobility on TCP Performance Signal Strength based Link Management

Copyright: UC Riverside

RTS

CTS

Revisiting the IEEE 802.11 MAC protocol

•RTS – CTS – DATA – ACK

•Solves the hidden and exposed terminal problem in most cases.

Page 6: Alleviating the effects of mobility on TCP Performance Signal Strength based Link Management

Copyright: UC Riverside

•Neighbor within reach•Mac Layer cannot establish RTS/CTS Handshake•Mac Layer reports link break to upper layers

False Link Failure Reports

Page 7: Alleviating the effects of mobility on TCP Performance Signal Strength based Link Management

Copyright: UC Riverside

How come?

1 2 3 4 5DataRTS

• Transmission Range: 250 m• Interference Range: 550 m

4 is sending Data to 51 is sends an RTS to 2

2 does not send a CTS because it senses the transmission of 4

Node 1 gives up after seven times

False link layer report

Page 8: Alleviating the effects of mobility on TCP Performance Signal Strength based Link Management

Copyright: UC Riverside

Objective

• In this preliminary work, we consider sparse scenarios and use a rather naïve approach to differentiating between true and false link failures.

• In reality, more sophisticated techniques might be needed.

Page 9: Alleviating the effects of mobility on TCP Performance Signal Strength based Link Management

Copyright: UC Riverside

300 x 1500 meters

• Distance between TCP source and sink:– about 1530 m or 8.8 hops in average

Simulation Scenario

•50 mobile nodes + 2 static nodes

•1 TCP connection

Page 10: Alleviating the effects of mobility on TCP Performance Signal Strength based Link Management

Copyright: UC Riverside

0

2

4

6

8

10

12

0 4 8 12 16 20

Maximum speed in m/s

Pa

cke

t lo

ss in

%

• Reduce packet losses due to mobility (correct link breaks)• Reduce packet losses due to false link failure reports

Problems to be solved

Page 11: Alleviating the effects of mobility on TCP Performance Signal Strength based Link Management

Copyright: UC Riverside

Low Mobility: False link failures dominateHigh Mobility: Correct link failures dominate

0%

20%

40%

60%

80%

100%

0 4 8 12 16 20

Maximum speed in m/s

Mobility-inducedlink breakages

False link failures

Reasons for packet loss

Page 12: Alleviating the effects of mobility on TCP Performance Signal Strength based Link Management

Copyright: UC Riverside

Neighbor ID Timestamp 1 Distance 1 Timestamp 2 Distance 2

3 4.200 200 4.205 201

• Node computes distance from signal strength – simple model is assumed wherein the attenuation is inversely proportional to the square of the distance.

• The time stamps correspond to the last two instances when the node heard the neighbor.

Each node maintains a Mac layer neighbor table:

Tackling False Link Failures

Page 13: Alleviating the effects of mobility on TCP Performance Signal Strength based Link Management

Copyright: UC Riverside

Tackling False Link Failures

Persistent Mac

–A Node sends RTS packets more than seven times if neighbor is likely to be within transmission range.

– Simple naïve approach.

– Seems to work in the sparse scenarios considered.

– More sophistication may be needed in dense scenarios.

Page 14: Alleviating the effects of mobility on TCP Performance Signal Strength based Link Management

Copyright: UC Riverside

0

2

4

6

8

10

12

0 4 8 12 16 20

Maximum speed in m/s

Pac

ket l

oss

in %

Unchanged Mac

Persistent Mac

Persistent Mac – Packet Loss

Page 15: Alleviating the effects of mobility on TCP Performance Signal Strength based Link Management

Copyright: UC Riverside

0%

20%

40%

60%

80%

100%

0 4 8 12 16 20

Maximum speed in m/s

Mobility-inducedlink breakages

False link failures

Persistent Mac – Link Breakages

Page 16: Alleviating the effects of mobility on TCP Performance Signal Strength based Link Management

Copyright: UC Riverside

0

5

10

15

20

25

30

0 4 8 12 16 20

Maximum speed in m/s

Impr

ovem

ent o

f TC

P

good

put i

n %

Persistent Mac

Persistent Mac - Goodput

Page 17: Alleviating the effects of mobility on TCP Performance Signal Strength based Link Management

Copyright: UC Riverside

0

0.01

0.02

0.03

0.04

0.05

0 4 8 12 16 20

Maximum speed in m/s

TC

P r

etr

an

smis

sio

ns

pe

r d

eliv

ere

d d

ata

pa

cke

t

Unchanged Mac

Persistent Mac

Persistent Mac – TCP Retransmissions

Page 18: Alleviating the effects of mobility on TCP Performance Signal Strength based Link Management

Copyright: UC Riverside

• Salvage in transit packets:

Source DestinationLink breaks

Lost packets due to Mobility

Page 19: Alleviating the effects of mobility on TCP Performance Signal Strength based Link Management

Copyright: UC Riverside

Salvage Packets

•Two Approaches:

1.Proactive: Predict link breakage and stimulate the source to preemptively initiate a route discovery.

2.Reactive: Re-establish a broken link with a temporary higher transmission power level.

Page 20: Alleviating the effects of mobility on TCP Performance Signal Strength based Link Management

Copyright: UC Riverside

T1 T2current

timefuture time

distance

• Mac layer informs routing layer when next hop is almost out of range

Mac Layer: Proactive

•Nodes use neighbor table to predict node movement in the future:

–Simple prediction: Assume linear node movement

Page 21: Alleviating the effects of mobility on TCP Performance Signal Strength based Link Management

Copyright: UC Riverside

Mac Layer: Reactive

• Node raises transmission power temporarily if it cannot establish an RTS/CTS handshake

Page 22: Alleviating the effects of mobility on TCP Performance Signal Strength based Link Management

Copyright: UC Riverside

1 2

RTS

RTS – Frame contains power value

CTS

Node 2 sends CTS with the same power

Same for Data and ACK

Node 2 moves out of range of Node 1

Reactive Mac

Page 23: Alleviating the effects of mobility on TCP Performance Signal Strength based Link Management

Copyright: UC Riverside

•Node 3 is receiving Data from Node 4

Node 2 does not know about the data transferThe high power CTS collides with the Data at Node 3

•Node 1 establishes a high power link

1 2

RTS

CTS

3

Data 4

Problems!

Page 24: Alleviating the effects of mobility on TCP Performance Signal Strength based Link Management

Copyright: UC Riverside

Source Destination

Stop sending!

Stop sending!

Salvaging Packets

•Routing layer informs source to stop sending

•But: Intermediate nodes keep forwarding packets

Page 25: Alleviating the effects of mobility on TCP Performance Signal Strength based Link Management

Copyright: UC Riverside

Salvaging Packets

•Routing Layer

–Three route states:

•Down: no route

•Up: route ok, answer route requests

•Going Down: “weak route”, use only to salvage packets, do not answer route requests! NEW!

Page 26: Alleviating the effects of mobility on TCP Performance Signal Strength based Link Management

Copyright: UC Riverside

0

2

4

6

8

10

12

0 4 8 12 16 20

Maximum speed in m/s

Pa

cke

t lo

ss in

%

Unchanged Mac

Proactive LM

Reactive LM

Combined

Results – Packet Loss

Page 27: Alleviating the effects of mobility on TCP Performance Signal Strength based Link Management

Copyright: UC Riverside

0

10

20

30

40

50

60

0 4 8 12 16 20

Maximum speed in m/s

Imp

rove

me

nt o

f TC

P g

oo

dp

ut

in %

Proactive LM

Reactive LM

Combined

Results - Goodput

Page 28: Alleviating the effects of mobility on TCP Performance Signal Strength based Link Management

Copyright: UC Riverside

0

0.01

0.02

0.03

0.04

0.05

0 4 8 12 16 20

Maximum speed in m/s

TC

P r

etr

an

smis

sio

ns

pe

r d

eliv

ere

d d

ata

pa

cke

t

Unchanged Mac

Proactive LM

Reactive LM

Combined

Results – Retransmissions per transmitted packet

Page 29: Alleviating the effects of mobility on TCP Performance Signal Strength based Link Management

Copyright: UC Riverside

Conclusions & Future Work

• The methods proposed seem to improve TCP performance by as much as 40 % in the scenarios considered.

• The reactive scheme might cause problems in highly congested scenarios – especially when the network is dense.

• More sophisticated methods may be needed to clearly differentiate between link failures due to mobility and congestion.

• A node might need to more intelligently decide upon when to increase its transmission power level.

Page 30: Alleviating the effects of mobility on TCP Performance Signal Strength based Link Management

Copyright: UC Riverside

Thank You