TCP Vegas: New Techniques for Congestion Detection and Avoidance

Slides:



Advertisements
Similar presentations
TCP Variants.
Advertisements

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.
Congestion Control Created by M Bateman, A Ruddle & C Allison As part of the TCP View project.
Computer Networks: TCP Congestion Control 1 TCP Congestion Control Lecture material taken from “Computer Networks A Systems Approach”, Fourth Edition,Peterson.
18 Nov 2009 TCP VEGAS Mohammad AlKurbi CMPT – 771: Internet Architecture and Protocols.
1 Congestion Control Outline Queuing Discipline Reacting to Congestion Avoiding Congestion.
Computer Networks: TCP Congestion Control 1 TCP Congestion Control Lecture material taken from “Computer Networks A Systems Approach”, Third Ed.,Peterson.
1 Spring Semester 2007, Dept. of Computer Science, Technion Internet Networking recitation #7 TCP New Reno Vs. Reno.
TCP Congestion Control TCP sources change the sending rate by modifying the window size: Window = min {Advertised window, Congestion Window} In other words,
Computer Networks : TCP Congestion Control1 TCP Congestion Control.
Transport: TCP Manpreet Singh (Slides borrowed from various sources on the web)
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.
Advanced Computer Networks: TCP Congestion Control 1 TCP Congestion Control Lecture material taken from “Computer Networks A Systems Approach”, Fourth.
TCP Congestion Control
TCP: flow and congestion control. Flow Control Flow Control is a technique for speed-matching of transmitter and receiver. Flow control ensures that a.
Transport Layer 4 2: Transport Layer 4.
COMT 4291 Communications Protocols and TCP/IP COMT 429.
TCP Vegas Kulan Kao 2006/3/25.
指導教授:林仁勇 老師 學生:吳忠融 2015/10/24 1. Author Chan, Y.-C. Chan, C.-T. Chen, Y.-C. Source IEE Proceedings of Communications, Volume 151, Issue 1, Feb 2004 Page(s):107.
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.
Transmission Control Protocol TCP Part 2 University of Glamorgan Networked & Distributed Systems.
Lecture 9 – More TCP & Congestion Control
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.
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.
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. TCP ACK generation [RFC 1122, RFC 2581] Event at Receiver Arrival of in-order segment with expected seq #. All data up to expected seq # already.
TCP Congestion Control 컴퓨터공학과 인공지능 연구실 서 영우. TCP congestion control2 Contents 1. Introduction 2. Slow-start 3. Congestion avoidance 4. Fast retransmit.
© Janice Regan, CMPT 128, CMPT 371 Data Communications and Networking Congestion Control 0.
Transmission Control Protocol (TCP) TCP Flow Control and Congestion Control CS 60008: Internet Architecture and Protocols Department of CSE, IIT Kharagpur.
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.
Transmission Control Protocol (TCP) Retransmission and Time-Out
Topics discussed in this section:
Chapter 3 outline 3.1 transport-layer services
TCP Vegas: New Techniques for Congestion Detection and Avoidance
Chapter 6 TCP Congestion Control
COMP 431 Internet Services & Protocols
Congestion Control.
TCP Vegas: New Techniques for Congestion Detection and Avoidance
Precept 2: TCP Congestion Control Review
Chapter 5 TCP Transmission Control
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.
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.
Congestion Control in TCP
CS4470 Computer Networking Protocols
Other Methods of Dealing with Congestion
Other Methods of Dealing with Congestion
Chapter 6 TCP Congestion Control
CS640: Introduction to Computer Networks
TCP Congestion Control
TCP Overview.
EE 122: Lecture 10 (Congestion Control)
TCP III - Error Control TCP Error Control.
Transport Layer: Congestion Control
TCP flow and congestion control
TCP: Transmission Control Protocol Part II : Protocol Mechanisms
Presentation transcript:

TCP Vegas: New Techniques for Congestion Detection and Avoidance Jaime Johnson Nathan Daniel Anil Koneri Yuhang Lin Vineeth Chander

Introduction TCP protocol performance. Congestion window, congestion avoidance(CA) & detection(CD). TCP Vegas vs. Reno Increase in overall throughput & decrease losses with efficient use of bandwidth. Techniques for accurate RTT, new implementation for retransmission, window size modification, CD/CA, and spike suppression.

Background & Motivation Increase throughput and reduce losses using efficient available bandwidth. In existing Reno RTT estimate is not accurate, biased against connections with longer delays TCP Vegas emphasizes on packet delay rather than packet loss. Better window size modification during retransmission.

Problem Statement In Reno, RTT estimates are not very accurate thereby affecting TCP performance. Inefficient retransmissions. Relative inefficient detection of losses. Constantly updates window size Can have many retransmissions of the same packet after that packet is dropped. Leads to oscillation in window size, RTT resulting in inefficient bandwidth utilization.

RTT Calculation Vegas reads and records system clock each time a segment is sent. When ACK arrives, reads clock again and calculates RTT using this time. Using accurate RTT serves 2 purposes More accurate timeout calculation Helps in deciding to retransmit a dropped segment in a more timely order.

New Retransmission Concept Vegas retransmits without waiting for 3 duplicate ACKS (dup ACK). When dup ACK is received Vegas compares the diff. bet. current time and time recorded to timeout value If diff.> timeout, retransmits segment without waiting for 3 dup ACKs Typically sender will never receive 3 dup ACKs, hence Reno retransmission technique is unreliable. Vegas detects lost segments prior to retransmission without waiting for a dup ACK.

