cara: collision-aware rate adaptation for ieee 802.11 wlans j.kim, s. kim, s. choi and d.qiao...

39
CARA: Collision- CARA: Collision- Aware Rate Aware Rate Adaptation for Adaptation for IEEE 802.11 WLANs IEEE 802.11 WLANs J.Kim, S. Kim, S. Choi and D.Qiao J.Kim, S. Kim, S. Choi and D.Qiao INFOCOM 2006 INFOCOM 2006 Barcelona, Spain Barcelona, Spain Presenter - Bob Kinicki Presenter - Bob Kinicki Advanced Computer Networks Advanced Computer Networks Fall 2007 Fall 2007

Post on 21-Dec-2015

217 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: CARA: Collision-Aware Rate Adaptation for IEEE 802.11 WLANs J.Kim, S. Kim, S. Choi and D.Qiao INFOCOM 2006 Barcelona, Spain Presenter - Bob Kinicki Advanced

CARA: Collision-CARA: Collision-Aware Rate Aware Rate

Adaptation forAdaptation forIEEE 802.11 WLANsIEEE 802.11 WLANs

J.Kim, S. Kim, S. Choi and D.QiaoJ.Kim, S. Kim, S. Choi and D.QiaoINFOCOM 2006INFOCOM 2006

Barcelona, SpainBarcelona, Spain

Presenter - Bob KinickiPresenter - Bob Kinicki

Advanced Computer Advanced Computer NetworksNetworksFall 2007Fall 2007

Page 2: CARA: Collision-Aware Rate Adaptation for IEEE 802.11 WLANs J.Kim, S. Kim, S. Choi and D.Qiao INFOCOM 2006 Barcelona, Spain Presenter - Bob Kinicki Advanced

Advanced Networks Fall 2007 - Advanced Networks Fall 2007 - CARACARA

22 Advanced Networks Fall 2007 - Advanced Networks Fall 2007 - CARACARA

22

OutlineOutline• Background• Related Work– ARF– RBAR

• CARA (Collision Aware Rate Adaptation)– RTS Probing– CCA Detection

• Simulated Performance Results• Conclusions and Comments

Page 3: CARA: Collision-Aware Rate Adaptation for IEEE 802.11 WLANs J.Kim, S. Kim, S. Choi and D.Qiao INFOCOM 2006 Barcelona, Spain Presenter - Bob Kinicki Advanced

Advanced Networks Fall 2007 - Advanced Networks Fall 2007 - CARACARA3333

Infrastructure WLANInfrastructure WLAN

AccessPoint

client

client

clientclient

InternetInternet

Page 4: CARA: Collision-Aware Rate Adaptation for IEEE 802.11 WLANs J.Kim, S. Kim, S. Choi and D.Qiao INFOCOM 2006 Barcelona, Spain Presenter - Bob Kinicki Advanced

Advanced Networks Fall 2007 - Advanced Networks Fall 2007 - CARACARA

4444

Basic CSMA/CA Basic CSMA/CA

[N. Kim]

possiblepossible collision !!collision !!

Page 5: CARA: Collision-Aware Rate Adaptation for IEEE 802.11 WLANs J.Kim, S. Kim, S. Choi and D.Qiao INFOCOM 2006 Barcelona, Spain Presenter - Bob Kinicki Advanced

Advanced Networks Fall 2007 - Advanced Networks Fall 2007 - CARACARA

55

Physical Layer Overhead

[N. Kim]

Page 6: CARA: Collision-Aware Rate Adaptation for IEEE 802.11 WLANs J.Kim, S. Kim, S. Choi and D.Qiao INFOCOM 2006 Barcelona, Spain Presenter - Bob Kinicki Advanced

Advanced Networks Fall 2007 - Advanced Networks Fall 2007 - CARACARA

6666

Node ContentionNode Contention

[N. Kim]

without RTS/CTS

Page 7: CARA: Collision-Aware Rate Adaptation for IEEE 802.11 WLANs J.Kim, S. Kim, S. Choi and D.Qiao INFOCOM 2006 Barcelona, Spain Presenter - Bob Kinicki Advanced

Advanced Networks Fall 2007 - Advanced Networks Fall 2007 - CARACARA

7777

Rate Adaptation versus Rate Adaptation versus DistanceDistance

