1 TCP Vegas: New Techniques for Congestion Detection and Avoidance Lawrence S. Brakmo Sean W. O’Malley Larry L. Peterson Department of Computer Science.

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.
TCP Variations: Tahoe, Reno, New Reno, Vegas, Sack
Simulation-based Comparison of Tahoe, Reno, and SACK TCP Kevin Fall & Sally Floyd Presented: Heather Heiman September 10, 2002.
6/15/991 Re-engineering TCP Vegas Neal Cardwell Boris Bak.
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.
Different TCP Flavors CSCI 780, Fall TCP Congestion Control Slow-start Congestion Avoidance Congestion Recovery Tahoe, Reno, New-Reno SACK.
Cs/ee 143 Communication Networks Chapter 7 Transport Text: Walrand & Parakh, 2010 Steven Low CMS, EE, Caltech.
Improving TCP Performance over Mobile Ad Hoc Networks by Exploiting Cross- Layer Information Awareness Xin Yu Department Of Computer Science New York University,
TCP Congestion Control Dina Katabi & Sam Madden nms.csail.mit.edu/~dina 6.033, Spring 2014.
School of Information Technologies TCP Congestion Control NETS3303/3603 Week 9.
18 Nov 2009 TCP VEGAS Mohammad AlKurbi CMPT – 771: Internet Architecture and Protocols.
TCP Variations Naveen Manicka CISC 856 – Fall 2005 Computer & Information Sciences University of Delaware Nov 10, 2005 Most slides are borrowed from J.
1 Spring Semester 2007, Dept. of Computer Science, Technion Internet Networking recitation #7 TCP New Reno Vs. Reno.
1 Internet Networking Spring 2002 Tutorial 10 TCP NewReno.
Simulation based analysis of FAST TCP using OMNET++ Umair ul Hassan.
1 TCP Transport Control Protocol Reliable In-order delivery Flow control Responds to congestion “Nice” Protocol.
Transport: TCP Manpreet Singh (Slides borrowed from various sources on the web)
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.
TCP in Heterogeneous Network Md. Ehtesamul Haque # P.
CMPE 257 Spring CMPE 257: Wireless and Mobile Networking Spring 2005 E2E Protocols (point-to-point)
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.
Introduction 1 Lecture 14 Transport Layer (Congestion Control) slides are modified from J. Kurose & K. Ross University of Nevada – Reno Computer Science.
Qian Zhang Department of Computer Science HKUST Advanced Topics in Next- Generation Wireless Networks Transport Protocols in Ad hoc Networks.
Raj Jain The Ohio State University R1: Performance Analysis of TCP Enhancements for WWW Traffic using UBR+ with Limited Buffers over Satellite.
Much better than the old TCP Flavours 1Rajon Bhuiyan.
Improving TCP Performance over Mobile Networks Zahra Imanimehr Rahele Salari.
TCP Vegas Kulan Kao 2006/3/25.
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 - Part II Relates to Lab 5. This is an extended module that covers TCP data transport, and flow control, congestion control, and error control in.
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.
Lab The network simulator ns The network simulator ns Allows us to watch evolution of parameters like cwnd and ssthresh Allows us to watch evolution of.
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 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 TCP - Part II. 2 What is Flow/Congestion/Error Control ? Flow Control: Algorithms to prevent that the sender overruns the receiver with information.
1 Computer Networks Congestion Avoidance. 2 Recall TCP Sliding Window Operation.
Internet Networking recitation #11
CS 6401 Congestion Control in TCP Outline Overview of RENO TCP Reacting to Congestion SS/AIMD example.
TCP Congestion Control 컴퓨터공학과 인공지능 연구실 서 영우. TCP congestion control2 Contents 1. Introduction 2. Slow-start 3. Congestion avoidance 4. Fast retransmit.
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.
© Janice Regan, CMPT 128, CMPT 371 Data Communications and Networking Congestion Control 0.
@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.
@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.
Sandeep Kakumanu Smita Vemulapalli Gnan
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 Congestion Control Algorithm
TCP Vegas: New Techniques for Congestion Detection and Avoidance
CUBIC Marcos Vieira.
TCP Vegas: New Techniques for Congestion Detection and Avoidance
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
TCP Congestion Control
Congestion Control in TCP
Computer Science Division
Review of Internet Protocols Transport Layer
Presentation transcript:

1 TCP Vegas: New Techniques for Congestion Detection and Avoidance Lawrence S. Brakmo Sean W. O’Malley Larry L. Peterson Department of Computer Science University of Arizona Tucson, AZ Presented By Khandoker Nadim Parvez Computer Science University of Calgary