Modifying Congestion Window Size Congestion Window (CW) should be reduced only due to losses in current sending rate, not in previous higher sending rates. In Reno, CW can be decreased more than once for losses in one RTT interval. Vegas decreases CW if retransmitted segment was previously sent after last decrease. Vegas is more reliable than Reno at detecting losses.

Spike Suppression TCP Reno self-clocking feature is dependent on the receipt of evenly-spaced ACK’s. Because of the failure of this approach, the result in TCP Reno are spikes in the sending rate. TCP Vegas suppresses these spikes by only allowing twice the ideal no. of bytes with the total number of bytes transmitted per RTT still bounded by the congestion window. This spike suppression mechanism is only operational after slow start, as spikes are needed to keep up with the exponentially increasing transmission rate.

Collision Detection (CD) Vegas compares measured throughput rate with actual throughput. No. of bytes in transit is directly proportional to expected throughput. Vegas makes use of this idea to control the amount of extra data in the network. If too much extra data, lead to retransmission If too little extra data, connection cannot respond rapidly to temporary increases in bandwidth.

Algorithm for CD Base RTT = RTT of first segment Expected throughput, expected = Window Size/ Base RTT Actual throughput, Record sending time for a segment Record no. of bytes transmitted between sending/receiving ACK RTT calculated when ACK arrives actual = no. of bytes / RTT One calculation/ RTT

Algorithm for CD contd. Compare actual to expected Diff = expected – actual Diff is +ve or 0, if actual> expected change Base RTT to latest sampled RTT. Lower and Upper thresholds α & β are defined Diff < α, Vegas increases CW during next RTT Diff > β, Vegas decreases CW during next RTT α<diff<β, CW unchanged

Congestion Avoidance (CA) In terms of Collision Avoidance, TCP Vegas is proactive whereas TCP Reno is reactive. TCP Vegas uses proactive collision avoidance by monitoring the increase in RTT delay, recalculating and checking the difference between the current RTT and average RTT for every two round-trip delays. If this difference is greater, it then decreases the congestion window by 1/8, reducing the chances of packet loss by congestion before congestion actually occurs and packets are lost.

Performance Evaluation One-on-one: study how two TCP connections interfere with each other. Start 1MB transfer, variable delay of 0s – 2.5s, start 300KB transfer All four combinations: Reno/Reno, Reno/Vegas, Vegas/Reno, Vegas/Vegas were considered Results were obtained and averaged for 12 runs, using 15 and 20 buffers in routers

Results for One-on-One experiment Vegas does not affect Reno’s throughput. Reno’s throughput stays unchanged when competing with Vegas rather than itself. Reno-Vegas retransmission drops significantly as compared to Reno/Reno Vegas/Vegas retransmission is less than 1KB indicating CA mechanism works.

Experiment with Background traffic Network loaded with traffic Protocol TRAFFIC running from Host1a to Host1b 1MByte transfer running between Host2a and Host2b Vegas-1,3 uses α=1, β=3 Vegas-2,4 uses α=2, β=4 57 Runs using different tcplib and 10, 15, 20 buffers in the routers

Results with Background Traffic Vegas-1,3 had 53% better throughput than Reno Only 49% losses Little difference between Vegas-1,3 and Vegas-2,4

Other Experiments One on one with background traffic Similar to the one on one experiment. Losses increased by 6% compared to 43%. Two way background traffic Performance: TCP Vegas> TCP Reno. Throughput ratio stayed the same, but lost ratio was better. Different TCP buffer sizes Buffer sizes varied between 50-5kb. Vegas’ throughput proved to be more consistent over that of Reno.

Internet Test Results Results of 1MB transfers: Table 4 shows a 37-42 % increase in throughput and a 51-61 % retransmission compared to Reno. Effect of transfer size of Vegas vs. Reno(table 5): Overall increase of Vegas over Reno is 37-71 %. Retransmissions Vegas vs. Reno(table 5): 20 Kbytes retransmitted by Reno due to slow start. However, Vegas retransmission decreased linearly w.r.t transfer size.

Related Work Enhanced Gateway Congestion Control. Enhanced Loss Recovery Algorithms (e.g. TCP New Reno). The updated algorithms used for CD/CA based on RTT, which was similar to Tri-S. Additional techniques: Jain’s CARD: based on optimum window size. Wang & Crowcroft’s Tri-S scheme. Keshav’s packet-pair: estimating available bandwidth from delay between ACKs.

Critique Overall, the mechanisms that TCP Vegas implements is a great improvement to the TCP protocol. The modified slow-start with CD, still possibility of lost segments. CD depends on an accurate value for Base RTT. Alternate approaches for linear increase/decrease mechanism of Vegas (CW) could be explored. Values for α and β are just defined, no information on how to obtain or modify them depending on situation.

Summary & Conclusions The main goal of this experiment was to add on to the performance of Reno. Simulations and data gathered via experiments serves as the foundation for an updated version of Reno, called Vegas. Based on experimental data, Vegas proved to be more efficient than Reno w.r.t throughput and retransmissions. Vegas increased the throughput between 40-70% compared to Reno. Losses reduced to 1/2 -1/5 of that of Reno.

Questions…?