Page 8: CARA: Collision-Aware Rate Adaptation for IEEE 802.11 WLANs J.Kim, S. Kim, S. Choi and D.Qiao INFOCOM 2006 Barcelona, Spain Presenter - Bob Kinicki Advanced

Advanced Networks Fall 2007 - Advanced Networks Fall 2007 - CARACARA

8888

UnfairnessUnfairness

[Choi]

Page 9: CARA: Collision-Aware Rate Adaptation for IEEE 802.11 WLANs J.Kim, S. Kim, S. Choi and D.Qiao INFOCOM 2006 Barcelona, Spain Presenter - Bob Kinicki Advanced

Advanced Networks Fall 2007 - Advanced Networks Fall 2007 - CARACARA9999

Multiple APsmultiple clients (heterogeneous)

AccessPoint client

clientclient

client

AccessPoint

client

clientclient

client

Page 10: CARA: Collision-Aware Rate Adaptation for IEEE 802.11 WLANs J.Kim, S. Kim, S. Choi and D.Qiao INFOCOM 2006 Barcelona, Spain Presenter - Bob Kinicki Advanced

Advanced Networks Fall 2007 - Advanced Networks Fall 2007 - CARACARA

10101010

Hidden TerminalsHidden Terminals

[Wong]

Without a hidden terminal, loss ratio ~5.5%.

One hidden AP with mild sending rate

(0.379 Mbps) yields:

Page 11: CARA: Collision-Aware Rate Adaptation for IEEE 802.11 WLANs J.Kim, S. Kim, S. Choi and D.Qiao INFOCOM 2006 Barcelona, Spain Presenter - Bob Kinicki Advanced

Advanced Networks Fall 2007 - Advanced Networks Fall 2007 - CARACARA

11111111

RTS/CTS SummaryRTS/CTS Summary

• RTS/CTS can reduce collisions.

• RTS/CTS can guard against and reduce hidden terminals.

• RTS/CTS adds overhead that reduces throughput.

• Normally, RTS/CTS is turned off!

Page 12: CARA: Collision-Aware Rate Adaptation for IEEE 802.11 WLANs J.Kim, S. Kim, S. Choi and D.Qiao INFOCOM 2006 Barcelona, Spain Presenter - Bob Kinicki Advanced

Advanced Networks Fall 2007 - Advanced Networks Fall 2007 - CARACARA

1212

Rate Adaptation Algorithms

1212

• AARF ARF AMRR

• CARA CROAR DOFRA

• Fast-LA HRC LA

• LD-ARF MiSer MultiRateRetry

• MPDU OAR ONOE

• PER RBAR RFT

• RRAA SampleRate SwissRA

Page 13: CARA: Collision-Aware Rate Adaptation for IEEE 802.11 WLANs J.Kim, S. Kim, S. Choi and D.Qiao INFOCOM 2006 Barcelona, Spain Presenter - Bob Kinicki Advanced

Advanced Networks Fall 2007 - Advanced Networks Fall 2007 - CARACARA

13131313

Rate Adaptation Algorithms1997 ARF1998199920002001 RBAR2002 MPDU OAR PER2003 LA MiSer SwissRA2004 AARF AMRRHRC MultiRateRetry2005 Fast-LA LD-ARF RFT SampleRate2006 CARA CROAR DOFRA RRAA2007

Page 14: CARA: Collision-Aware Rate Adaptation for IEEE 802.11 WLANs J.Kim, S. Kim, S. Choi and D.Qiao INFOCOM 2006 Barcelona, Spain Presenter - Bob Kinicki Advanced

Advanced Networks Fall 2007 - Advanced Networks Fall 2007 - CARACARA

1414

Rate Adaptation Algorithms

1414

Uses recent history and probes: ARF, AARF, SampleRate

Long interval smoothing: ONOE, SampleRateMultiple rates: MultiRateRetry, AMRR, RRAAUses RTS/CTS: RBAR, OAR, CROAR, CARAUses RSSI to approximate SNR, each node maintains

12 dynamic RSS thresholds: LAPuts checksum on header and use NACK to signal link

loss error: LD-ARFTable lookup with thresholds:

HRC,MPDU(len,rSNR,count)Fragmentation: DOFRA, RFT Miscellaneous: PER, MiSer, SwissRA, Fast-LA

Page 15: CARA: Collision-Aware Rate Adaptation for IEEE 802.11 WLANs J.Kim, S. Kim, S. Choi and D.Qiao INFOCOM 2006 Barcelona, Spain Presenter - Bob Kinicki Advanced

