Explicit and Implicit Pipelining in Wireless MAC Nitin Vaidya University of Illinois at...
-
Upload
ferdinand-hodge -
Category
Documents
-
view
216 -
download
4
Transcript of Explicit and Implicit Pipelining in Wireless MAC Nitin Vaidya University of Illinois at...
![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.](https://reader030.fdocuments.us/reader030/viewer/2022032518/56649ccb5503460f94993b0f/html5/thumbnails/1.jpg)
Explicit and Implicit Pipeliningin Wireless MAC
Nitin Vaidya
University of Illinois at Urbana-Champaign
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.](https://reader030.fdocuments.us/reader030/viewer/2022032518/56649ccb5503460f94993b0f/html5/thumbnails/2.jpg)
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.](https://reader030.fdocuments.us/reader030/viewer/2022032518/56649ccb5503460f94993b0f/html5/thumbnails/3.jpg)
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.](https://reader030.fdocuments.us/reader030/viewer/2022032518/56649ccb5503460f94993b0f/html5/thumbnails/4.jpg)
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.](https://reader030.fdocuments.us/reader030/viewer/2022032518/56649ccb5503460f94993b0f/html5/thumbnails/5.jpg)
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.](https://reader030.fdocuments.us/reader030/viewer/2022032518/56649ccb5503460f94993b0f/html5/thumbnails/6.jpg)
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.](https://reader030.fdocuments.us/reader030/viewer/2022032518/56649ccb5503460f94993b0f/html5/thumbnails/7.jpg)
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.](https://reader030.fdocuments.us/reader030/viewer/2022032518/56649ccb5503460f94993b0f/html5/thumbnails/8.jpg)
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.](https://reader030.fdocuments.us/reader030/viewer/2022032518/56649ccb5503460f94993b0f/html5/thumbnails/9.jpg)
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.](https://reader030.fdocuments.us/reader030/viewer/2022032518/56649ccb5503460f94993b0f/html5/thumbnails/10.jpg)
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.](https://reader030.fdocuments.us/reader030/viewer/2022032518/56649ccb5503460f94993b0f/html5/thumbnails/11.jpg)
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.](https://reader030.fdocuments.us/reader030/viewer/2022032518/56649ccb5503460f94993b0f/html5/thumbnails/12.jpg)
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.](https://reader030.fdocuments.us/reader030/viewer/2022032518/56649ccb5503460f94993b0f/html5/thumbnails/13.jpg)
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.](https://reader030.fdocuments.us/reader030/viewer/2022032518/56649ccb5503460f94993b0f/html5/thumbnails/14.jpg)
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.](https://reader030.fdocuments.us/reader030/viewer/2022032518/56649ccb5503460f94993b0f/html5/thumbnails/15.jpg)
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.](https://reader030.fdocuments.us/reader030/viewer/2022032518/56649ccb5503460f94993b0f/html5/thumbnails/16.jpg)
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.](https://reader030.fdocuments.us/reader030/viewer/2022032518/56649ccb5503460f94993b0f/html5/thumbnails/17.jpg)
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.](https://reader030.fdocuments.us/reader030/viewer/2022032518/56649ccb5503460f94993b0f/html5/thumbnails/18.jpg)
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.](https://reader030.fdocuments.us/reader030/viewer/2022032518/56649ccb5503460f94993b0f/html5/thumbnails/19.jpg)
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.](https://reader030.fdocuments.us/reader030/viewer/2022032518/56649ccb5503460f94993b0f/html5/thumbnails/20.jpg)
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.](https://reader030.fdocuments.us/reader030/viewer/2022032518/56649ccb5503460f94993b0f/html5/thumbnails/21.jpg)
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.](https://reader030.fdocuments.us/reader030/viewer/2022032518/56649ccb5503460f94993b0f/html5/thumbnails/22.jpg)
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.](https://reader030.fdocuments.us/reader030/viewer/2022032518/56649ccb5503460f94993b0f/html5/thumbnails/23.jpg)
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.](https://reader030.fdocuments.us/reader030/viewer/2022032518/56649ccb5503460f94993b0f/html5/thumbnails/24.jpg)
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.](https://reader030.fdocuments.us/reader030/viewer/2022032518/56649ccb5503460f94993b0f/html5/thumbnails/25.jpg)
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.](https://reader030.fdocuments.us/reader030/viewer/2022032518/56649ccb5503460f94993b0f/html5/thumbnails/26.jpg)
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.](https://reader030.fdocuments.us/reader030/viewer/2022032518/56649ccb5503460f94993b0f/html5/thumbnails/27.jpg)
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.](https://reader030.fdocuments.us/reader030/viewer/2022032518/56649ccb5503460f94993b0f/html5/thumbnails/28.jpg)
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.](https://reader030.fdocuments.us/reader030/viewer/2022032518/56649ccb5503460f94993b0f/html5/thumbnails/29.jpg)
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.](https://reader030.fdocuments.us/reader030/viewer/2022032518/56649ccb5503460f94993b0f/html5/thumbnails/30.jpg)
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.](https://reader030.fdocuments.us/reader030/viewer/2022032518/56649ccb5503460f94993b0f/html5/thumbnails/31.jpg)
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.](https://reader030.fdocuments.us/reader030/viewer/2022032518/56649ccb5503460f94993b0f/html5/thumbnails/32.jpg)
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.](https://reader030.fdocuments.us/reader030/viewer/2022032518/56649ccb5503460f94993b0f/html5/thumbnails/33.jpg)
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.](https://reader030.fdocuments.us/reader030/viewer/2022032518/56649ccb5503460f94993b0f/html5/thumbnails/34.jpg)
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.](https://reader030.fdocuments.us/reader030/viewer/2022032518/56649ccb5503460f94993b0f/html5/thumbnails/35.jpg)
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.](https://reader030.fdocuments.us/reader030/viewer/2022032518/56649ccb5503460f94993b0f/html5/thumbnails/36.jpg)
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.](https://reader030.fdocuments.us/reader030/viewer/2022032518/56649ccb5503460f94993b0f/html5/thumbnails/37.jpg)
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.](https://reader030.fdocuments.us/reader030/viewer/2022032518/56649ccb5503460f94993b0f/html5/thumbnails/38.jpg)
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.](https://reader030.fdocuments.us/reader030/viewer/2022032518/56649ccb5503460f94993b0f/html5/thumbnails/39.jpg)
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.](https://reader030.fdocuments.us/reader030/viewer/2022032518/56649ccb5503460f94993b0f/html5/thumbnails/40.jpg)
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.](https://reader030.fdocuments.us/reader030/viewer/2022032518/56649ccb5503460f94993b0f/html5/thumbnails/41.jpg)
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.](https://reader030.fdocuments.us/reader030/viewer/2022032518/56649ccb5503460f94993b0f/html5/thumbnails/42.jpg)
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.](https://reader030.fdocuments.us/reader030/viewer/2022032518/56649ccb5503460f94993b0f/html5/thumbnails/43.jpg)
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.](https://reader030.fdocuments.us/reader030/viewer/2022032518/56649ccb5503460f94993b0f/html5/thumbnails/44.jpg)
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.](https://reader030.fdocuments.us/reader030/viewer/2022032518/56649ccb5503460f94993b0f/html5/thumbnails/45.jpg)
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.](https://reader030.fdocuments.us/reader030/viewer/2022032518/56649ccb5503460f94993b0f/html5/thumbnails/46.jpg)
Conclusions
• Pipelining can improve performance
• Various approaches can be conceived for pipelining
• Improves stability– Implicit pipelining compatible with 802.11