Mario Gerla, Medy Sanadidi, Ren Wang and Massimo Valla

Slides:



Advertisements
Similar presentations
Milano 25/2/20031 Bandwidth Estimation for TCP Sources and its Application Prepared for QoS IP 2003 R. G. Garroppo, S.Giordano, M. Pagano, G. Procissi,
Advertisements

TCP Variants.
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.
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.
Computer Networks: TCP Congestion Control 1 TCP Congestion Control Lecture material taken from “Computer Networks A Systems Approach”, Fourth Edition,Peterson.
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.
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.
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:
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.
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.
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 TCP Bulk Repeat CS218 Fall 2003 Students: Ricardo Oliveira, Joshua Choi, William So Tutor: Guang Yang 11/24/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.
TCP in Heterogeneous Network Md. Ehtesamul Haque # P.
Advanced Computer Networks: TCP Congestion Control 1 TCP Congestion Control Lecture material taken from “Computer Networks A Systems Approach”, Fourth.
Adaptive MPEG4 Video Streaming using Bandwidth Estimation Mario Gerla, Alex Balk, Medy Sanadidi {gerla, abalk, Dario Maggiorini
CMPE 257 Spring CMPE 257: Wireless and Mobile Networking Spring 2005 E2E Protocols (point-to-point)
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.
Lect3..ppt - 09/12/04 CIS 4100 Systems Performance and Evaluation Lecture 3 by Zornitza Genova Prodanoff.
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 in Wireless Ad Hoc Networks TCP on Wireless Ad Hoc Networks TCP overview Ad hoc TCP and network layer: mobility, route failures and timeout.
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.
1 CS 4396 Computer Networks Lab TCP – Part II. 2 Flow Control Congestion Control Retransmission Timeout TCP:
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.
T. S. Eugene Ngeugeneng at cs.rice.edu Rice University1 COMP/ELEC 429/556 Introduction to Computer Networks Principles of Congestion Control Some slides.
TCP Westwood: Efficient Transport for High-speed wired/wireless Networks 2008.
1 Testing TCP Westwood+ over Transatlantic Links at 10 Gigabit/Second rate Saverio Mascolo Dipartimento di Elettrotecnica ed Elettronica Politecnico di.
Congestion Avoidance Created by M Bateman, A Ruddle & C Allison As part of the TCP View project.
@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 - 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)
Internet Networking recitation #9
Transport Layer CS 381 3/7/2017.
Chapter 3 outline 3.1 transport-layer services
Satellite TCP Lecture 19 04/10/02.
COMP 431 Internet Services & Protocols
Introduction to Congestion Control
TCP Vegas: New Techniques for Congestion Detection and Avoidance
Chapter 3 outline 3.1 Transport-layer services
Generalizing The Network Performance Interference Problem
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.
Lecture 19 – TCP Performance
COMP/ELEC 429/556 Introduction to Computer Networks
CS640: Introduction to Computer Networks
Internet Networking recitation #10
TCP Congestion Control
Improving TCP Start-up over High Bandwidth Delay Paths
EE 122: Congestion Control The Sequel
Computer Science Division
Transport Layer: Congestion Control
Chapter 3 outline 3.1 Transport-layer services
TCP flow and congestion control
Presentation transcript:

TCP Westwood: Efficient Transport for High-speed wired/wireless Networks Mario Gerla, Medy Sanadidi, Ren Wang and Massimo Valla UCLA Computer Science Department 11/7/2018 UCLA Computer Science Department

UCLA Computer Science Department Outline TCP Overview Bandwidth Estimation and TCP Westwood Bandwidth Estimation vs. Rate Estimation Performance Evaluation 11/7/2018 UCLA Computer Science Department

TCP Congestion Control 11/7/2018 UCLA Computer Science Department

TCP Reno Limitations (Ren, please clarify…) In wireless (lossy) networks random packet loss causes unnecessary window reduction and thus inefficiency In High speed networks blind halving of cwnd also results in inefficiency (why?) 11/7/2018 UCLA Computer Science Department

UCLA Computer Science Department Outline TCP Overview TCP Westwood and Rate Estimation Bandwidth and Rate Estimation; adptive filter Performance Evaluation 11/7/2018 UCLA Computer Science Department

UCLA Computer Science Department TCP Westwood (2000) 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) 11/7/2018 UCLA Computer Science Department

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

At equilibrium, RE -> Fair RE Initially, two connections have different Wi and Ri. In the increase phase windows grow at the same rate Just before overflow : Wi = Ri (Buf/Cap + RTTm) for i = 1,2 At overflow, RE estimate reduces windows back to “zero backlog” line, ie: Wi = RE RTTm = Ri RTTm zero backlog bottleneck overflow Fair rate share Connection 1 Window Connection 2 Window 11/7/2018 UCLA Computer Science Department

Fair RE = “Residual Bandwidth” Estimate? Single TCPW flow coexists with On/Off UDP traffic Single TCPW flow at equilibrium does estimate “residual bottleneck bandwidth” 11/7/2018 UCLA Computer Science Department

UCLA Computer Science Department Related Works (cont) TCP Vegas Sender watches for some sign that router’s queue is building up and congestion will happen; e.g., RTT grows sending rate flattens Sender adjust sending rate to avoid filling the buffer Fairness problem has been reported Packet Pair Flow Control Using Packet Pair method to estimate bottleneck service rate to a connection Adjusts the transmitting rate to maintain the TCP connection bottleneck queue equal to a target called setpoint (B) Under round-robin, packet pair measures fair share; otherwise measure is inaccurate, and can overestimate fair share, up to link capacity 11/7/2018 UCLA Computer Science Department

UCLA Computer Science Department TCPW Benefits 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 11/7/2018 UCLA Computer Science Department

UCLA Computer Science Department TCPW And Random Loss Cwnd and ssthresh of TCPW and NewReno under random losses: Westwood New RENO NewReno overreacts to random loss (cwin cut by half) A small fraction of isolated “randomly” lost packets does not impact the RE estimate Thus, cwnd = RE * RTTmin remains unchanged As a result, TCPW efficiency is higher than NewReno and SACK 11/7/2018 UCLA Computer Science Department

TCPW in “lossy” environment 3. TCP Westwood TCPW in “lossy” environment 11/7/2018 UCLA Computer Science Department

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 11/7/2018 UCLA Computer Science Department

NASA Workshop Demo (From Steve Schultz, NASA) 3. TCP Westwood NASA Workshop Demo (From Steve Schultz, NASA) Internet Throughput Measurement 11/7/2018 UCLA Computer Science Department

Internet Measurements Testbed 3. TCP Westwood Internet Measurements Testbed 11/7/2018 UCLA Computer Science Department

UCLA Computer Science Department TCPW Fairness Fairness: how equitably is bandwidth shared among same flavor TCP flows? Internet experiment with 10 TCPW and 10 TCP NR Jain’s index for this experiment is ??? 11/7/2018 UCLA Computer Science Department

UCLA Computer Science Department TCPW Friendliness Friendliness: fairness across different TCP flavors “Friendly share” principle: TCPW is allowed to recover the bandwidth wasted by NewReno because of “blind” window reduction TCPW original RE filter has Friendliness Problem…. 10 connections total (TCPW + RENO) ; No random errors Average throughput per connection is shown below: 11/7/2018 UCLA Computer Science Department

UCLA Computer Science Department Outline TCP Overview TCP Westwood and Bandwidth Estimation Bandwidth & Rate Estimation; Adaptive Filter Performance Evaluation 11/7/2018 UCLA Computer Science Department

TCPW original estimation (BE) 3. TCP Westwood TCPW original estimation (BE)  tk-1  tk dk First TCPW version (referred to as: TCPW BE) used a “bandwidth like” estimator (BE) given by: sample exponential filter filter gain 11/7/2018 UCLA Computer Science Department

TCPW Rate Estimation (TCP RE) 3. TCP Westwood TCPW Rate Estimation (TCP RE) dk-1 dk tk T is the sample interval T Rate estimate (RE) is obtained by aggregating the data ACKed during the interval T (typically = RTT): sample exponential filter filter gain 11/7/2018 UCLA Computer Science Department

