TCP Vegas: New Techniques for Congestion Detection and Avoidance

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.
Simulation-based Comparison of Tahoe, Reno, and SACK TCP Kevin Fall & Sally Floyd Presented: Heather Heiman September 10, 2002.
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.
24-1 Chapter 24. Congestion Control and Quality of Service (part 1) 23.1 Data Traffic 23.2 Congestion 23.3 Congestion Control 23.4 Two Examples.
1 Transport Protocols & TCP CSE 3213 Fall April 2015.
By Arjuna Sathiaseelan Tomasz Radzik Department of Computer Science King’s College London EPDN: Explicit Packet Drop Notification and its uses.
TCP Congestion Control Dina Katabi & Sam Madden nms.csail.mit.edu/~dina 6.033, Spring 2014.
Presentation by Joe Szymanski For Upper Layer Protocols May 18, 2015.
Introduction 1 Lecture 14 Transport Layer (Transmission Control Protocol) slides are modified from J. Kurose & K. Ross University of Nevada – Reno Computer.
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.
1 689 Lecture 2 Review of Last Lecture Networking basics TCP/UDP review.
TCP Congestion Control TCP sources change the sending rate by modifying the window size: Window = min {Advertised window, Congestion Window} In other words,
1 TCP Transport Control Protocol Reliable In-order delivery Flow control Responds to congestion “Nice” Protocol.
Computer Networks : TCP Congestion Control1 TCP Congestion Control.
TCP Vegas Brakmo & Peterson. No change in TCP spec, merely an alternative implementation –Changes needed only at sender side Main finding –Vegas achieves.
Networks : TCP Congestion Control1 TCP Congestion Control.
Networks : TCP Congestion Control1 TCP Congestion Control Presented by Bob Kinicki.
TCP Congestion Control
Copyright © 2005 Department of Computer Science CPSC 641 Winter Tutorial: TCP 101 The Transmission Control Protocol (TCP) is the protocol that sends.
TCP: flow and congestion control. Flow Control Flow Control is a technique for speed-matching of transmitter and receiver. Flow control ensures that a.
Modeling TCP Throughput: A Simple Model and its Empirical Validation Ross Rosemark Penn State University.
CS 4396 Computer Networks Lab
TCP Vegas Kulan Kao 2006/3/25.
Chapter 12 Transmission Control Protocol (TCP)
27th, Nov 2001 GLOBECOM /16 Analysis of Dynamic Behaviors of Many TCP Connections Sharing Tail-Drop / RED Routers Go Hasegawa Osaka University, Japan.
1 TCP III - Error Control TCP Error Control. 2 ARQ Error Control Two types of errors: –Lost packets –Damaged packets Most Error Control techniques are.
Lecture 9 – More TCP & Congestion Control
What is TCP? Connection-oriented reliable transfer Stream paradigm
CS640: Introduction to Computer Networks Aditya Akella Lecture 15 TCP – III Reliability and Implementation Issues.
Computer Networking Lecture 18 – More TCP & Congestion Control.
TCP: Transmission Control Protocol Part II : Protocol Mechanisms Computer Network System Sirak Kaewjamnong Semester 1st, 2004.
1 CS 4396 Computer Networks Lab TCP – Part II. 2 Flow Control Congestion Control Retransmission Timeout TCP:
TCP End-To-End Congestion Control Wanida Putthividhya Dept. of Computer Science Iowa State University Jan, 27 th 2002 (May, 25 th 2001)
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 continued. Discussion – TCP Throughput TCP will most likely generate the saw tooth type of traffic. – A rough estimate is that the congestion window.
Congestion Avoidance Created by M Bateman, A Ruddle & C Allison As part of the TCP View project.
Sandeep Kakumanu Smita Vemulapalli Gnan
Other Methods of Dealing with Congestion
Analysis and Comparison of TCP Reno and TCP Vegas Review
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.
TCP Vegas Congestion Control Algorithm
TCP Vegas: New Techniques for Congestion Detection and Avoidance
Topics discussed in this section:
Chapter 3 outline 3.1 transport-layer services
Chapter 6 TCP Congestion Control
COMP 431 Internet Services & Protocols
Introduction to Congestion Control
TCP Vegas: New Techniques for Congestion Detection and Avoidance
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 Sequence Number Plots
Lecture 19 – TCP Performance
So far, On the networking side, we looked at mechanisms to links hosts using direct linked networks and then forming a network of these networks. We introduced.
Other Methods of Dealing with Congestion
Advanced Computer Networks
Other Methods of Dealing with Congestion
Chapter 6 TCP Congestion Control
CS640: Introduction to Computer Networks
TCP Throughput Modeling
If both sources send full windows, we may get congestion collapse
CS4470 Computer Networking Protocols
TCP Congestion Control
TCP III - Error Control TCP Error Control.
Computer Science Division
Transport Layer: Congestion Control
TCP: Transmission Control Protocol Part II : Protocol Mechanisms
Presentation transcript:

TCP Vegas: New Techniques for Congestion Detection and Avoidance Niranjan Mysore, Radhika Woo, Dong Hyuk

ECE4605 - Advanced Internetworking Contents TCP Vegas Five techniques used in TCP Vegas Simulation results Results on the Internet Critique ECE4605 - Advanced Internetworking