2 Outline Problem Statement / Motivation Background: TCP/TCP Reno TCP Vegas[1] –Modified Congestion Avoidance –Aggressive Retransmission –Aggressive Window Adaptation –Modified Slow-Start Simulation Results Vegas Revisit[2] –Effectiveness of Vegas Techniques Conclusion

3 Problem Statement / Motivation Problems of TCP (Reno) –TCP needs packet loss to infer available bandwidth –TCP reduces transmission rate in response to each packet loss Our motivation –To design a proactive TCP To design a TCP that will be able to track the bottleneck bandwidth without incurring packet loss –To response to a loss event, not each packet loss Multiple loss in a single window should be considered as a single loss event and hence should reduce the transmission rate only one once –To have a more aggressive TCP when we have proactive mechanism retransmission and transmission should be more aggressive

4 Outline Problem Statement / Motivation Background: TCP/TCP Reno TCP Vegas –Modified Congestion Avoidance –Aggressive Retransmission –Aggressive Window Adaptation –Modified Slow-Start Simulation Results Vegas Revisit –Effectiveness of Vegas Techniques Conclusion

5 Background: TCP Reliable ordered delivery –Reliability achieved by means of retransmissions if necessary Cumulative acknowledgements –An acks acknowledges all contiguously received data End-to-end semantics –Acknowledgements sent to TCP sender confirm delivery of data received by TCP receiver Implements Congestion Control –Slow-Start –Congestion Avoidance

6 TCP: Congestion Control Slow-Start Phase: When cwnd<ssthresh. cwnd increases exponentially,i.e. by 1 for each ACK. Congestion Avoidance Phase: When cwnd>ssthresh. Cwnd increases linearly, i.e., by 1 in each RTT. Transmission (without loss): –At 0 sec, cwnd=1 & speed= 1KB/S –At 1 sec, cwnd=2 & speed= 2KB/S –At 2 sec, cwnd=4 & speed= 4KB/S –At 3 sec, cwnd=8 & speed= 8KB/S –At 4 sec, cwnd=9 & speed= 9KB/S –At 5 sec, cwnd=10 & speed=10KB/S Slow start Congestion avoidance Slow start threshold (ssthresh=8) Receiver Window Sink TCP ACKACK 500ms, 20KB/S Source

7 TCP Reno Slow-Start Congestion Avoidance Fast Retransmit –Retransmits the loss packet when it receives 3 dupacks Fast Recovery –Enters into fast recovery with reception of 3 dupacks Sets ssthresh=cwnd/2 Sets cwnd=cwnd/2+3 –Exits fast recovery when receives the acknowledgement of the lost packet –Increases the congestion window by one for each received dupack Packet Sequence: Window

8 Outline Problem Statement / Motivation Background: TCP/TCP Reno TCP Vegas –Modified Congestion Avoidance –Aggressive Retransmission –Aggressive Window Adaptation –Modified Slow-Start Simulation Results Vegas Revisit –Effectiveness of Vegas Techniques Conclusion

9 TCP Vegas Developed over TCP Reno Modified Congestion Avoidance Aggressive Retransmission (use fine grained timer) –With dupacks –With partial acks Aggressive Congestion Window Adaptation –With recovery –With multiple loss –Initial setting Modified Slow-Start

10 Vegas: Modified Congestion Avoidance Vegas Calculates (Once per RTT):  Expected Throughput=WindowSize/BaseRTT  Actual Throughput= ActualSentAmount /RTT Static Parameters:   = 1 pkts/RTT   = 3 pkts/RTT

11 Vegas: Modified Congestion Avoidance Expected Throughput   Throughput Actual Throughput (  Tx Unchanged) (  Decrease Tx) (  Increase Tx)

12 Vegas: Modified Congestion Avoidance

13 Vegas: Modified Congestion Avoidance TCP transmission rate = cwnd/RTT TCP takes congestion window updating decision once per RTT The decision is applied throughput the next RTT for each received ACK as follows: Increase Tx Rate (Expected-Actual>  ) : :  cwnd = cwnd + 1/cwnd Decrease Tx Rate (Expected-Actual<  ) :  cwnd = cwnd - 1/cwnd Tx Rate Unchanged (  <Expected-Actual<  ) : :  cwnd = cwnd

14 Vegas: Aggressive Retransmission With dupacks –When Vegas receives the first dupack or the second dupacks, it checks the fine grained timer expiry –If timer expirers, it retransmits immediately With partial acks –For the first two partial acks, Vegas checks whether fine grained timer expires –If timer expires, it retransmits immediately Packet Sequence: Window

