TCP in Wireless Ad Hoc Networks 2008. TCP on Wireless Ad Hoc Networks TCP overview Ad hoc TCP and network layer: mobility, route failures and timeout.

Slides:



Advertisements
Similar presentations
Michele Pagano – A Survey on TCP Performance Evaluation and Modeling 1 Department of Information Engineering University of Pisa Network Telecomunication.
Advertisements

TCP Variants.
1 TCP Congestion Control. 2 TCP Segment Structure source port # dest port # 32 bits application data (variable length) sequence number acknowledgement.
Improving TCP Performance over Mobile Ad Hoc Networks by Exploiting Cross- Layer Information Awareness Xin Yu Department Of Computer Science New York University,
1 End to End Bandwidth Estimation in TCP to improve Wireless Link Utilization S. Mascolo, A.Grieco, G.Pau, M.Gerla, C.Casetti Presented by Abhijit Pandey.
School of Information Technologies TCP Congestion Control NETS3303/3603 Week 9.
TCP in Wireless Ad Hoc Networks
6/3/ Improving TCP Performance over Mobile Ad Hoc Networks by Exploiting Cross-Layer Information Awareness CS495 – Spring 2005 Northwestern University.
Chapter 3 Transport Layer slides are modified from J. Kurose & K. Ross CPE 400 / 600 Computer Communication Networks Lecture 12.
Transport Layer 3-1 Fast Retransmit r time-out period often relatively long: m long delay before resending lost packet r detect lost segments via duplicate.
Transport Layer3-1 Congestion Control. Transport Layer3-2 Principles of Congestion Control Congestion: r informally: “too many sources sending too much.
CS215 TCP Westwood Control Model Development and Stability Analysis Hu, Kunzhong Dong, Haibo Mentor: Wang, Ren Professor:
TCP over ad hoc networks Ad Hoc Networks will have to be interfaced with the Internet. As such backward compatibility is a big issue. One might expect.
TCP Westwood (TCPW) and Bandwidth Estimation cs218 – fall 2003 Claudio E. Palazzi tutor: Dr. Giovanni Pau.
TCP Westwood with Agile Probing: Handling Dynamic Large Leaky Pipes.
Week 9 TCP9-1 Week 9 TCP 3 outline r 3.5 Connection-oriented transport: TCP m segment structure m reliable data transfer m flow control m connection management.
RCS: A Rate Control Scheme for Real-Time Traffic in Networks with High B X Delay and High error rates J. Tang et al, Infocom 2001 Another streaming control.
Comparison between TCPWestwood and eXplicit Control Protocol (XCP) Jinsong Yang Shiva Navab CS218 Project - Fall 2003.
The Impact of Multihop Wireless Channel on TCP Throughput and Loss Presented by Scott McLaren Zhenghua Fu, Petros Zerfos, Haiyun Luo, Songwu Lu, Lixia.
1 Chapter 3 Transport Layer. 2 Chapter 3 outline 3.1 Transport-layer services 3.2 Multiplexing and demultiplexing 3.3 Connectionless transport: UDP 3.4.
TCP Westwood (with Faster Recovery) Claudio Casetti Mario Gerla Scott Seongwook Lee Saverio.
Data Communication and Networks
Transport Layer Congestion control. Transport Layer 3-2 Approaches towards congestion control End-to-end congestion control: r no explicit feedback.
Enhancing TCP Fairness in Ad Hoc Wireless Networks Using Neighborhood RED Prenseted by Ronak Bhuta Date : October 9, 2007 Kaixin Xu Mario Gerla Lantao.
CMPE 257 Spring CMPE 257: Wireless and Mobile Networking Spring 2005 E2E Protocols (point-to-point)
Enhancing TCP Fairness in Ad Hoc Wireless Networks Using Neighborhood RED Kaixin Xu, Mario Gerla University of California, Los Angeles {xkx,
TCP Behavior across Multihop Wireless Networks and the Wired Internet Kaixin Xu, Sang Bae, Mario Gerla, Sungwook Lee Computer Science Department University.
Introduction 1 Lecture 14 Transport Layer (Congestion Control) slides are modified from J. Kurose & K. Ross University of Nevada – Reno Computer Science.
Transport Layer3-1 Chapter 3 outline r 3.1 Transport-layer services r 3.2 Multiplexing and demultiplexing r 3.3 Connectionless transport: UDP r 3.4 Principles.
Transport Layer3-1 Chapter 3 outline r 3.1 Transport-layer services r 3.2 Multiplexing and demultiplexing r 3.3 Connectionless transport: UDP r 3.4 Principles.
Transport Layer3-1 Chapter 3 outline 3.1 Transport-layer services 3.2 Multiplexing and demultiplexing 3.3 Connectionless transport: UDP 3.4 Principles.
Qian Zhang Department of Computer Science HKUST Advanced Topics in Next- Generation Wireless Networks Transport Protocols in Ad hoc Networks.
Enhancing TCP Fairness in Ad Hoc Wireless Networks using Neighborhood RED Kaixin Xu, Mario Gerla UCLA Computer Science Department
Enhancing TCP Fairness in Ad Hoc Wireless Networks Using Neighborhood RED Kaixin Xu, Mario Gerla University of California, Los Angeles {xkx,
Principles of Congestion Control Congestion: informally: “too many sources sending too much data too fast for network to handle” different from flow control!
27th, Nov 2001 GLOBECOM /16 Analysis of Dynamic Behaviors of Many TCP Connections Sharing Tail-Drop / RED Routers Go Hasegawa Osaka University, Japan.
TCP with Variance Control for Multihop IEEE Wireless Networks Jiwei Chen, Mario Gerla, Yeng-zhong Lee.
TCP Westwood: Efficient Transport for High-speed wired/wireless Networks 2009.
Lecture 9 – More TCP & Congestion Control
Transport Layer 3-1 Chapter 3 Transport Layer Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March
CS640: Introduction to Computer Networks Aditya Akella Lecture 15 TCP – III Reliability and Implementation Issues.
Computer Networking Lecture 18 – More TCP & Congestion Control.
TCP on Wireless Ad Hoc Networks CS 218 Oct 22, 2003 TCP overview Ad hoc TCP : mobility, route failures and timeout TCP and MAC interaction study TCP fairness.
Outline Wireless introduction Wireless cellular (GSM, CDMA, UMTS) Wireless LANs, MAC layer Wireless Ad hoc networks – routing: proactive routing, on-demand.
CS640: Introduction to Computer Networks Aditya Akella Lecture 15 TCP – III Reliability and Implementation Issues.
Transport Layer3-1 Chapter 3 outline r 3.1 Transport-layer services r 3.2 Multiplexing and demultiplexing r 3.3 Connectionless transport: UDP r 3.4 Principles.
Transport Protocols for Wireless Ad Hoc Networks 1.
Transport Layer 3- Midterm score distribution. Transport Layer 3- TCP congestion control: additive increase, multiplicative decrease Approach: increase.
Transport Layer3-1 Chapter 3 outline r 3.1 Transport-layer services r 3.2 Multiplexing and demultiplexing r 3.3 Connectionless transport: UDP r 3.4 Principles.
TCP OVER ADHOC NETWORK. TCP Basics TCP (Transmission Control Protocol) was designed to provide reliable end-to-end delivery of data over unreliable networks.
TCP Westwood: Efficient Transport for High-speed wired/wireless Networks 2008.
TCP continued. Discussion – TCP Throughput TCP will most likely generate the saw tooth type of traffic. – A rough estimate is that the congestion window.
1 Advanced Transport Protocol Design Nguyen Multimedia Communications Laboratory March 23, 2005.
Transport Layer3-1 Chapter 3 outline r 3.1 Transport-layer services r 3.2 Multiplexing and demultiplexing r 3.3 Connectionless transport: UDP r 3.4 Principles.
@Yuan Xue A special acknowledge goes to J.F Kurose and K.W. Ross Some of the slides used in this lecture are adapted from their.
@Yuan Xue A special acknowledge goes to J.F Kurose and K.W. Ross Some of the slides used in this lecture are adapted from their.
TCP - Part II Relates to Lab 5. This is an extended module that covers TCP flow control, congestion control, and error control in TCP.
Chapter 3 outline 3.1 transport-layer services
Chapter 6 TCP Congestion Control
COMP 431 Internet Services & Protocols
Kaixin Xu, Mario Gerla University of California, Los Angeles {xkx,
Chapter 3 outline 3.1 Transport-layer services
Mario Gerla, Medy Sanadidi, Ren Wang and Massimo Valla
TCP - Part II Relates to Lab 5. This is an extended module that covers TCP flow control, congestion control, and error control in TCP.
Lecture 19 – TCP Performance
Chapter 6 TCP Congestion Control
The Impact of Multihop Wireless Channel on TCP Performance
Improving TCP Start-up over High Bandwidth Delay Paths
Transport Layer: Congestion Control
Chapter 3 outline 3.1 Transport-layer services
Presentation transcript:

TCP in Wireless Ad Hoc Networks 2008

TCP on Wireless Ad Hoc Networks TCP overview Ad hoc TCP and network layer: mobility, route failures and timeout The problem of fairness and the NRED TCP Westwood: efficient transport for high-speed wired/wireless networks

Summary: TCP Congestion Control When CongWin is below Threshold, sender in slow-start phase, window grows exponentially. When CongWin is above Threshold, sender is in congestion-avoidance phase, window grows linearly. AIMD When a triple duplicate ACK occurs, Threshold set to CongWin/2 and CongWin set to Threshold. AIMD When timeout occurs, Threshold set to CongWin/2 and CongWin is set to 1 MSS.

Problems with TCP in ad hoc networks Multihop - throughput reduction mobility - path breaks and forces TCP to timeout  Random interference/jamming causes packet loss => timeout  Source cannot discriminate between congestion loss and random loss => drive TCP window to zero!  Interaction between TCP backoff and MAC backoff may cause unfairness and “capture”

Impact of Multi-Hop Wireless Paths TCP Throughput using 2 Mbps MAC, transmission range = one hop For large number of hops throughput stabilizes (pipelining effect)

Throughput Degradations with Increasing Number of Hops Packet transmission can occur on at most one hop among three consecutive hops Increasing the number of hops from 1 to 2, 3 results in increased delay, and decreased throughput Increasing number of hops beyond 3 allows simultaneous transmissions on more than one link, however, degradation continues due to contention between TCP Data and Acks traveling in opposite directions When number of hops is large enough, the throughput stabilizes due to effective pipelining

Impact of Mobility on TCP Mobility causes route changes Throughput generally degrades with increasing speed … Average throughput over 50 runs Speed (m/s) Ideal Actual

How to Improve Throughput Network feedback Inform TCP of route failure by explicit message Let TCP know when route is repaired –Probing (eg, persistent pkt retransmissions) –Explicit link repair notification Alleviates repeated TCP timeouts and backoff

Performance with Explicit Notification

Enhancing TCP Fairness in Ad Hoc Wireless Networks Using Neighborhood RED Kaixin Xu, Mario Gerla University of California, Los Angeles Lantao Qi, Yantai Shu Tianjin University, Tianjin, China (Mobicom 2003)

TCP Unfairness in Ad Hoc Networks 3 TCP flows contending with each other Flow 2 is nearly starved Original RED fails to improve the fairness

 Direct way: Announce queue size upon changes  Too much overhead, queue location problem?  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  Channel utilization ratio  Queue size index K is a constant Channel busy CTS

Neighborhood Random Early Detection (NRED) Extending RED to the distributed neighborhood queue (Virtual) 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)

Performance Evaluation Fairness is achieved Loss of aggregated throughput –Tradeoff between fairness and throughput Overall Throughput

Experiment result on TJU testbed f

TCP Westwood: Efficient Transport for High-speed wired/wireless Networks (Mobicom 2001)

TCP Westwood (Mobicom 2001) Key Idea: Enhance congestion control via the Rate Estimate (RE) –Estimate is computed at the sender by sampling and exponential filtering –Samples are determined from ACK inter- arrival times and info in ACKs regarding amounts of bytes delivered RE is used by sender to properly set cwnd and ssthresh after packet loss (indicated by 3 DUPACKs, or Timeout)

Rate Estimation (BE-> RE) Ideally, would like to determine the connection fair share of the bottleneck bandwidth Since fair share is difficult (to define or determine), we instead estimate the achieved rate: Rate Estimate (RE) Receiver Sender Internet Bottleneck packets ACKs measure

First TCPW version used a “ bandwidth like ” estimator (BE) given by: “Original” Rate estimation (BE-> RE) t k-1 t k dk dk sample exponential filter filter gain RE/BE Estimation is similar to Keshav Packet Pair estimation

TCP Westwood: the control algorithm TCPW Algorithm Outline: –When three duplicate ACKs are detected: set ssthresh=BE*RTT min (instead of ssthresh=cwin/2 as in Reno) if (cwin > ssthresh) set cwin=ssthresh –When a TIMEOUT expires: set ssthresh=BE*RTT min (instead of ssthresh=cwnd/2 as in Reno) and cwin=1 Note: RTT min = min round trip delay experienced by the connection

TCP Westwood Benefits Reno overreacts to random loss (cwin cut by half) TCPW less sensitive to random loss –(1) a small fraction of “ randomly ” lost packets minimally impacts the rate estimate RE –(2) Thus, cwin = RE x RTT remains unchanged As a result, TCPW throughput is higher than Reno What do we gain by using RE “ feedback ” in addition to packet loss? (a) better performance with random loss (ie, loss caused by random errors as opposed to overflow) (b) ability to distinguish random loss from buffer loss (c) using RE to estimate bottleneck bdw during slow start

TCPW in a wireless lossy environment Efficiency: Improvement significant on high (Bdw x Length) paths Fairness: better fairness than RENO under varying RTT Friendliness: TCPW is friendly to TCP Reno

TCPW in presence of random loss: Analysis and Simulation

TCPW Rate Estimation (TCP RE) Rate estimate (RE) is obtained by aggregating the data ACKed during the interval T (typically = RTT): sample exponential filter filter gain dkdk T d k-1 tktk T is the sample interval

BE overestimates fair rate ( = 2.5 Mbps) TCPW BE Not friendly to NewReno! TCPW RE or BE interaction with RENO No errors (bottleneck gets saturated) fair share Errors (0.5%), no congestion RE underestimates fair rate (=3.6 Mbps) TCPW RE does not improve thruput! fair share * (*) TCPW fair share > 50% because NewReno is incapable of getting 50% One TCPW RE or BE and one Reno share a 5Mbps bottleneck

TCPW with adaptive filter (AF) Neither RE or BE estimator are optimal for all situations – BE is more effective in random loss – RE is more appropriate in congestion loss (ie, buffer overflow) KEY IDEA: dynamically select the aggressive estimate (BE) or the conservative estimate (RE) depending on current channel status (congestion or random loss?) NEEDED: a “ congestion measure ” that gives us an idea of the most probable cause of packet loss (congestion or random) The Adaptive Filter actually provides a smooth transition from aggressive to conservative measure

Summary Introduced the concept of Rate Estimation and related work Reviewed end-to-end estimation based congestion control methods Presented TCP Westwood, and the evolution of “ fair rate ” estimate to improve the performance; showed simulation results to evaluate the method Compared TCPW with other methods