Enhancing TCP Fairness in Ad Hoc Wireless Networks Using - - PowerPoint PPT Presentation

enhancing tcp fairness in ad hoc wireless networks using
SMART_READER_LITE
LIVE PREVIEW

Enhancing TCP Fairness in Ad Hoc Wireless Networks Using - - PowerPoint PPT Presentation

Enhancing TCP Fairness in Ad Hoc Wireless Networks Using Neighborhood RED Kaixin Xu, Mario Gerla University of California, Los Angeles {xkx, gerla}@cs.ucla.edu Lantao Qi, Yantai Shu Tianjin University, Tianjin, China {ltqi, ytshu}@tju.edu.cn


slide-1
SLIDE 1

Enhancing TCP Fairness in Ad Hoc Wireless Networks Using Neighborhood RED

Kaixin Xu, Mario Gerla University of California, Los Angeles {xkx, gerla}@cs.ucla.edu Lantao Qi, Yantai Shu Tianjin University, Tianjin, China {ltqi, ytshu}@tju.edu.cn

*This work was supported in part by Office of Naval Research (ONR) "MINUTEMAN“ project under contract N00014-01-C-0016 and TRW under a Graduate Student Fellowship *This research was supported in part by the National Natural Science Foundation of China (NSFC) under grant No. 90104015.

slide-2
SLIDE 2

2

Motivation

TCP is important in ad hoc network applications

Reliable transfer of data/image files and multimedia

streaming

Congestion protection Efficient utilization and fair share of the resources

However, TCP has shown unfair behavior in ad hoc nets

slide-3
SLIDE 3

3

TCP Unfairness in Ad Hoc Networks

Fairness index in wireless networks

Weighted MaxMin Fairness Index

Weight(i) = # of flows that compete with

flow i (including itself)

  • Simulation in QualNet simulator
  • 3 TCP flows contending with each other
  • Weight of 3 flows, 2:3:2

FTP 1 FTP 2 FTP 3 (100, 100) (600, 100) (350, 350) (350, 700) (0, 700) (350, 1050) (100, 1300) (600, 1300) (700, 700)

( ) ( ) ( ) ( ) ( ) ( )

              =

∑ ∑

= = 2 1 2 1

,

n i i i n i i i

t X t W n t X t w t X F

slide-4
SLIDE 4

4

Significant TCP Unfairness

  • Three flow example
  • Flow 2 is nearly starved
  • Original RED fails to improve the fairness
  • Weighted Fairness Index = 0.67
slide-5
SLIDE 5

5

Why RED Does Not Work?

Why RED does not work in ad hoc networks?

Congestion simultaneously affects multiple queues Queue at a single node cannot completely reflect the

state

Extend RED to the entire congested area –

Neighborhood of the node

Random Early Detection (RED)

Active queue management scheme

( )

q w avg w avg

q q

∗ + ∗ − = 1

Average queue size: Drop probability: , proportional to buffer

  • ccupancy

th th th p avg

b

p

