tcp behavior across multihop wireless networks and the
play

TCP Behavior across Multihop Wireless Networks and the Wired - PowerPoint PPT Presentation

TCP Behavior across Multihop Wireless Networks and the Wired Internet Kaixin Xu, Sang Bae, Mario Gerla, Sungwook Lee Computer Science Department University of California, Los Angeles, CA 90095 (xkx, sbae, gerla, swlee)@cs.ucla.edu,


  1. TCP Behavior across Multihop Wireless Networks and the Wired Internet Kaixin Xu, Sang Bae, Mario Gerla, Sungwook Lee Computer Science Department University of California, Los Angeles, CA 90095 (xkx, sbae, gerla, swlee)@cs.ucla.edu, http://www.cs.ucla.edu/NRL This work is supported in part by ONR “MINUTEMAN” project under contract N00014-01-C-0016 and TRW under a Graduate Student Fellowship

  2. Motivation � Connecting ad hoc networks to the Internet � Access web, download files, upload data, multimedia streaming etc. � TCP efficiency critical � New challenge:TCP performance on wired + multihop wireless path � Different from “last hop” wireless networks (e.g. wireless LAN) � Different from “pure ad hoc” networks; the wired part introduces high propagation delays

  3. Target Scenario � Connecting an ad hoc network to the Internet Server Server � Wireless part is an independent, self managed network � Mobile node Internet access through Internet multiple gateways Gateway � Web access, file download, Gateway multimedia streaming Gateway � Multimedia Challenges : � TCP : Long propagation delay -> large Mobile Node congestion window; error vs congestion loss An example ad hoc network � Video Streaming : congestion control; friendly to TCP

  4. Testbed Measurements � Testbed Configuration � Dell 1 GHz Pentium III Inspiron 4000 laptops � Lucent Orinoco 802.11 wireless card, 2M bps � FTP server : Located in the Internet, Running RedHat Linux 6.0 � Wireless client : Mandrake Linux 8.1 � TCP : TCP New Reno, MSS=1460 bytes � Performance metrics � throughput; fairness

  5. Testbed Measurements Two Scenarios o Scenario A: “last hop” wireless network (wireless LAN) � Scenario B: multihop ad hoc wireless network � FTP flows in different directions are investigated � Each FTP transmits a 1MB or 8MB file poseidon.csr.unibo.it poseidon.csr.unibo.it Internet Internet FTP 1 3 FTP 2 131.179.25.24 FTP 1 FTP 2 1 2 1 4 3 5 2 131.179.25.21 131.179.25.26 131.179.25.21 131.179.25.30 131.179.25.24 131.179.25.22 131.179.25.26 Scenario B Scenario B Scenario A Scenario A

  6. Fairness among Multiple TCP Flows � Scenario A (W-LAN): No significant unfairness (not shown here) � Scenario B : Significant capture/unfairness when there are OUT flows ( OUT flow : wireless->wired, IN flow : wired->wireless) IN flow IN flow OUT flow OUT flow Both flows transmit a 1M file Both flows transmit a 8M file Scenario B : Mixed flows ( IN flow captures the channel; OUT flow starts after it)

  7. Fairness (cont) � Unfairness is observed even when there are only OUT flows ( OUT flow : wireless->wired) OUT flow 2 OUT flow 1 Both flows transmit a 1M file Scenario B : Only OUT flows ( Significant unfairness observed)

  8. Lessons learned with TCP TCP Unfairness : � TCP flows from wired to wireless tend to capture the channel from flows in other direction � Even when all TCP flows originate from wireless, they cannot share the bandwidth in a fair way � TCP flows from wired to wireless can share the bandwidth equally

  9. TCP Coexistence with Video Streams � Video streams: CBR/UDP flows with various rates � Scenario B ( multihop) � TCP flow: from node 1 to the wired server, transmitting a 8M file � Video stream: from node 2 to the wired server � Different rates of the video streams: from 80Kbps to 800Kbps � Packet size: 1460 Bytes poseidon.csr.unibo.it Internet FTP/TCP Video/UDP 1 4 3 5 2 131.179.25.22 131.179.25.30 131.179.25.21 131.179.25.24 131.179.25.24

  10. Coexistence of TCP/Video streams � Low rate video (80Kbps) has minimal impact on TCP performance � When the video rate increases (540Kbps), TCP throughput degrades, but no capture is observed Video TCP Video TCP 80Kbps video stream 540Kbps video stream

  11. Coexistence of TCP/Video streams � Surprisingly, when video rate is further increased to 800Kbps, TCP throughput gets better ! � High rate video streams block themselves at the source nodes � The source node and its next hop node compete for the same channel � High transmission rate from source blocks the next hop (heavy drops!) Video TCP 800Kbps video stream

  12. Summary of the TCP/Video Experiments � TCP performance is affected by video streams. However, no capture problem is observed � At high tx rate, video performs poorly due to source node and next hop interference � For best performance, video rate must be carefully controlled in ad hoc networks (ideally, with feedback control like TCP)

  13. Reasons of TCP Unfairness � Hidden and Exposed Terminal Problems � Binary Exponential Backoff (BEB) of 802.11 favors the last successful node � TCP own timeout and backoff worsen the unfairness � Lack of “cooperation” between TCP and MAC link to the wired network link to the wired network OUT flow OUT flow OUT flow OUT flow OUT flow IN flow OUT flow IN flow Gateway Gateway 1 2 G 3 4 1 2 G 3 4 Data Packet RTS Data Packet RTS Hidden and exposed Hidden and exposed terminal problem with terminal problem with mixed flows only OUT flows

  14. Optimal TCP Window Size � Scenario B, IN + OUT traffic with varying max TCP window size � There exists an optimal TCP window size (8 packet in our case): The aggregated throughput reaches upper limit; the two flows share the channel bandwidth fairly � Unfortunately, the optimal max Window cannot be preconfigured � And, TCP cannot independently stabilize at such optimal window => unfairness!!! IN + OUT flow IN flow OUT flow

  15. Problems Caused by Wired Part!! � Repeat last experiment without the wired part � Can achieve reasonable fairness in a pure ad hoc network by preconfiguring the maximum TCP window to 1 or 2 packets (typically, performance peaks at W=2; no gain for W>2) � Problem caused by wired part � Large window is needed (large RTT); cannot preconfigure W IN flow + OUT flow FTP 1 FTP 2 1 4 3 5 2 IN flow Scenario B without wired part (mixed traffic) OUT flow

  16. Summary � TCP across wired/wireless networks presents new problems (with respect to wired or wireless alone) � The wired part introduces long propagation delay and thus the need for large window (for efficiency) � TCP flows across wired/wireless experience significant capture/unfairness � Video streams also are vulnerable to congestion collapse � Fundamental causes rooted in MAC layer � 802.11 MAC modifications are investigated

  17. Thank You!

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend