TCP Vegas Kulan Kao 2006/3/25.

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 LAWRENCE S. BRAKMO SEAN W. O’MALLEY LARRY L. PETERSON PRESENTED TCP VEGAS IN 1994 PRESENTED BY CHUNG TRAN.
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.
Computer Networks: TCP Congestion Control 1 TCP Congestion Control Lecture material taken from “Computer Networks A Systems Approach”, Fourth Edition,Peterson.
Introduction 1 Lecture 14 Transport Layer (Transmission Control Protocol) slides are modified from J. Kurose & K. Ross University of Nevada – Reno Computer.
School of Information Technologies TCP Congestion Control NETS3303/3603 Week 9.
Introduction to Congestion Control
18 Nov 2009 TCP VEGAS Mohammad AlKurbi CMPT – 771: Internet Architecture and Protocols.
Transport Layer3-1 Congestion Control. Transport Layer3-2 Principles of Congestion Control Congestion: r informally: “too many sources sending too much.
1 Congestion Control Outline Queuing Discipline Reacting to Congestion Avoiding Congestion.
Communication Networks Recitation 12: TCP Rehearsal.
Computer Networks: TCP Congestion Control 1 TCP Congestion Control Lecture material taken from “Computer Networks A Systems Approach”, Third Ed.,Peterson.
CSCE 515: Computer Network Programming Chin-Tser Huang University of South Carolina.
1 Spring Semester 2007, Dept. of Computer Science, Technion Internet Networking recitation #7 TCP New Reno Vs. Reno.
CSCE 515: Computer Network Programming Chin-Tser Huang University of South Carolina.
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.
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.
Transport: TCP Manpreet Singh (Slides borrowed from various sources on the web)
Congestion Avoidance and Control CSCI 780, Fall 2005.
1 Internet Networking Spring 2004 Tutorial 10 TCP NewReno.
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.
1 K. Salah Module 6.1: TCP Flow and Congestion Control Connection establishment & Termination Flow Control Congestion Control QoS.
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.
3: Transport Layer3b-1 Principles of Congestion Control Congestion: r informally: “too many sources sending too much data too fast for network to handle”
Transport Layer 4 2: Transport Layer 4.
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.
Principles of Congestion Control Congestion: informally: “too many sources sending too much data too fast for network to handle” different from flow control!
Congestion Control (cont’d). TCP Congestion Control Review Congestion control consists of 3 tasks  Detect congestion  Adjust sending rate  Determine.
What is TCP? Connection-oriented reliable transfer Stream paradigm
CS640: Introduction to Computer Networks Aditya Akella Lecture 15 TCP – III Reliability and Implementation Issues.
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:
1 TCP Timeout And Retransmission Chapter 21 TCP sets a timeout when it sends data and if data is not acknowledged before timeout expires it retransmits.
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.
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.
1 Computer Networks Congestion Avoidance. 2 Recall TCP Sliding Window Operation.
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.
TCP continued. Discussion – TCP Throughput TCP will most likely generate the saw tooth type of traffic. – A rough estimate is that the congestion window.
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.
© 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.
Karn’s Algorithm Do not use measured RTT to update SRTT and SDEV Calculate backoff RTO when a retransmission occurs Use backoff RTO for segments until.
Sandeep Kakumanu Smita Vemulapalli Gnan
Other Methods of Dealing with Congestion
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
TCP Vegas: New Techniques for Congestion Detection and Avoidance
COMP 431 Internet Services & Protocols
TCP Vegas: New Techniques for Congestion Detection and Avoidance
Precept 2: TCP Congestion Control Review
TCP - Part II Relates to Lab 5. This is an extended module that covers TCP flow control, congestion control, and error control in TCP.
Other Methods of Dealing with Congestion
Other Methods of Dealing with Congestion
CS4470 Computer Networking Protocols
TCP: Transmission Control Protocol Part II : Protocol Mechanisms
Presentation transcript:

TCP Vegas Kulan Kao 2006/3/25

