explicit and implicit pipelining in wireless mac nitin vaidya university of illinois at...

47
Explicit and Implicit Pipelining in Wireless MAC Nitin Vaidya University of Illinois at Urbana-Champaign [email protected] Joint work with Xue Yang, UIUC

Upload: ferdinand-hodge

Post on 16-Dec-2015

216 views

Category:

Documents


4 download

TRANSCRIPT

Page 1: Explicit and Implicit Pipelining in Wireless MAC Nitin Vaidya University of Illinois at Urbana-Champaign nhv@uiuc.edu Joint work with Xue Yang, UIUC

Explicit and Implicit Pipeliningin Wireless MAC

Nitin Vaidya

University of Illinois at Urbana-Champaign

[email protected]

Joint work with Xue Yang, UIUC

Page 2: Explicit and Implicit Pipelining in Wireless MAC Nitin Vaidya University of Illinois at Urbana-Champaign nhv@uiuc.edu Joint work with Xue Yang, UIUC

Goal

• Improving performance of MAC protocols

Page 3: Explicit and Implicit Pipelining in Wireless MAC Nitin Vaidya University of Illinois at Urbana-Champaign nhv@uiuc.edu Joint work with Xue Yang, UIUC

IEEE 802.11 MAC

• Channel contention resolved using backoff– Nodes choose random backoff interval from [0, CW]– Count down for this interval before transmission

• RTS/CTS handshake before transmission of data packet

Random backoff

Data Transmission/ACKRTS/CTS

Page 4: Explicit and Implicit Pipelining in Wireless MAC Nitin Vaidya University of Illinois at Urbana-Champaign nhv@uiuc.edu Joint work with Xue Yang, UIUC

Inefficiency of IEEE 802.11

• Backoff interval should be chosen appropriately for efficiency

• Backoff interval with 802.11 far from optimum

Page 5: Explicit and Implicit Pipelining in Wireless MAC Nitin Vaidya University of Illinois at Urbana-Champaign nhv@uiuc.edu Joint work with Xue Yang, UIUC

Observation

• Backoff and RTS/CTS handshake are unproductive:

Do not contribute to goodput

Random backoff

Data Transmission/ACKRTS/CTS

Unproductive

Page 6: Explicit and Implicit Pipelining in Wireless MAC Nitin Vaidya University of Illinois at Urbana-Champaign nhv@uiuc.edu Joint work with Xue Yang, UIUC

Pipelining• Two stage pipeline:

1. Random backoff and RTS/CTS handshake

2. Data transmission and ACK

• “Total” pipelining: Resolve contention completely in

stage 1

Random backoff

Data Transmission/ACKRTS/CTS

Stage1 Stage2

Page 7: Explicit and Implicit Pipelining in Wireless MAC Nitin Vaidya University of Illinois at Urbana-Champaign nhv@uiuc.edu Joint work with Xue Yang, UIUC

How to pipeline?

• Use two channels Control Channel: Random backoff and RTS/CTS

handshake Data Channel: Data transmission and ACK

Data Transmission/ACK

Random backoff

RTS/CTSRandom backoff

RTS/CTS RTS/CTSRandom backoff

Data Transmission/ACK

Page 8: Explicit and Implicit Pipelining in Wireless MAC Nitin Vaidya University of Illinois at Urbana-Champaign nhv@uiuc.edu Joint work with Xue Yang, UIUC

Pipelining works well only if two stages are balanced!

Data Transmission/ACK

Random backoff

RTS/CTSRandom backoff

RTS/CTS RTS/CTSRandom backoff

Data Transmission/ACK

Control Channel

Data Channel

Page 9: Explicit and Implicit Pipelining in Wireless MAC Nitin Vaidya University of Illinois at Urbana-Champaign nhv@uiuc.edu Joint work with Xue Yang, UIUC

Difficult to keep the two stages balanced

• Length of stage 1 depends on: Control channel bandwidth The random backoff duration The number of collisions occurred

• Length of stage 2 depends on: Data channel bandwidth The data packet size

Page 10: Explicit and Implicit Pipelining in Wireless MAC Nitin Vaidya University of Illinois at Urbana-Champaign nhv@uiuc.edu Joint work with Xue Yang, UIUC

How much bandwidth does control channel require?

• If small, then – RTS/CTS takes very long time.– Collision detection is slow

• If large, then – The portion of channel bandwidth used for

productive data packet transmission is reduced

Total bandwidth is fixed!

Page 11: Explicit and Implicit Pipelining in Wireless MAC Nitin Vaidya University of Illinois at Urbana-Champaign nhv@uiuc.edu Joint work with Xue Yang, UIUC

Difficulty with Total Pipelining

• The optimum division of channel bandwidth varies with contention level and data packet size