ECE4605 - Advanced Internetworking TCP Vegas Alternative TCP implementation Improve TCP’s congestion control mechanism Interoperate with any other valid TCP implementation Changes only in the sending side Performance compared with Reno Better throughput (40%~70%) Less loss (20%~50%) ECE4605 - Advanced Internetworking

Five Techniques used in TCP Vegas More Accurate RTT Calculation New Mechanism for Deciding to Retransmit Modified Window Sizing on Congestion Spike Suppression Congestion Detection and Avoidance ECE4605 - Advanced Internetworking

More Accurate RTT Calculation Important for Accuracy Helps in Timely decision to retransmit dropped segement Coarse Grained Timer no longer sufficient ECE4605 - Advanced Internetworking

New Mechanism for Deciding Retransmit Coarse Grained Timer On receipt of ACKs Duplicate ACK ACK after recent retransmission n Duplicate ACKs no longer necessary before retransmission ECE4605 - Advanced Internetworking

Modified Window Sizing on Congestion Congestion window decreased only if losses were seen due to current rates of transmission. Only once per RTT interval Why? Sensitivity Aggressive Bandwidth Utilization ECE4605 - Advanced Internetworking

ECE4605 - Advanced Internetworking Spike suppression Ideally we should have evenly spaced ACKs. So that the sending rate is also smooth. Spikes - reasons Large cumulative ACKs (When?) ACK compression Spikes a necessity? or cause of losses? SegSpacing = RTT * MaxSeg / WindowSize No of bytes on transit have to catch up with congestion window size Turned off during Slow Start since we have exponentially increasing transmission rate ECE4605 - Advanced Internetworking

Congestion Detection and Avoidance Reno reacts to losses - but also induces losses. Vegas philosophy - correct number of extra bytes in the network. (Why?) Bytes in transit proportional to throughput and window size BaseRTT Expected Throughput (We assume we don’t overflow the connection.) Actual Throughput Thresholds - significance based on extra data Steady congestion window (Does not oscillate every now and then) Extra buffers occupied in the network. ECE4605 - Advanced Internetworking

Modified Slow-Start with Congestion Detection Doubling Congestion window - Doubling Actual Throughput What happens when we over run the connection's bandwidth? What is the magnitude of loss? It can increase if there is a burst due to another connection. Vegas - Exponential Increase only once every other RTT Fixed congestion Window allows valid comparison of Throughput. Threshold Gamma ECE4605 - Advanced Internetworking

TCP Reno with No Other Traffic ECE4605 - Advanced Internetworking

TCP Vegas with No Other Traffic Expected Actual ECE4605 - Advanced Internetworking

ECE4605 - Advanced Internetworking Simulation Results Network configuration ECE4605 - Advanced Internetworking

Simulation Results (cont’d) One-on-one experiment =52 =44.8 =19.5 Reno/Vegas Vegas Reno 300 KB 1 MB ECE4605 - Advanced Internetworking

Simulation Results (cont’d) Experiments with background traffic Throughput of 1 Mb traffic Reno Reno tcplib 1 Mb ECE4605 - Advanced Internetworking

Simulation Results (cont’d) Throughput of background traffic BG traffic throughput increases by 20% tcplib 1 Mb ECE4605 - Advanced Internetworking

Results on the Internet From UA to NIH ECE4605 - Advanced Internetworking

Results on the Internet (cont’d) 1MB transfer over the Internet Effects of transfer size over the Internet ECE4605 - Advanced Internetworking

ECE4605 - Advanced Internetworking Critique TCP Vegas competing with TCP Reno Connections Rerouting Persistent Congestion ECE4605 - Advanced Internetworking

ECE4605 - Advanced Internetworking Rerouting BaseRTT Longer Propagation Delay? Or congestion? Backlogged Packets = W - r*d To keep the packets in the switch buffers the same, W should increase. ECE4605 - Advanced Internetworking

ECE4605 - Advanced Internetworking Rerouting - Remedy Estimate diff_estimate for K packets Estimate BaseRTTestimate for N packets If (BaseRTTestimate – BaseRTT) > (diff_estimate + min { d.BaseRTT, g }) for L consecutive times Then BaseRTT = BaseRTTestimate cwnd = cwnd * BaseRTTestimate / BaseRTT + 1 ECE4605 - Advanced Internetworking

Persistent Congestion N > 1 connections Overestimate propagation delays Network congestion? Backlogged packets in queue? Unfair - connections that start up later have greater flow rate ECE4605 - Advanced Internetworking

Persistent Congestion - Remedy RED? All connections overestimate propagation delay due to congestion Congestion causes them to reduce congestion widow size Congestion reduces New BaseRTT ECE4605 - Advanced Internetworking

ECE4605 - Advanced Internetworking References TRANSMISSION CONTROL PROTOCOL (RFC793) Issues in TCP Vegas Richard J. La, Jean Walrand, and Venkat Anantharam Department of Electrical Engineering and Computer Sciences, University of California, Berkeley TCP Vegas Revisited U. Hengartner, J. Bolliger and Th. Gross Department Informatik ETH Zurich, School of Computer Sciences Carnegie Melon University Analysis and Comparison of TCP Reno and Vegas Jeonghoon MO, Richard J. La, Venkat Anantharam, and Jean Walrand ECE4605 - Advanced Internetworking