Advanced Networks Fall 2007 - Advanced Networks Fall 2007 - CARACARA

15151515

ARF AlgorithmARF Algorithm• If two consecutive ACK frames are not

received correctly, the second retry and subsequent transmissions are done at a lower rate and a timer is started.

• When the number of successfully received ACKs reaches 10 or the timer goes off, a probe frame is sent at the next higher rate. However, if an ACK is NOT received for this frame, the rate is lowered back and the timer is restarted.

Page 16: CARA: Collision-Aware Rate Adaptation for IEEE 802.11 WLANs J.Kim, S. Kim, S. Choi and D.Qiao INFOCOM 2006 Barcelona, Spain Presenter - Bob Kinicki Advanced

Advanced Networks Fall 2007 - Advanced Networks Fall 2007 - CARACARA

16161616

ARF and AARFARF and AARF

Page 17: CARA: Collision-Aware Rate Adaptation for IEEE 802.11 WLANs J.Kim, S. Kim, S. Choi and D.Qiao INFOCOM 2006 Barcelona, Spain Presenter - Bob Kinicki Advanced

Advanced Networks Fall 2007 - Advanced Networks Fall 2007 - CARACARA

17171717

RBAR AlgorithmRBAR Algorithm• {not 802.11 compatible}• Receivers control sender’s transmission

rate.• RTS and CTS are modified to contain info on

size and rate.• Uses analysis of RTS reception (RSSI?) to

estimate SNR and send choice back to sender in CTS.

• Receiver picks rate based on apriori SNR thresholds.

Page 18: CARA: Collision-Aware Rate Adaptation for IEEE 802.11 WLANs J.Kim, S. Kim, S. Choi and D.Qiao INFOCOM 2006 Barcelona, Spain Presenter - Bob Kinicki Advanced

Advanced Networks Fall 2007 - Advanced Networks Fall 2007 - CARACARA

1818

Collision Aware Rate Collision Aware Rate Adaptation (CARA)Adaptation (CARA)

• Employs two methods for identifying collisions:1. RTS Probing2. Clear Channel Assessment (CCA)

• Focuses on when to decrease the transmission rate.Set Mth , the consecutive increase threshold,

to the same value as ARF:

Mth = 10.

1818

Page 19: CARA: Collision-Aware Rate Adaptation for IEEE 802.11 WLANs J.Kim, S. Kim, S. Choi and D.Qiao INFOCOM 2006 Barcelona, Spain Presenter - Bob Kinicki Advanced

Advanced Networks Fall 2007 - Advanced Networks Fall 2007 - CARACARA

19191919

CARA RTS ProbingCARA RTS Probing

• Assumes all RTS transmission failures are due to collisions.

• Transmission failure after RTS/CTS must be due to channel errors.

• RTS probing that enables an RTS/CTS exchange ONLY when a data frame transmission fails.

Page 20: CARA: Collision-Aware Rate Adaptation for IEEE 802.11 WLANs J.Kim, S. Kim, S. Choi and D.Qiao INFOCOM 2006 Barcelona, Spain Presenter - Bob Kinicki Advanced

Advanced Networks Fall 2007 - Advanced Networks Fall 2007 - CARACARA

2020

RTS Probing State RTS Probing State DiagramDiagram

2020

Page 21: CARA: Collision-Aware Rate Adaptation for IEEE 802.11 WLANs J.Kim, S. Kim, S. Choi and D.Qiao INFOCOM 2006 Barcelona, Spain Presenter - Bob Kinicki Advanced

Advanced Networks Fall 2007 - Advanced Networks Fall 2007 - CARACARA

2121

RTS ProbingRTS Probing

2121

Page 22: CARA: Collision-Aware Rate Adaptation for IEEE 802.11 WLANs J.Kim, S. Kim, S. Choi and D.Qiao INFOCOM 2006 Barcelona, Spain Presenter - Bob Kinicki Advanced

Advanced Networks Fall 2007 - Advanced Networks Fall 2007 - CARACARA

22222222

RTS ProbingRTS ProbingCARA default: [Pth = 1, Nth = 2]• Data frame transmitted without

RTS/CTS.• If the transmission fails, RTS/CTS

exchange is activated for the next retransmission. If this retransmission fails, then the rate is lowered.

• If retransmission is successful, stay at same rate and send next frame without RTS/CTS.