• Performance with inappropriate bandwidth division could be even worse than 802.11 DCF

Page 12: Explicit and Implicit Pipelining in Wireless MAC Nitin Vaidya University of Illinois at Urbana-Champaign nhv@uiuc.edu Joint work with Xue Yang, UIUC

How to get around the issue of bandwidth division ?

Page 13: Explicit and Implicit Pipelining in Wireless MAC Nitin Vaidya University of Illinois at Urbana-Champaign nhv@uiuc.edu Joint work with Xue Yang, UIUC

Partial Pipelining

• Only partially resolve channel contention in stage 1

• Since no need to completely resolve contention, the length of stage 1 can be elastic to match the length of stage 2

Page 14: Explicit and Implicit Pipelining in Wireless MAC Nitin Vaidya University of Illinois at Urbana-Champaign nhv@uiuc.edu Joint work with Xue Yang, UIUC

Modified Two Stage Pipeline

Backoff phase 1 Data/ACK

Stage1 Stage2

RTS/CTSBackoff phase 2

Stage 1: Random backoff phase 1

Stage 2: Random backoff phase 2, RTS/CTS handshake and Data/ACK transmission

Page 15: Explicit and Implicit Pipelining in Wireless MAC Nitin Vaidya University of Illinois at Urbana-Champaign nhv@uiuc.edu Joint work with Xue Yang, UIUC

How to pipeline?

Random backoff phase 1 Random backoff phase 1 Random backoff phase 1

• Still use two channels Narrow Band Busy Tone Channel:

Random backoff phase 1 Data Channel: Random backoff phase 2, RTS/CTS

handshake and Data/ACK

Data/ACKRTS/CTSBackoff phase 2

Data/ACKRTS/CTSBackoff phase 2

Page 16: Explicit and Implicit Pipelining in Wireless MAC Nitin Vaidya University of Illinois at Urbana-Champaign nhv@uiuc.edu Joint work with Xue Yang, UIUC

Random Backoff Phase 1

• Each Station maintains a counter for random backoff phase 1

• The stations, which count to zero first, send a busy tone to claim win in stage 1– Multiple winners are possible

• Other stations know they lost on sensing a busy tone

Page 17: Explicit and Implicit Pipelining in Wireless MAC Nitin Vaidya University of Illinois at Urbana-Champaign nhv@uiuc.edu Joint work with Xue Yang, UIUC

Gain over total pipelining?

• No packets transmitted on busy tone channel bandwidth can be small the difficulty of deciding optimum bandwidth

division in “total pipelining” is avoided

• Length of stage 1 is elastic so the two stages can be kept balanced

Page 18: Explicit and Implicit Pipelining in Wireless MAC Nitin Vaidya University of Illinois at Urbana-Champaign nhv@uiuc.edu Joint work with Xue Yang, UIUC

Benefits of Partial Pipeline

• Only winners of stage 1 can contend channel in stage 2– reduces the data channel contention– reduces collision probability on the data channel

Stage 1 Stage 2

Page 19: Explicit and Implicit Pipelining in Wireless MAC Nitin Vaidya University of Illinois at Urbana-Champaign nhv@uiuc.edu Joint work with Xue Yang, UIUC

Sounds like HIPERLAN/1?

Elimination Stage

Data TransmissionYield Stage

HIPERLAN / 1 (no pipelining)

Random backoff phase 1 Random backoff phase 1 Random backoff phase 1

Data/ACKRTS/CTSBackoff phase 2

Data/ACKRTS/CTSBackoff phase 2

Partial Pipelining

Page 20: Explicit and Implicit Pipelining in Wireless MAC Nitin Vaidya University of Illinois at Urbana-Champaign nhv@uiuc.edu Joint work with Xue Yang, UIUC

Benefits of Partial Pipeline

Random backoff phase 1 Random backoff phase 1 Random backoff phase 1

Data/ACKRTS/CTSBackoff phase 2

Data/ACKRTS/CTSBackoff phase 2

Partial Pipelining

Because of pipelining, stages 1 and 2 proceedin parallel. Stage 1 costs little except for a narrow band busy tone channel

Page 21: Explicit and Implicit Pipelining in Wireless MAC Nitin Vaidya University of Illinois at Urbana-Champaign nhv@uiuc.edu Joint work with Xue Yang, UIUC

Benefits of Partial Pipeline

By migrating most of the backoff to busy tone channel,

bandwidth cost of random backoff is reduced Cost of backoff = Channel bandwidth * backoff duration

Data Channel Bandwidth

Busy Tone Channel Bandwidth Backoff Duration

Area = cost of backoff

Using IEEE 802.11 DSSS, the backoff duration could be several milliseconds

Page 22: Explicit and Implicit Pipelining in Wireless MAC Nitin Vaidya University of Illinois at Urbana-Champaign nhv@uiuc.edu Joint work with Xue Yang, UIUC

