Improving TCP Start-up over High Bandwidth Delay Paths

Slides:



Advertisements
Similar presentations
TCP Variants.
Advertisements

TCP Probe: A TCP with Built-in Path Capacity Estimation Anders Persson, Cesar Marcondes, Ling-Jyh Chen, Li Lao, M. Y. Sanadidi, Mario Gerla Computer Science.
TCP/IP Over Lossy Links - TCP SACK without Congestion Control.
1 TCP Vegas: New Techniques for Congestion Detection and Avoidance Lawrence S. Brakmo Sean W. O’Malley Larry L. Peterson Department of Computer Science.
TCP Vegas: New Techniques for Congestion Detection and Control.
Networking TCP-DCR: Making TCP Robust to Non-Congestion Events Sumitha Bhandarkar A. L. Narasimha Reddy
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.
1 Service Differentiation at Transport Layer via TCP Westwood Low- Priority (TCPW-LP) H. Shimonishi, M.Y. Sanadidi and M. Geria System Platforms Research.
School of Information Technologies TCP Congestion Control NETS3303/3603 Week 9.
TCP in Wireless Ad Hoc Networks
18 Nov 2009 TCP VEGAS Mohammad AlKurbi CMPT – 771: Internet Architecture and Protocols.
Congestion Control Tanenbaum 5.3, /12/2015Congestion Control (A Loss Based Technique: TCP)2 What? Why? Congestion occurs when –there is no reservation.
CS215 TCP Westwood Control Model Development and Stability Analysis Hu, Kunzhong Dong, Haibo Mentor: Wang, Ren Professor:
1 Spring Semester 2007, Dept. of Computer Science, Technion Internet Networking recitation #7 TCP New Reno Vs. Reno.
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.
1 Lecture 9: TCP and Congestion Control Slides adapted from: Congestion slides for Computer Networks: A Systems Approach (Peterson and Davis) Chapter 3.
1 Minseok Kwon and Sonia Fahmy Department of Computer Sciences Purdue University {kwonm, TCP Increase/Decrease.
Comparison between TCPWestwood and eXplicit Control Protocol (XCP) Jinsong Yang Shiva Navab CS218 Project - Fall 2003.
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.
Transport: TCP Manpreet Singh (Slides borrowed from various sources on the web)
1 Emulating AQM from End Hosts Presenters: Syed Zaidi Ivor Rodrigues.
Adaptive MPEG4 Video Streaming using Bandwidth Estimation Mario Gerla, Alex Balk, Medy Sanadidi {gerla, abalk, Dario Maggiorini
TCP Westwood: Experiments over Large Pipes Cesar Marcondes Anders Persson Prof. M.Y. Sanadidi Prof. Mario Gerla NRL – Network Research Lab UCLA.
Inline Path Characteristic Estimation to Improve TCP Performance in High Bandwidth-Delay Networks HIDEyuki Shimonishi Takayuki Hama Tutomu Murase Cesar.
Introduction 1 Lecture 14 Transport Layer (Congestion Control) slides are modified from J. Kurose & K. Ross University of Nevada – Reno Computer Science.
TCP in Wireless Ad Hoc Networks TCP on Wireless Ad Hoc Networks TCP overview Ad hoc TCP and network layer: mobility, route failures and timeout.
27th, Nov 2001 GLOBECOM /16 Analysis of Dynamic Behaviors of Many TCP Connections Sharing Tail-Drop / RED Routers Go Hasegawa Osaka University, Japan.
TCP Westwood The work is supported by the 2/032/2004 ELTE-BUTE-Ericsson NKFP project on Research and Developments of Tools Supporting Optimal Usage of.
February 2005Proprietary Content1 The Role of PCE in the Evolution of Transport Protocols Pfldnet 2005, Lyon, France M. Y. “Medy” Sanadidi
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.
What is TCP? Connection-oriented reliable transfer Stream paradigm
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.
1 Sonia FahmyPurdue University TCP Congestion Control Sonia Fahmy Department of Computer Sciences Purdue University
CS640: Introduction to Computer Networks Aditya Akella Lecture 15 TCP – III Reliability and Implementation Issues.
1 Computer Networks Congestion Avoidance. 2 Recall TCP Sliding Window Operation.
TCP Westwood: Efficient Transport for High-speed wired/wireless Networks 2008.
Recap Slow start introduced cwnd Slow start introduced cwnd Can transmit up to Can transmit up to min( cwnd, offered window ) Flow control by the sender.
@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.
1 Network Transport Layer: TCP Analysis and BW Allocation Framework Y. Richard Yang 3/30/2016.
@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 over Wireless PROF. MICHAEL TSAI 2016/6/3. TCP Congestion Control (TCP Tahoe) Only ACK correctly received packets Congestion Window Size: Maximum.
Window Control Adjust transmission rate by changing Window Size
TCP - Part II Relates to Lab 5. This is an extended module that covers TCP flow control, congestion control, and error control in TCP.
CS450 – Introduction to Networking Lecture 19 – Congestion Control (2)
TCP Vegas: New Techniques for Congestion Detection and Avoidance
Transport Layer CS 381 3/7/2017.
Chapter 3 outline 3.1 transport-layer services
Chapter 6 TCP Congestion Control
COMP 431 Internet Services & Protocols
TCP Vegas: New Techniques for Congestion Detection and Avoidance
Chapter 3 outline 3.1 Transport-layer services
Mario Gerla, Medy Sanadidi, Ren Wang and Massimo Valla
TCP Westwood(+) Protocol Implementation in ns-3
TCP - Part II Relates to Lab 5. This is an extended module that covers TCP flow control, congestion control, and error control in TCP.
TCP.
Lecture 19 – TCP Performance
Improving Slow Start InKwan Yu.
Other Methods of Dealing with Congestion
Chapter 6 TCP Congestion Control
CS640: Introduction to Computer Networks
Computer Science Division
Transport Layer: Congestion Control
Chapter 3 outline 3.1 Transport-layer services
TCP flow and congestion control
Network Transport Layer: TCP/Reno Analysis, TCP Cubic, TCP/Vegas
Presentation transcript:

Improving TCP Start-up over High Bandwidth Delay Paths Ren Wang, Giovanni Pau, M.Y. Sanadidi and Mario Gerla UCLA Computer Science Department www.cs.ucla.edu/NRL

Motivation TCP Reno/Newreno Mechanism: Slow-start: cwnd grows exponentially until hit ssthresh Congestion-avoidance: cwnd grows linearly By setting initial ssthresh to an arbitrary value, TCP may suffer: ssthresh too high: multiple loss and coarse timeout ssthresh too low: premature exit of slow-start and low utilization Majority of TCP flows are short-lived The Bandwidth Delay Product(BDP) has been growing fast, resulting in poor utilization for short-lived connections with current TCP implementation: Utilization during the first 20 seconds (RTT=100ms) March, 2003 UCLA Computer Science Department

UCLA Computer Science Department Related Work Larger initial cwnd Good for transfers with a few packets Fast Start Cached information may be stale Smooth Start Assuming initial ssthresh is large enough Shared passive network discovery(SPANK) Needs leaky bucket pacing TCP Vegas Hoe’s Method March, 2003 UCLA Computer Science Department

UCLA Computer Science Department TCP Vegas(1) Sender watches for sign that router’s queue is building up and congestion will happen; e.g., RTT grows sending rate flattens Sender lowers sending rate to avoid buffer overflow During Slow-start, Vegas doubles cwnd every other RTT Until diff (between expected and achieved rate) exceeds a threshold: March, 2003 UCLA Computer Science Department

UCLA Computer Science Department TCP Vegas(2) Problem: premature exit due to RTT over-estimation, caused by temporary queue buildup: Under-utilization becomes severe when the bandwidth delay product increases: Exit cwnd: the congestion window when a connection exits slow start Ratio of Slow-start termination cwnd to the ideal window (=BDP) (RTT =100ms) March, 2003 UCLA Computer Science Department

UCLA Computer Science Department Hoe’s method(1) Setting initial ssthresh to estimated BDP Bandwidth: packet pair bandwidth estimate RTT: measured RTT of the first segment transmitted May achieve high utilization, but not robust to buffer variation and dynamic load during slow start phase March, 2003 UCLA Computer Science Department

UCLA Computer Science Department Hoe’s method(2) Problem: The bottleneck buffer is small compared to BDP Other large volume traffic join in during Slow-start phase  Multiple losses, timeout, and low utilization (a)Small buffer cause multiple losses (b) Traffic interference cause multiple losses March, 2003 UCLA Computer Science Department

Adaptive Start (Astart) Approach Take advantage of Eligible Rate Estimation (ERE) in TCP Westwood (TCPW) Adaptively and repeatedly reset ssthresh to estimated bandwidth share or Eligible Rate Estimate, if appropriate Key idea in TCPW and ERE Enhance congestion control via the Eligible Rate Estimate ERE is estimated at the sender by sampling and exponential filtering measures from ACK stream Samples are determined from ACK inter-arrival times and info about bytes delivered after packet loss (ie, 3 DUPACKs, or Timeout), ERE is used by sender to set cwnd, ssthresh=ERE x RTTmin March, 2003 UCLA Computer Science Department

TCP Westwood: the Control Algorithm TCPW Algorithm Outline: When three duplicate ACKs are detected: set ssthresh=ERE*RTTmin (instead of ssthresh=cwin/2 as in Reno and NewReno) if (cwin > ssthresh) set cwin=ssthresh When a TIMEOUT expires: set ssthresh=ERE*RTTmin (instead of ssthresh=cwnd/2 as in Reno) and cwin=1 Note: RTTmin = min round trip delay experienced by the connection March, 2003 UCLA Computer Science Department

ERE in TCPW Tk Tk BE Sampling: RE Sampling: No Congestion Congestion Packet pair, may overestimate ( e.g. in Congestion), effective in random loss RE Sampling: Packet train, fair estimate in congestion, may underestimate (e.g. in random loss) Tk Tk No Congestion Congestion ERE estimate: adapt the sample interval Tk according to current measured congestion level (Vegas measure of congestion level) Tk ranges from one ACK interarrival interval  RTT RE <= ERE <= BE March, 2003 UCLA Computer Science Department

Adaptive Start (Astart) (1) Astart uses ERE to adaptively and repeatedly reset ssthresh during the startup phase (connection startup and after a coarse timeout): if ( 3 DUPACKS are received) switch to congestion avoidance phase; else (ACK is received) if (ssthresh < (ERE*RTTmin)/seg_size) ssthresh =(ERE*RTTmin)/seg_size; endif if (cwnd >ssthresh) /*mini congestion avoid. phase*/ increase cwnd by 1/cwnd; else if (cwnd <ssthresh) /*mini slow start phase*/ increase cwnd by 1; March, 2003 UCLA Computer Science Department

Astart (2) Astart continuously uses ERE (a)Big buffer (500 packets) BDP = 500 packets (b) Small buffer(125 packets) Astart continuously uses ERE Contains mini slow-start and mini congestion-avoidance phases cwnd grows slower as it approaches BDP (c)A closer look at Astart cwnd dynamic March, 2003 UCLA Computer Science Department

UCLA Computer Science Department Astart (3) Astart cwnd dynamic with 5 connections startup simultaneously cwnd dynamic with UDP traffic joins in during startup phase (compare Astart and Hoe’s method) March, 2003 UCLA Computer Science Department

Throughput Comparison Throughput vs. Bottleneck Capacity (During first 20 seconds) (RTT =100ms, Buffer size =BDP)   Throughput vs. Two-way Propagation Time (During first 20 seconds) (Bottleneck capacity = 40 Mbps, Buffer size =BDP)   Throughput vs. Bottleneck Buffer size (During first 20 seconds) (RTT =100ms, Bottleneck =40 Mbps)   Results summary Scaling with Capacity Robust to buffer size Scaling with Propagation time March, 2003 UCLA Computer Science Department

Efficiency/Friendliness Use Efficiency/Friendliness Tradeoff Graph X-axis represents friendliness Y-axis represents efficiency Simulation setup: Bottleneck: 40 Mbps BDP: Varies with RTT Two connections start up at the same time Record the throughput during first 5 seconds Calculate Utilization ratio and throughput ratio March, 2003 UCLA Computer Science Department

UCLA Computer Science Department Summary Reviewed and evaluated Vegas, Hoe’s method Presented Astart, a new approach based on TCPW ERE Compared throughput, scaling with BDP, and robustness to buffer and load variations Hoe’s method provides high throughput, but Astart comes very close, AND is robust to buffer size and dynamic load Astart is another illustration of the benefits of pursuing estimates of bandwidth measures to improve congestion control in TCP March, 2003 UCLA Computer Science Department

UCLA Computer Science Department References The papers about TCP Westwood, TCP Westwood CRB and ABSE can be found in the papers section of the TCP Westwood Web Page: http://www.cs.ucla.edu/NRL/hpi/tcpw/ TCP Vegas: New Techniques for Congestion Detection and Avoidance. Lawrence Brakmo, Sean O'Malley, and Larry Peterson. In ACM SIGCOMM, pages 24-35, August 1994 Hoe’s Method: J. C. Hoe, “Improving the Start-up Behavior of A Congestion Control Scheme for TCP”, Proc. ACM SIGCOMM ’96. Fast Start: V.N. Padmamabhan and R.H. Katz, “TCP Fast Start: A Technique for Speeding Up Web Transfers”, Proceedings of IEEE globecom’98, Sydney, Australia, Nov. 1998. Smooth Start: H. Wang, H. Xin, D.S. Reeves and K.G. Shin "A Simple Refinement of Slow Start of TCP Congestion Control", In proceedings of ISCC’00, Antibes, France, 2000 Large initial window: M. Allman, S. Floyd and C. Patridge, “Increasing TCP’s initial Window”, INTERNET DRAFT, April 1998 SPANK: Y. Zhang, L. Qiu and S. Keshav, “Optimizing TCP Start-up Performance”, Cornell CSD Technical Report, February, 1999 March, 2003 UCLA Computer Science Department