Page 23: CARA: Collision-Aware Rate Adaptation for IEEE 802.11 WLANs J.Kim, S. Kim, S. Choi and D.Qiao INFOCOM 2006 Barcelona, Spain Presenter - Bob Kinicki Advanced

Advanced Networks Fall 2007 - Advanced Networks Fall 2007 - CARACARA

2323

ARF vs RTS Probing

t1 < t2

Page 24: CARA: Collision-Aware Rate Adaptation for IEEE 802.11 WLANs J.Kim, S. Kim, S. Choi and D.Qiao INFOCOM 2006 Barcelona, Spain Presenter - Bob Kinicki Advanced

Advanced Networks Fall 2007 - Advanced Networks Fall 2007 - CARACARA

2424

Clear Channel Assessment (CCA)

• At SIFS time after wireless transmission finishes, assess channel with CCA.

• Since ACK expected to start at SIFS, if channel assessed as busy (i.e. not an ACK) then assume it is a collision.

• In this case [Case 2], retransmit without increasing the failure count and without lowering the transmission rate.

• CCA does not help for Case 1 or Case 3. Hence RTS Probing is launched.

Page 25: CARA: Collision-Aware Rate Adaptation for IEEE 802.11 WLANs J.Kim, S. Kim, S. Choi and D.Qiao INFOCOM 2006 Barcelona, Spain Presenter - Bob Kinicki Advanced

Advanced Networks Fall 2007 - Advanced Networks Fall 2007 - CARACARA

25252525

CCA DetectionCCA Detection

This assumes no hidden terminals!

Page 26: CARA: Collision-Aware Rate Adaptation for IEEE 802.11 WLANs J.Kim, S. Kim, S. Choi and D.Qiao INFOCOM 2006 Barcelona, Spain Presenter - Bob Kinicki Advanced

Advanced Networks Fall 2007 - Advanced Networks Fall 2007 - CARACARA

2626

Performance Evaluationusing ns-2 simulator

Simulation Setup:• 802.11b with Frame Error Rate• Ricean multi-path fading model• Traffic is ‘greedy’ 1500 octet UDP packets• CARA-1 :: only RTS Probing• CARA-2 :: RTS Probing + CCA• AWGN (additive white Gaussian noise) model::

– the only impairment is the linear addition of wideband or white noise with a constant spectral density (expressed as watts per hertz of bandwidth) and a Gaussian distribution of amplitude. {Wikipedia}

Page 27: CARA: Collision-Aware Rate Adaptation for IEEE 802.11 WLANs J.Kim, S. Kim, S. Choi and D.Qiao INFOCOM 2006 Barcelona, Spain Presenter - Bob Kinicki Advanced

Advanced Networks Fall 2007 - Advanced Networks Fall 2007 - CARACARA

27272727

One-to-One TopologyOne-to-One Topology

No collisions !!

Page 28: CARA: Collision-Aware Rate Adaptation for IEEE 802.11 WLANs J.Kim, S. Kim, S. Choi and D.Qiao INFOCOM 2006 Barcelona, Spain Presenter - Bob Kinicki Advanced

Advanced Networks Fall 2007 - Advanced Networks Fall 2007 - CARACARA

2828

Star Topology Simulations

• Vary the number of contending stations evenly spaced on a circle with 10 m radius around the AP.

• AWGN wireless channel assumed.

• Note – from Figure 6, stations should be able to transmit at 11 Mbps at 10 m without being significantly effected by environment.

Page 29: CARA: Collision-Aware Rate Adaptation for IEEE 802.11 WLANs J.Kim, S. Kim, S. Choi and D.Qiao INFOCOM 2006 Barcelona, Spain Presenter - Bob Kinicki Advanced

Advanced Networks Fall 2007 - Advanced Networks Fall 2007 - CARACARA

29292929

CARA-1 (with RTS Probing)CARA-1 (with RTS Probing)

Contention is harmful toARF without RTS/CTS

** partially due toperformance anomaly [14]

Page 30: CARA: Collision-Aware Rate Adaptation for IEEE 802.11 WLANs J.Kim, S. Kim, S. Choi and D.Qiao INFOCOM 2006 Barcelona, Spain Presenter - Bob Kinicki Advanced

Advanced Networks Fall 2007 - Advanced Networks Fall 2007 - CARACARA

3030

Line Topology Simulations• Assume a line topology with the AP at one

end.• Contending stations select data frame size