Results of Partial Pipelining

• Improved throughput and stability over 802.11 DCF

802.11 DCF

Partial Pipelining

Page 23: Explicit and Implicit Pipelining in Wireless MAC Nitin Vaidya University of Illinois at Urbana-Champaign nhv@uiuc.edu Joint work with Xue Yang, UIUC

Can we avoid usingbusy tone channel?

Page 24: Explicit and Implicit Pipelining in Wireless MAC Nitin Vaidya University of Illinois at Urbana-Champaign nhv@uiuc.edu Joint work with Xue Yang, UIUC

Observation

• Busy tone may not always be sensed– Narrow-band channel for busy tone

Page 25: Explicit and Implicit Pipelining in Wireless MAC Nitin Vaidya University of Illinois at Urbana-Champaign nhv@uiuc.edu Joint work with Xue Yang, UIUC

Observation

• Taking this into account did not make the performance much worse– Sensing probability 0 as well !

• Suggests the “implicit” pipelining scheme

Page 26: Explicit and Implicit Pipelining in Wireless MAC Nitin Vaidya University of Illinois at Urbana-Champaign nhv@uiuc.edu Joint work with Xue Yang, UIUC

Implicit Pipeline

Backoff phase 1 Data/ACK

Stage1 Stage2

RTS/CTSBackoff phase 2

Stage 1: Random backoff phase 1

Stage 2: Random backoff phase 2, RTS/CTS handshake and Data/ACK transmission

Page 27: Explicit and Implicit Pipelining in Wireless MAC Nitin Vaidya University of Illinois at Urbana-Champaign nhv@uiuc.edu Joint work with Xue Yang, UIUC

Still two stages, but with single channel

Random backoff phase 1 Random backoff phase 1 Random backoff phase 1

Data/ACKRTS/CTSBackoff phase 2

Data/ACKRTS/CTSBackoff phase 2

• Similar to busy tone probability = 0

Page 28: Explicit and Implicit Pipelining in Wireless MAC Nitin Vaidya University of Illinois at Urbana-Champaign nhv@uiuc.edu Joint work with Xue Yang, UIUC

Random backoff phase 1 Random backoff phase 1 Random backoff phase 1

Data/ACKRTS/CTSBackoff phase 2

Data/ACKRTS/CTSBackoff phase 2

Channel usage

Implicit stage 1

• Stations do not know when a station counts to 0

• Effectively, all stations may count down till the end of phase 1 (as marked by end of pipelined data transmission)

Page 29: Explicit and Implicit Pipelining in Wireless MAC Nitin Vaidya University of Illinois at Urbana-Champaign nhv@uiuc.edu Joint work with Xue Yang, UIUC

Backoff Phase 1

• During the random backoff phase 1, the stations counting down the backoff counter to zero win stage 1. Only the winners of stage 1 contend channel in stage 2

• Difference from partial pipelining: – With busy tone, only stations counting down to 0 first win

stage 1. Multiple winners are possible only if they count down to 0 together

– Without busy tone sensing, no way for a station to claim channel explicitly

• more stations can win stage 1

Page 30: Explicit and Implicit Pipelining in Wireless MAC Nitin Vaidya University of Illinois at Urbana-Champaign nhv@uiuc.edu Joint work with Xue Yang, UIUC

Backoff Phase 1

• Nodes can count down number of slots = duration of on-going data transmission

• Generalize– Ignore data packet size– Each node reduces backoff interval by an

“arbitrary” (reasonably chosen) amount at the end of current busy channel period

Page 31: Explicit and Implicit Pipelining in Wireless MAC Nitin Vaidya University of Illinois at Urbana-Champaign nhv@uiuc.edu Joint work with Xue Yang, UIUC

Implicit Pipeline(Dual-Stage)

• Choose backoff such that number of winners from stage 1 (entering stage 2) is non-zero but small at the end of each busy period– Backoff increased aggressively (on failure

to win phase 2, not just on collision)– Backoff decreased faster for nodes that

have been waiting longer

Page 32: Explicit and Implicit Pipelining in Wireless MAC Nitin Vaidya University of Illinois at Urbana-Champaign nhv@uiuc.edu Joint work with Xue Yang, UIUC

Implicit Pipeline

• Two stages as in Hiperlan/1, but no need to use busy tone

Page 33: Explicit and Implicit Pipelining in Wireless MAC Nitin Vaidya University of Illinois at Urbana-Champaign nhv@uiuc.edu Joint work with Xue Yang, UIUC

Average number of stationsin stage 2

Page 34: Explicit and Implicit Pipelining in Wireless MAC Nitin Vaidya University of Illinois at Urbana-Champaign nhv@uiuc.edu Joint work with Xue Yang, UIUC