min max ) min ( max − −

=

slide-6
SLIDE 6

6

Neighborhood and Its Distributed Queue

A node’s neighborhood

consists of the node itself and the nodes which can interfere with this node’s signal

1-hop neighbors directly

interfere

2-hop neighbors may interfere

Queue size of the

neighborhood reflects the degree of local network congestion

A 1 5 3 4 2 6 7 9

10 12 11

8

slide-7
SLIDE 7

7

Simplified Neighborhood Queue Model

2-hop neighborhood queue

model is not easy to operate

Too much overhead to propagate

queue values 2 hops away

Simplified model

Only include 1-hop neighbors Two queues at each neighbor:

Outgoing queue “ Incoming queue” = # CTS packets

  • verheard by A

Distributed neighborhood queue

– the aggregate of these local queues

A 1 5 3 4 2 6 Outgoing Queue Incoming Queue

slide-8
SLIDE 8

8

Characteristics of Neighborhood Queue

Consists of multiple queues located at the neighboring

nodes

Not a FIFO queue due to location dependency Transmission order of sub-queues may change

dynamically due to

Topology changes Traffic pattern changes

TCP flows sharing the same neighborhood may get

different feedbacks in terms of packet delay and loss rate

slide-9
SLIDE 9

9

Neighborhood Random Early Detection (NRED)

Extending RED to the distributed neighborhood queue Key Problems

Counting the size of the distributed neighborhood queue Calculating proper packet drop probability at each node

Components of Neighborhood RED

Neighborhood Congestion Detection (NCD) Neighborhood Congestion Notification (NCN) Distributed Neighborhood Packet Drop (DNPD)

slide-10
SLIDE 10

10

Direct way: Announce queue size upon changes

Too much overhead, exacerbates congestion

Our method: Indirectly estimate an index of instant

queue size by monitoring wireless channel

Neighborhood Congestion Detection

Average queue size is calculated

using RED’s alg.

Congestion: queue size exceeds the

minimal threshold

erval sampling time busy channel Ubusy int − − − =

Channel utilization ratio Queue size index , K is a constant

busy

U K q * =

A 1 5 3 4 2 6 Outgoing Queue Incoming Queue

Channel busy CTS

slide-11
SLIDE 11

11

Neighborhood Congestion Notification & Distributed Neighborhood Packet Drop

Neighborhood Congestion Notification

Congested node computes drop probability following

RED’s alg.

It broadcasts the drop probability to all neighbors

Distributed Neighborhood Packet Drop

Neighborhood Drop Prob = Max of all drop

probabilities heard from neighbors

slide-12
SLIDE 12

12

Verification of Queue Size Estimation

Estimating Node5’s neighborhood

queue size index

Get real queue size by recording

queue size at all nodes

1 2 3 4 5 6 7 8 9

(0,0) (350,0) (700,0) (0,350) (350,350) (700,350) (0,700) (350,700) (700,700)

TCP 1 TCP 2 TCP 3 TCP 4 TCP 5 TCP 6

FTP Traffic HTTP Traffic

slide-13
SLIDE 13

13

Parameter Tuning: Scenarios

QualNet simulator Basic but typical scenarios

Hidden terminal situations Exposed terminal situations

Configuration parameters

Minimum threshold & Maximum threshold

Set to 100 and 240 based on previous experiment

Vary the maximum packet drop probability (maxp)

FTP 2

1 2 3 4

FTP 1

(100, 0) (100, 350) (100, 700) (100, 1050)

FTP 2

1 2 3 4

FTP 1

(100, 0) (100, 350) (100, 700) (100, 1050)

Hidden Terminal Exposed Terminal

slide-14
SLIDE 14

14

Parameter Tuning: Hidden Terminal Scenario

Weighted fairness index Instantaneous throughput: , here denotes the

data successfully received during time period

t t

D t X ∆ = ) (

t

] [

t

t t ∆ + →

Fairness index Aggregated throughput

slide-15
SLIDE 15

15

Parameter Tuning: Exposed Terminal Scenario

Fairness index Instant throughput W/ maxp = 0.14 Aggregated throughput

slide-16
SLIDE 16

16

Performance Evaluation: Simple Scenario

Both long-term and short-term

fairness is achieved

Loss of aggregated throughput

Tradeoff between fairness and throughput Channel is not fully utilized

Overall Throughput Instantaneous Throughput

FTP 1 FTP 2 FTP 3 (100, 100) (600, 100) (350, 350) (350, 700) (0, 700) (350, 1050) (100, 1300) (600, 1300) (700, 700)

slide-17
SLIDE 17

17

Performance Evaluation: Multiple Congested Neighborhood

Multiple congested neighborhoods FTP2 & FTP 5 have more competing flows, are more

likely to be starved

Overall Throughput

FTP 1 FTP 2 FTP 3 FTP 4 FTP 5 FTP 6

slide-18
SLIDE 18

18

Performance Evaluation: Mobility

Node 5 moves up and down

Moving Up: two flow interfere with each Moving down: No much interference

NRED can adapt to mobility

With NRED

Node 5 moving up and down FTP 1 1 2 3 FTP 2 4 6 5

(0, 0) (200, 150) (400, 0) (0, 650) (200, 600) (400, 650)

5'

(200, 400)

Without NRED

slide-19
SLIDE 19

19

Performance Evaluation: Realistic Scenario

50 nodes randomly deployed in 1000mX1000m field 5 FTP/TCP connections are randomly selected AODV routing No mobility

slide-20
SLIDE 20

20

Conclusions

Significant TCP unfairness has been found and

reported in ad hoc networks

NRED is a network layer solution

Easy to implement Incremental deployment

Major Contributions

Model of neighborhood queue

Distributed neighborhood queue Not FIFO, different and dynamic priorities

Network layer solution for enhancing TCP fairness in

ad hoc networks

slide-21
SLIDE 21

21

Thanks!