15 Vegas: Aggressive cwnd Updating With recovery –Reduce cwnd by one quarter instead of half when it enters into recovery With multiple loss –In case of multiple segment loss from a single window, it reduces the cwnd only once With Initial setting –cwnd is set to 2 instead of 1

16 Vegas: Modified Slow-Start Vegas Calculates (in every alternate RTT):  Expected Throughput=WindowSize/BaseRTT  Actual Throughput= ActualSentAmount /RTT Static Parameters:   = 1 pkts/RTT

17 Vegas: Modified Slow-Start Expected Throughput  Throughput Actual Throughput (  Switch to CA) (  Continue SS)

18 Vegas: Modified Slow-Start TCP keeps the congestion window fixed in every other RTT and it measures the throughput On every next RTT, it does the followings: Continue SS (Expected-Actual<  ) :  Exponential Increase.  cwnd = cwnd + 1 for each ACK, that is,  Cwnd = 2 * cwnd for each RTT Switch to CA (Expected-Actual>  ) :  Set ssthresh=cwnd  Follow the rules of CA

19 Outline Problem Statement / Motivation Background: TCP/TCP Reno TCP Vegas –Modified Congestion Avoidance –Aggressive Retransmission –Aggressive Window Adaptation –Modified Slow-Start Simulation Results Vegas Revisit –Effectiveness of Vegas Techniques Conclusion

20 Simulation Topology Target TCP runs from 1a to 1b Background traffic runs from 3a to 3b

21 TCP Reno with no Background Traffic

22 TCP Vegas with no Background Traffic

23 Vegas with Background Traffic

24 Vegas: Simulation Result

25 Vegas: Internet Experiments

26 Outline Problem Statement / Motivation Background: TCP/TCP Reno TCP Vegas –Modified Congestion Avoidance –Aggressive Retransmission –Aggressive Window Adaptation –Modified Slow-Start Simulation Results Vegas Revisit –Effectiveness of Vegas Techniques Conclusion

27 TCP Vegas Revisit: 3 Mechanisms Congestion Avoidance(CA) –Modified Congestion Avoidance Congestion Recovery(REC) –Aggressive Retransmission (use fine grained timer) With dupacks With partial acks –Aggressive Congestion Window Updating With recovery With multiple loss Slow-Start(SS) –Modified Slow-Start –Initial cwnd

28 Percentage of Throughput Variation LOW BACKGROUND TRAFFIC RENO BG.VEGAS BG. SS CA REC

29 Percentage of Throughput Variation HIGH BACKGROUND TRAFFIC RENO BG.VEGAS BG. SS CA REC

30 Effectiveness of Vegas Mechanisms Congestion Avoidance(CA) –Modified Congestion Avoidance Congestion Recovery(REC) –Aggressive Retransmission (use fine grained timer) With dupacks With partial acks (Retransmission with 1 st /2 nd partial ack) –Aggressive Congestion Window Updating With recovery (Reduction of cwnd by quarter) With multiple loss Slow-Start(SS) –Modified Slow-Start –Initial cwnd

31 Vegas CA: Condition of Increment

32 Vegas: Problems of CA [3] Unfair Treatment of Old Connections –Old connections have smaller baseRTT –Vegas decreases Tx Rate if –Vegas increases Tx Rate if Persistent Congestion

33 Outline Problem Statement / Motivation Background: TCP/TCP Reno TCP Vegas –Modified Congestion Avoidance –Aggressive Retransmission –Aggressive Window Adaptation –Modified Slow-Start Simulation Results Vegas Revisit –Effectiveness of Vegas Techniques Conclusion

34 Vegas: Conclusion Less fluctuation –Less fluctuation in bottleneck queue –Less fluctuation in send rate Enhanced Throughput Better Utilization of bottleneck capacity Unfair treatment of old connection Ineffectiveness of congestion avoidance

35 Questions ?

36 THANKS

37 Bibliography [1] Lawrence S. Brakmo and Larry L. Peterson, “TCP Vegas: End to end congestion avoidance on a global internet”, IEEE Journal on Selected Areas in Communication, 13(8): , October [2] U. Hengartner, J. Bolliger, and Th. Gross, "TCP Vegas Revisited," in Proc. of IEEE Infocom '2000, March [3] Mo, R. J. La, V. Anantharam, and J. Walrand, “Analysis and comparison of TCP Reno and Vegas”, Proc. of IEEE INFOCOM'99, New York, NY, March 1999.