27th, Nov 2001 GLOBECOM2001 1 /16 Analysis of Dynamic Behaviors of Many TCP Connections Sharing Tail-Drop / RED Routers Go Hasegawa Osaka University, Japan.

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

Computer Networking Lecture 20 – Queue Management and QoS.
Modeling TCP Throughput Jitendra Padhye Victor Firoiu Don Towsley Jim Kurose Presented by Jaebok Kim A Simple Model and its Empirical Validation.
TCP Vegas: New Techniques for Congestion Detection and Control.
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.
School of Information Technologies TCP Congestion Control NETS3303/3603 Week 9.
On Modeling Feedback Congestion Control Mechanism of TCP using Fluid Flow Approximation and Queuing Theory  Hisamatu Hiroyuki Department of Infomatics.
Transport Layer 3-1 outline r TCP m segment structure m reliable data transfer m flow control m congestion control.
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.
Explicit Congestion Notification ECN Tilo Hamann Technical University Hamburg-Harburg, Germany.
Transport Layer 3-1 Outline r TCP m Congestion control m Flow control.
Modeling TCP Throughput Jeng Lung WebTP Meeting 11/1/99.
Networks: Congestion Control1 Congestion Control.
Diffusion Mechanisms for Active Queue Management Department of Electrical and Computer Engineering University of Delaware May 19th / 2004 Rafael Nunez.
CSEE W4140 Networking Laboratory Lecture 7: TCP flow control and congestion control Jong Yul Kim
High-performance bulk data transfers with TCP Matei Ripeanu University of Chicago.
TCP Congestion Control TCP sources change the sending rate by modifying the window size: Window = min {Advertised window, Congestion Window} In other words,
1 Minseok Kwon and Sonia Fahmy Department of Computer Sciences Purdue University {kwonm, TCP Increase/Decrease.
Spring 2002CS 4611 Congestion Control Outline Queuing Discipline Reacting to Congestion Avoiding Congestion.
1 Random Early Detection Gateways for Congestion Avoidance Sally Floyd and Van Jacobson, IEEE Transactions on Networking, Vol.1, No. 4, (Aug 1993), pp
Computer Networking Lecture 17 – Queue Management As usual: Thanks to Srini Seshan and Dave Anderson.
Random Early Detection Gateways for Congestion Avoidance
TCP Congestion Control
CS :: Fall 2003 TCP Friendly Streaming Ketan Mayer-Patel.
Diffusion Mechanisms for Active Queue Management Department of Electrical and Computer Engineering University of Delaware May 19th / 2004 Rafael Nunez.
Diffusion Early Marking Department of Electrical and Computer Engineering University of Delaware May / 2004 Rafael Nunez Gonzalo Arce.
Advanced Computer Networks : RED 1 Random Early Detection Gateways for Congestion Avoidance Sally Floyd and Van Jacobson, IEEE Transactions on Networking,
Introduction 1 Lecture 14 Transport Layer (Congestion Control) slides are modified from J. Kurose & K. Ross University of Nevada – Reno Computer Science.
TCP: flow and congestion control. Flow Control Flow Control is a technique for speed-matching of transmitter and receiver. Flow control ensures that a.
CS640: Introduction to Computer Networks Aditya Akella Lecture 20 - Queuing and Basics of QoS.
Understanding the Performance of TCP Pacing Amit Aggarwal, Stefan Savage, Thomas Anderson Department of Computer Science and Engineering University of.
ACN: RED paper1 Random Early Detection Gateways for Congestion Avoidance Sally Floyd and Van Jacobson, IEEE Transactions on Networking, Vol.1, No. 4, (Aug.
Congestion Control - Supplementary Slides are adapted on Jean Walrand’s Slides.
1 On Class-based Isolation of UDP, Short-lived and Long-lived TCP Flows by Selma Yilmaz Ibrahim Matta Computer Science Department Boston University.
Queueing and Active Queue Management Aditya Akella 02/26/2007.
TCP with Variance Control for Multihop IEEE Wireless Networks Jiwei Chen, Mario Gerla, Yeng-zhong Lee.
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.
1 Analysis of a window-based flow control mechanism based on TCP Vegas in heterogeneous network environment Hiroyuki Ohsaki Cybermedia Center, Osaka University,
1 Computer Networks Congestion Avoidance. 2 Recall TCP Sliding Window Operation.
H. OhsakiITCom A control theoretical analysis of a window-based flow control mechanism for TCP connections with different propagation delays Hiroyuki.
Random Early Detection (RED) Router notifies source before congestion happens - just drop the packet (TCP will timeout and adjust its window) - could make.
Chapter 11.4 END-TO-END ISSUES. Optical Internet Optical technology Protocol translates availability of gigabit bandwidth in user-perceived QoS.
TCP transfers over high latency/bandwidth networks & Grid DT Measurements session PFLDnet February 3- 4, 2003 CERN, Geneva, Switzerland Sylvain Ravot
© Janice Regan, CMPT 128, CMPT 371 Data Communications and Networking Congestion Control 0.
Peer-to-Peer Networks 13 Internet – The Underlay Network
ECEN 619, Internet Protocols and Modeling Prof. Xi Zhang Random Early Detection Gateways for Congestion Avoidance Sally Floyd and Van Jacobson, IEEE Transactions.
CS492B Project #2 TCP Tutorial # Jin Hyun Ju.
@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.
Other Methods of Dealing with Congestion
Window Control Adjust transmission rate by changing Window Size
TCP Vegas Congestion Control Algorithm
Chapter 3 outline 3.1 transport-layer services
Chapter 6 TCP Congestion Control
TCP Vegas: New Techniques for Congestion Detection and Avoidance
EE 122: Router Support for Congestion Control: RED and Fair Queueing
TCP - Part II Relates to Lab 5. This is an extended module that covers TCP flow control, congestion control, and error control in TCP.
Lecture 19 – TCP Performance
Queuing and Queue Management
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
Other Methods of Dealing with Congestion
The University of Adelaide, School of Computer Science
Chapter 6 TCP Congestion Control
Project-2 (20%) – DiffServ and TCP Congestion Control
TCP Congestion Control
Transport Layer: Congestion Control
Presentation transcript:

27th, Nov 2001 GLOBECOM /16 Analysis of Dynamic Behaviors of Many TCP Connections Sharing Tail-Drop / RED Routers Go Hasegawa Osaka University, Japan

GLOBECOM /16 27th, Nov 2001 Backgrounds TCP (Transmission Control Algorithm) TCP (Transmission Control Algorithm)  Majority in the current Internet, also in the future Analytic investigation is necessary to understand its characteristics Analytic investigation is necessary to understand its characteristics

GLOBECOM /16 27th, Nov 2001 Past researches on TCP throughput analysis Long-term average throughput Long-term average throughput  Short-term throughput is important for short file transfer Assume constant packet loss ratio Assume constant packet loss ratio  Packet loss ratio changes dynamically due to bursty packet loss Assume RED works fine at the router Assume RED works fine at the router  Bad parameter setting degrades RED performance, causing bursty packet loss

GLOBECOM /16 27th, Nov 2001 Objectives Analysis of window size distribution of TCP connections Analysis of window size distribution of TCP connections  Using simple Markov modeling of TCP behavior  Many TCP connections accommodated  TD (Tail-Drop) and RED (Random Early Detection)  Effect of bursty packet loss Evaluation of TD/RED routers in terms of … Evaluation of TD/RED routers in terms of …  Short-term fairness among TCP connections  Effect of poor parameter set of RED  Effect of TD buffer size

GLOBECOM /16 27th, Nov 2001 Network model N sender hosts transmit packets to receiver host by TCP Reno N sender hosts transmit packets to receiver host by TCP Reno Two packet dropping disciplines at router Two packet dropping disciplines at router  TD (Tail Drop)  RED (Random Early Detection) Focus on changes of window size, and ssthresh value of TCP connection Focus on changes of window size, and ssthresh value of TCP connection Sender Host 1 Sender Host 2 Sender Host N Receiver Host TD/RED Router Buffer Size: B packets

GLOBECOM /16 27th, Nov 2001 Markov modeling of TCP behavior State is a combination of window size and ssthresh values of a TCP connection State is a combination of window size and ssthresh values of a TCP connection  (w i, t i ) State transition occurs at every RTT State transition occurs at every RTT  cwnd increases when no packet loss occurs  cwnd and ssth decrease when packet loss occurs State transition probabilities are dependent on… State transition probabilities are dependent on…  Packet loss probability at the router buffer  Slow start, congestion avoidance algorithms of TCP

GLOBECOM /16 27th, Nov 2001 Increasing window size When no packet loss occurs When no packet loss occurs  Probability: (1 – p) w i State transition from (w i, t i ) to … State transition from (w i, t i ) to …  (2w i, t i ) When w i < (1/2)t i (Slow Start Phase) When w i < (1/2)t i (Slow Start Phase)  (t i, t i ) When (1/2)t i < w i < t i (Phase Shift) When (1/2)t i < w i < t i (Phase Shift)  (w i +1, t i ) When t i < w i (Congestion Avoidance Phase) When t i < w i (Congestion Avoidance Phase)

GLOBECOM /16 27th, Nov 2001 Decreasing window size When packet loss occurs When packet loss occurs  Probability: 1- (1 - p) w i State transition from (w i, t i ) to … State transition from (w i, t i ) to …  (1, w i /2) When timeout occurs When timeout occurs  (w i /2, w i /2) When fast retransmit occurs When fast retransmit occurs Probability of timeout Probability of timeout  Dependent on w i and number of lost packets in a window

GLOBECOM /16 27th, Nov 2001 Packet loss probability: p Past researches assume p is constant Past researches assume p is constant Actually dependent on… Actually dependent on…  Router buffer size: B  Window size: w i  Packet discarding discipline TD (Tail Drop), RED (Random Early Detection) TD (Tail Drop), RED (Random Early Detection)

GLOBECOM /16 27th, Nov 2001 Tail-drop router Bursty packet loss occurs when the router buffer overflows Bursty packet loss occurs when the router buffer overflows To calculate p, we have derived … To calculate p, we have derived …  p overflow : frequency of buffer overflow  L overflow : # of lost packets in each buffer overflow  L i : # of lost packets for each TCP connection in each buffer overflow p = min(1, p overflow ・ L i /w i ) p = min(1, p overflow ・ L i /w i )

GLOBECOM /16 27th, Nov 2001 Tail-drop router (2) p overflow : frequency of buffer overflow p overflow : frequency of buffer overflow  Considering queue dynamics  1/(N(W f – Nw’) L overflow : # of lost packets in each buffer overflow L overflow : # of lost packets in each buffer overflow  Each TCP connection increases its window size by 1 packet at every RTT  N packets are lost in total L i : # of lost packets for each TCP connection in each buffer overflow L i : # of lost packets for each TCP connection in each buffer overflow  Proportional to window size of each TCP connection

GLOBECOM /16 27th, Nov 2001 RED router Packet discarding probability is determined from average queue length Packet discarding probability is determined from average queue length For applying to our model, we use instantaneous queue length; For applying to our model, we use instantaneous queue length;

GLOBECOM /16 27th, Nov 2001 RED router (2) q: queue length q: queue length  Assume that other TCP connections are in steady state, and queue length is affected only by w i q = ((N-1)/N)w* + w i – 2  q = ((N-1)/N)w* + w i – 2  p = p red (q) p = p red (q)

GLOBECOM /16 27th, Nov 2001 Accuracy of Analysis 1e Probability Density Function Window Size TD: Simulation TD: Analysis RED: Analysis RED: Simulation 1e Window Size TD: Simulation TD: Analysis RED: Analysis RED: Simulation B=8000 [packets]B=3000 [packets] N=1000, BW=1.5 Mbps,  =2 msec N=1000, BW=1.5 Mbps,  =2 msec

GLOBECOM /16 27th, Nov 2001 Fairness evaluation Fairness of TD is much affected by buffer size Fairness of TD is much affected by buffer size Variation of window size of RED is small, regardless of buffer size Variation of window size of RED is small, regardless of buffer size RED can provide better fairness in short-term TCP throughput RED can provide better fairness in short-term TCP throughput Window Size [packets] Buffer Size / max th [packets] TD % TD 99.99% RED % RED 99.99%

GLOBECOM /16 27th, Nov 2001 Conclusion Analysis of window size distribution of TCP connections Analysis of window size distribution of TCP connections  TD/RED disciplines  Burst packet loss Fairness evaluation of TD/RED router Fairness evaluation of TD/RED router  RED can give short-term fairness among connections

GLOBECOM /16 27th, Nov 2001

GLOBECOM /16 27th, Nov 2001 RED router Probability is changed according to average queue length Probability is changed according to average queue length Avoid buffer overflow, keep queue length low Avoid buffer overflow, keep queue length low max th min th 1 max p Queue Length Average Queue Length max th min th Queue Length [packets] Time [sec] Average Queue Length [packets] Packet Discarding Probability