TCP Cubic CS577 Brett Levasseur 10/1/2013.

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

A Survey of Recent High Speed TCP Variants
CSCI-1680 Transport Layer II Based partly on lecture notes by David Mazières, Phil Levis, John Jannotti Rodrigo Fonseca.
TCP Variants.
FAST TCP Anwis Das Ajay Gulati Slides adapted from : IETF presentation slides Link:
Lecturer: Namratha Vedire
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.
EE 122: Congestion Control The Sequel October 1, 2003.
Ahmed El-Hassany CISC856: CISC 856 TCP/IP and Upper Layer Protocols Slides adopted from: Injong Rhee, Lisong Xu.
CUBIC : A New TCP-Friendly High-Speed TCP Variant Injong Rhee, Lisong Xu Member, IEEE v 0.2.
CUBIC Qian HE (Steve) CS 577 – Prof. Bob Kinicki.
Advanced Computer Networking Congestion Control for High Bandwidth-Delay Product Environments (XCP Algorithm) 1.
Congestion Control on High-Speed Networks
Texas A&M University Improving TCP Performance in High Bandwidth High RTT Links Using Layered Congestion Control Sumitha.
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.
CSEE W4140 Networking Laboratory Lecture 7: TCP flow control and congestion control Jong Yul Kim
TCP Congestion Control TCP sources change the sending rate by modifying the window size: Window = min {Advertised window, Congestion Window} In other words,
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.
Introduction 1 Lecture 14 Transport Layer (Congestion Control) slides are modified from J. Kurose & K. Ross University of Nevada – Reno Computer Science.
1 EE 122: Advanced TCP Ion Stoica TAs: Junda Liu, DK Moon, David Zats (Materials with thanks to Vern Paxson,
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.
Implementing High Speed TCP (aka Sally Floyd’s) Yee-Ting Li & Gareth Fairey 1 st October 2002 DataTAG CERN (Kinda!)
EE 122: Congestion Control and Avoidance Kevin Lai October 23, 2002.
Congestion Control for High Bandwidth-Delay Product Networks D. Katabi (MIT), M. Handley (UCL), C. Rohrs (MIT) – SIGCOMM’02 Presented by Cheng.
BIC Control for Fast Long-Distance Networks paper written by Injong Rhee, Lisong Xu & Khaled Harfoush (2004) Presented by Jonathan di Costanzo (2009/02/18)
Paper Review: Latency Evaluation of Networking Mechanisms for Game Traffic Jin, Da-Jhong.
TCP CUBIC in ns-3 CS577 Brett Levasseur 12/10/2013.
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
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:
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 transfers over high latency/bandwidth networks Internet2 Member Meeting HENP working group session April 9-11, 2003, Arlington T. Kelly, University.
1 Computer Networks Congestion Avoidance. 2 Recall TCP Sliding Window Operation.
Janey C. Hoe Laboratory for Computer Science at MIT 노상훈, Pllab.
Recap of Lecture 19 If symptoms persist, please consult Dr Jacobson.
Computer Networks Lecture 10: Transport layer Part III
CS 6401 Congestion Control in TCP Outline Overview of RENO TCP Reacting to Congestion SS/AIMD example.
TCP transfers over high latency/bandwidth networks & Grid DT Measurements session PFLDnet February 3- 4, 2003 CERN, Geneva, Switzerland Sylvain Ravot
Congestion Control CS 168 Discussion Week 7. RECAP: How does TCP set rate? How much data can be outstanding? – min{RWND, CWND} RWND: do not overload the.
An Analysis of AIMD Algorithm with Decreasing Increases Yunhong Gu, Xinwei Hong, and Robert L. Grossman National Center for Data Mining.
@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: Primal-Dual Resource Allocation; TCP in New Settings Y. Richard Yang 4/6/2016.
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.
Distributed Systems 11. Transport Layer
13. TCP Flow Control and Congestion Control – Part 2
CS450 – Introduction to Networking Lecture 19 – Congestion Control (2)
Chapter 3 outline 3.1 transport-layer services
CUBIC Marcos Vieira.
Chapter 6 TCP Congestion Control
Congestion Control.
Introduction to Congestion Control
Transport Protocols over Circuits/VCs
TransPAC HPCC Engineer
TCP Westwood(+) Protocol Implementation in ns-3
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.
Congestion Control in TCP
CS4470 Computer Networking Protocols
EE 122: Lecture 10 (Congestion Control)
EE 122: Congestion Control The Sequel
Computer Science Division
Transport Layer: Congestion Control
TCP flow and congestion control
Network Transport Layer: TCP/Reno Analysis, TCP Cubic, TCP/Vegas
Review of Internet Protocols Transport Layer
Presentation transcript:

TCP Cubic CS577 Brett Levasseur 10/1/2013

Outline Introduction TCP BIC TCP CUBIC 10/1/2013

Introduction TCP grows cwnd too slowly for large bandwidth connections New TCP Variant needed Almost 1.4 hours to take up ½ possible cwnd 1,250 byte packets ssthresh ~ 8000 bytes 100ms RTT 10/1/2013

BIC Binary Increase Congestion Control (BIC) New variables and constants Wmax, Wmin, Smax, Smin Goals Grow cwnd faster without overshooting Stability Scalability Fair to multiple TCP flows 10/1/2013

BIC Additive Increase Binary Search Max Probing Increase cwnd by Smax Binary Search Grow by half distance to Wmax Max Probing Find new Wmax Reduce cwnd by factor of β during loss 12/9/2018

BIC ACK (Binary Search) Recovery If cwnd < Wmax Else cwnd += (Wmax – cwnd) / 2 Else cwnd += cwnd - Wmax Recovery If cwnd < Wmax Wmax = cwnd * (1 – ß / 2) Else Wmax = cwnd cwnd *= 1 - ß [Qian He] cwnd Compare Grow 128 > Smax 64 96 > Smax 128 64 = Smax 192 Smin < 32 32 224 Smin < 16 16 240 Smin < 8 8 248 Smin < 4 4 252 Smin >= 2 NA Smax = 64 Smin = 2 Wmax = 256 Wmin = 0 12/9/2018

BIC Example Wmax = 256 cwnd Wmin = 0 RTT [Qian He] 10/1/2013

BIC Problems Complicated algorithm BIC cwnd growth too aggressive Requires different concave and convex algorithms BIC cwnd growth too aggressive Especially with short RTT and low speed links Not fair enough 10/1/2013

CUBIC Simpler cubic function than BIC algorithms Growth function less aggressive than BIC CUBIC has 3 cwnd growth modes 10/1/2013

TCP-friendly Determine how normal TCP would grow cwnd Get average window size under AIMD For TCP: t – Elapsed time If Wtcp(t) > W(t) then cwnd = Wtcp(t) Good for small RTT 10/1/2013

Concave Mode cwnd >= Wtcp(t) and cwnd < Wmax cwnd += C is a scaling factor t time since packet loss Wmax window before packet loss K time period to increase cwnd to Wmax cwnd += 10/1/2013

Convex Mode (Max Probing) Increase cwnd slowly at first Gradually increase cwnd growth Look for new Wmax Same formula as Concave mode cwnd += 10/1/2013

Packet Loss Reduce window by factor of β Update K Fast Convergence Lower cwnd to account for new TCP flows Keep previous Wmax as Wlast_max If Wmax < Wlast_max then assume new flow 10/1/2013

Questions 10/1/2013

References S. Ha, I. Rhee, L. Xu. CUBIC: A New TCP-Friendly High-Speed TCP Variant. Q. He. CUBIC. http://web.cs.wpi.edu/~rek/Adv_Nets/Fall2013/Cubic.pptx 10/1/2013