Implicit Pipelining

• Inherites benefits of partial pipelining– Reduces channel contention by reducing

the number of contending stations.– Backoff phase 1 proceeds in parallel with

other channel activities

Page 35: Explicit and Implicit Pipelining in Wireless MAC Nitin Vaidya University of Illinois at Urbana-Champaign nhv@uiuc.edu Joint work with Xue Yang, UIUC

Contention Window 1

Page 36: Explicit and Implicit Pipelining in Wireless MAC Nitin Vaidya University of Illinois at Urbana-Champaign nhv@uiuc.edu Joint work with Xue Yang, UIUC

Implicit Pipelining

• Advantages compared with “partial pipelining”– No busy tone channel is needed– Can be applied to multi-hop ad hoc networks

• Disadvantage compared with partial pipelining– More stations may win stage 1, which leads to

degraded stability in large networks

Page 37: Explicit and Implicit Pipelining in Wireless MAC Nitin Vaidya University of Illinois at Urbana-Champaign nhv@uiuc.edu Joint work with Xue Yang, UIUC

Simulation results for Implicit Pipelining

• Obtained via modified ns-2 simulator– Constant Bit Rate (CBR) traffic– Channel bit rate 11 Mbps– Active stations are always backlogged– Various packet sizes

• Simulated both in wireless LANs and multi-hop ad hoc networks

Page 38: Explicit and Implicit Pipelining in Wireless MAC Nitin Vaidya University of Illinois at Urbana-Champaign nhv@uiuc.edu Joint work with Xue Yang, UIUC

Wireles LANs with RTS/CTS Handshake

packet size: 256 bytes

802.11 DCF

Implicit Pipelining

53%improvement

Normalized throughput

Page 39: Explicit and Implicit Pipelining in Wireless MAC Nitin Vaidya University of Illinois at Urbana-Champaign nhv@uiuc.edu Joint work with Xue Yang, UIUC

Wireless LANs with RTS/CTS Handshake

packet size: 512 bytes

46%improvement

Normalized throughput Implicit Pipelining

802.11 DCF

Page 40: Explicit and Implicit Pipelining in Wireless MAC Nitin Vaidya University of Illinois at Urbana-Champaign nhv@uiuc.edu Joint work with Xue Yang, UIUC

Wireless LANs with RTS/CTS Handshake

packet size: 2048 bytes Implicit Pipelining

26%improvement

802.11 DCF

Normalized throughput

Page 41: Explicit and Implicit Pipelining in Wireless MAC Nitin Vaidya University of Illinois at Urbana-Champaign nhv@uiuc.edu Joint work with Xue Yang, UIUC

Wireless LANs NO RTS/CTS Handshake

packet size: 512 bytes

Implicit Pipelining

802.11 DCF

87%improvement

Normalized throughput

Page 42: Explicit and Implicit Pipelining in Wireless MAC Nitin Vaidya University of Illinois at Urbana-Champaign nhv@uiuc.edu Joint work with Xue Yang, UIUC

Fairness Comparable to 802.11

Fairness Index

Implicit Pipelining

802.11 DCF

Page 43: Explicit and Implicit Pipelining in Wireless MAC Nitin Vaidya University of Illinois at Urbana-Champaign nhv@uiuc.edu Joint work with Xue Yang, UIUC

Fairness Comparable to 802.11Max/Min Throughput Ratio

Implicit Pipelining

802.11 DCF

Page 44: Explicit and Implicit Pipelining in Wireless MAC Nitin Vaidya University of Illinois at Urbana-Champaign nhv@uiuc.edu Joint work with Xue Yang, UIUC

Simulation results for multi-hop Ad hoc networks

Simulated in 30 1000m*1000m random networks with 80 active stations

Throughput Ratio of “implicit pipelining” over 802.11

Page 45: Explicit and Implicit Pipelining in Wireless MAC Nitin Vaidya University of Illinois at Urbana-Champaign nhv@uiuc.edu Joint work with Xue Yang, UIUC

Simulation results for multi-hop Ad hoc networks

Simulated in 30 1000m*1000m random networks with 80 active stations

Number of collisions

Implicit Pipelining

802.11 DCF

Page 46: Explicit and Implicit Pipelining in Wireless MAC Nitin Vaidya University of Illinois at Urbana-Champaign nhv@uiuc.edu Joint work with Xue Yang, UIUC

Conclusions

• Pipelining can improve performance

• Various approaches can be conceived for pipelining

• Improves stability– Implicit pipelining compatible with 802.11

Page 47: Explicit and Implicit Pipelining in Wireless MAC Nitin Vaidya University of Illinois at Urbana-Champaign nhv@uiuc.edu Joint work with Xue Yang, UIUC

Thanks!

[email protected]