randomly for each frame.• Maximum distance between station and AP

set to 70 meters to guarantee no hidden terminals.

• AWGN wireless channel assumed.• Results in Figure 8 are averaged over 50

simulations.

Page 31: CARA: Collision-Aware Rate Adaptation for IEEE 802.11 WLANs J.Kim, S. Kim, S. Choi and D.Qiao INFOCOM 2006 Barcelona, Spain Presenter - Bob Kinicki Advanced

Advanced Networks Fall 2007 - Advanced Networks Fall 2007 - CARACARA

31313131

CARA-2 (with CCA)CARA-2 (with CCA)

Page 32: CARA: Collision-Aware Rate Adaptation for IEEE 802.11 WLANs J.Kim, S. Kim, S. Choi and D.Qiao INFOCOM 2006 Barcelona, Spain Presenter - Bob Kinicki Advanced

Advanced Networks Fall 2007 - Advanced Networks Fall 2007 - CARACARA

3232

Random Topologies• Nodes randomly placed within circle with 40 m radius centered on AP.• Ricean K factor of 3 dB used to model indoor

environment.Two simulation sets:

1. 50 distinct scenarios each with 10 randomly placed contending stations.

2. Vary the number of contending stations (5 to 20) and average results over 50 random topologies for each number of stations.

Page 33: CARA: Collision-Aware Rate Adaptation for IEEE 802.11 WLANs J.Kim, S. Kim, S. Choi and D.Qiao INFOCOM 2006 Barcelona, Spain Presenter - Bob Kinicki Advanced

Advanced Networks Fall 2007 - Advanced Networks Fall 2007 - CARACARA

3333

10 Random Stations

With Ricean fading,CARA-2 is not always better!

Page 34: CARA: Collision-Aware Rate Adaptation for IEEE 802.11 WLANs J.Kim, S. Kim, S. Choi and D.Qiao INFOCOM 2006 Barcelona, Spain Presenter - Bob Kinicki Advanced

Advanced Networks Fall 2007 - Advanced Networks Fall 2007 - CARACARA

3434

Varying Number of Stations

Page 35: CARA: Collision-Aware Rate Adaptation for IEEE 802.11 WLANs J.Kim, S. Kim, S. Choi and D.Qiao INFOCOM 2006 Barcelona, Spain Presenter - Bob Kinicki Advanced

Advanced Networks Fall 2007 - Advanced Networks Fall 2007 - CARACARA

3535

Adaptability Comparison

Page 36: CARA: Collision-Aware Rate Adaptation for IEEE 802.11 WLANs J.Kim, S. Kim, S. Choi and D.Qiao INFOCOM 2006 Barcelona, Spain Presenter - Bob Kinicki Advanced

Advanced Networks Fall 2007 - Advanced Networks Fall 2007 - CARACARA

3636

Transmission Counts

Page 37: CARA: Collision-Aware Rate Adaptation for IEEE 802.11 WLANs J.Kim, S. Kim, S. Choi and D.Qiao INFOCOM 2006 Barcelona, Spain Presenter - Bob Kinicki Advanced

Advanced Networks Fall 2007 - Advanced Networks Fall 2007 - CARACARA

3737

Conclusions• Two versions of CARA are proposed an

evaluated using ns-2 simulation.• The simulations show that CARA

outperforms ARF in a variety of environments and scenarios.

• CARA uses RTS Probing and CCA to differentiate collisions from transmission failures due to channel errors.

Page 38: CARA: Collision-Aware Rate Adaptation for IEEE 802.11 WLANs J.Kim, S. Kim, S. Choi and D.Qiao INFOCOM 2006 Barcelona, Spain Presenter - Bob Kinicki Advanced

Advanced Networks Fall 2007 - Advanced Networks Fall 2007 - CARACARA

3838

Comments• Authors did not look at modifying the algorithm to

increase the data rate.• Authors assumed hidden terminals were not

possible and simulations were designed to avoid encountering this problem.– Note, RRAA warns of RTS oscillation with hidden

terminals.• Authors plan to implement CARA in the future using

MADWIFI.

Page 39: CARA: Collision-Aware Rate Adaptation for IEEE 802.11 WLANs J.Kim, S. Kim, S. Choi and D.Qiao INFOCOM 2006 Barcelona, Spain Presenter - Bob Kinicki Advanced

CARACARA

Questions and/or

Comments

Thank You !!Thank You !!