TCP Vegas Proposed by Brakmo and Peterson in 1995. Congestion control algorithm: using RTT time to measure the network situation. Compare the expected efficiency and actual efficiency to decide whether increasing or decreasing the cwnd value.

TCP Vegas There are three ways proposed in Vegas to increase delivery throughput and decrease packet loss. Modified Slow-Start Mechanism New Congestion Avoidance Mechanism New Retransmission Mechanism

TCP Vegas Modified Slow-Start Mechanism Limited Slow-Start Mechanism To be able to detect and avoid congestion during slow-start, Vegas reduce the increasing rate of cwnd. Cwnd is allowed exponential growth only every other RTT. (doubles the size of cwnd every 2 RTT time while there are no losses). In between, the cwnd stayed fixed so a valid comparison of the expected and actual rate can be made. When the actual rate falls below the expected rate by a certain amount - the γ threshold - Vegas changes from slow-start mode to linear increase/decrease mode.

TCP Vegas Modified Slow-Start Mechanism By limiting the maximum increase in the cwnd in a round-trip time, Limited Slow-Start can reduce the number of drops during slow-start, and improve the performance of TCP connections with large congestion windows. When Vegas detect there is queuing in network , the queue length exceed γ,and the actual rate falls below the expected rate, Vegas will change its state from slow-start mode to congestion avoidance mode, and set cwnd to 7/8 of current value.

TCP Vegas New Congestion Avoidance Mechanism TCP Reno congestion control mechanism decide whether the network is congested or not by detecting the packet loss. As a result, TCP Reno will increase the size of window until packet loss happens, so Reno will face packet loss problem periodically. TCP Vegas has another New Congestion Avoidance Mechanism to control the size of cwnd by observing the variation of RTT. When the sender receives an ACK, Vegas calculate the difference between the expect send rate and the actual send rate.

TCP Vegas New Congestion Avoidance Mechanism Vegas defines two thresholds, α and β, and Diff = Expected send rate – Actual send rate Expected send rate= Windowsize / BaseRTT Actual send rate= (the bytes transmitted between the time that the segment is sent and its ACK is received) / (the Segment’s RTT) BaseRTT is the minimum of all measured RTT, that is updated if the Diff < 0.

TCP Vegas When Diff < α, Vegas increase the cwnd linearly during next RTT, and when Diff > β, Vegas decrease the cwnd linearly during the next RTT. Vegas leaves the cwnd unchanged when α < Diff < β. The default value of (α, β) is (1,3). TCP Vegas parameters

TCP Vegas New Retransmission Mechanism Vegas improved the Fast retransmit mechanism in order to detect packet loss earlier and retransmit immediately. 1.When a duplicate-ACK is received, Vegas checks if the RTT time, which is the difference of the current time and the timestamp recorded for the relevant segment, is greater than the timeout value. If it is, Vegas retransmit the segment immediately without 3 duplicate-ACKs.

TCP Vegas New Retransmission Mechanism 2.When a non-duplicate ACK is received, if it is the first second one after a transmission, Vegas again checks if the time interval since the segment was sent is larger than the timeout value. If it is, retransmit the segment. 3.Vegas only decreases the cwnd if the retransmitted segment was previously sent after the last decrease.

Exp10_1 TCP Vegas vs. TCP Vegas

Exp10_2 TCP Reno vs. TCP Vegas

Exp10_2 TCP Reno vs. TCP Vegas Advantages: In the Congestion Avoidance stage, Vegas can adjust cwnd efficiently according to the bandwidth, thus reduce packet lost, and improve the throughput under the effect of retransmission and timeout. TCP Vegas achieves between 40% and 70% better throughput and one-fifth to one-half the packet loss, when compare with TCP Reno. Disadvantages: 因為Vegas保守的搶buffer策略, 使它在與Reno共存的網路環境時, 當buffer數目小時, 可以比Reno有好的throughput, 當buffer數目增加時, 會使得大部份的buffer被Reno搶走, 所以不適合與其它的TCP共存.

Exp10_2 TCP Reno vs. TCP Vegas