TCPW RE/BE interaction with RENO 3. TCP Westwood TCPW RE/BE interaction with RENO One TCPW RE/BE and one Reno share a 5Mbps bottleneck No errors (bottleneck gets saturated) Errors (0.5%), no congestion fair share* fair share BE overestimates fair rate ( = 2.5 Mbps) TCPW BE Not friendly to NewReno! RE underestimates fair rate (=3.6 Mbps) TCPW RE does not improve thruput! (*) TCPW fair share > 50% because NewReno is incapable of getting 50% 11/7/2018 UCLA Computer Science Department

UCLA Computer Science Department 3. TCP Westwood TCPW Adaptation 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) 11/7/2018 UCLA Computer Science Department

UCLA Computer Science Department 3. TCP Westwood Congestion Measure IF cwnd/ RTTmin (ie, max achievable rate) is larger than vs. RE (currently achieved rate) the channel is congested; if max is equal to current rate, the loss is random loss Random loss channel Congested Channel 11/7/2018 UCLA Computer Science Department

TCPW with continuous filter adaptation Next step is to have a continuous instead of switched filter adaptation IDEA: adapt continuously the sample size according to congestion level adapt continuously the filter agility according to network instability In TCPW AF (Adaptive Filtering) we adapt the sample interval Tk according to current measured congestion level Tk ranges from Tk = inter ACK interval to Tk = RTT Filter agility (more or less weight on history) must be limited so that it does not overreact to network jitter 11/7/2018 UCLA Computer Science Department

3. TCP Westwood TCPW AF: Sampling Adapting the size of sampling intervals to congestion level measure Tk Tk continuous adaptation No Congestion: Tk = inter ACK Congestion: Tk grows Rate sample 11/7/2018 UCLA Computer Science Department

TCPW AF: Sampling (cont) The sample size Tk is continuously adjusted according to current congestion measure: Max throughput assuming there is no congestion in the network actual achieved throughput Severe Congestion: Tk = RTT Upon ACK Receipt ABE Computes Congestion Level Sample interval Tk Link Under Utilized: Tk = > 0 (ie, inter ACK intrv) 11/7/2018 UCLA Computer Science Department

UCLA Computer Science Department Outline TCP Overview TCP Westwood and Bandwidth Estimation Bandwidth & Rate Estimation; Adaptive Filter Performance Evaluation 11/7/2018 UCLA Computer Science Department

TCPW AF Simulation Results (1) Throughput vs. packet loss rate   11/7/2018 UCLA Computer Science Department

TCPW AF Simulation Results (2) Throughput vs. Two-way Propagation Time Is there loss?   11/7/2018 UCLA Computer Science Department

TCPW AF Simulation Results (3) Throughput vs. Bottleneck Capacity Is there loss?   11/7/2018 UCLA Computer Science Department

TCPW AF Simulation results (4) 3. TCP Westwood TCPW AF Simulation results (4) TCPW AF Is Friendly Towards NewReno ! 11/7/2018 UCLA Computer Science Department

UCLA Computer Science Department 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 11/7/2018 UCLA Computer Science Department

UCLA Computer Science Department References The papers about TCP Westwood, TCP Westwood CRB and ABE 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 I. Akyildiz, G. Morabito, and S. Palazo. TCP-Peach: A new Congestion Control Scheme for Satellite IP Networks. IEEE/ACM Transaction on Networking, vol. 6, pp 307-21, 2001. S. Keshav “A Control-Theoretic Approach to Flow Control,” Proceeding of ACM SIGCOMM 1991 K. Lai and M. Baker, “Measuring Link Bandiwdths Using a Deterministic Model of Packet Delay”, Sigcomm 2000 M. Allman and Vern Paxson, “On Estimating End-to-End Network Path Properties”, ACM/Sigcomm 1999 R. Carter and M. Crovella, “Measuring Bottleneck Link Speed in Packet-Switched Networks” Performance Evaluation, Vol 27,28, 1996 Dovrolis, Ramanathan, Moore, “What Do Packet Dispersion Techniques Measure?”, Infocom 2001. 11/7/2018 UCLA Computer Science Department