Stochastic Differential Equation Modeling and Analysis of TCP - Windowsize Behavior Presented by Sri Hari Krishna Narayanan (Some slides taken from or.

Slides:



Advertisements
Similar presentations
Martin Suchara, Ryan Witt, Bartek Wydrowski California Institute of Technology Pasadena, U.S.A. TCP MaxNet Implementation and Experiments on the WAN in.
Advertisements

Michele Pagano – A Survey on TCP Performance Evaluation and Modeling 1 Department of Information Engineering University of Pisa Network Telecomunication.
TCP Variants.
Modeling TCP Throughput Jitendra Padhye Victor Firoiu Don Towsley Jim Kurose Presented by Jaebok Kim A Simple Model and its Empirical Validation.
1 Transport Protocols & TCP CSE 3213 Fall April 2015.
CS640: Introduction to Computer Networks Mozafar Bag-Mohammadi Lecture 3 TCP Congestion Control.
Restricted Slow-Start for TCP William Allcock 1,2, Sanjay Hegde 3 and Rajkumar Kettimuthu 1,2 1 Argonne National Laboratory 2 The University of Chicago.
Ahmed El-Hassany CISC856: CISC 856 TCP/IP and Upper Layer Protocols Slides adopted from: Injong Rhee, Lisong Xu.
Simulating Large Networks using Fluid Flow Model Yong Liu Joint work with Francesco LoPresti, Vishal Misra Don Towsley, Yu Gu.
Modeling TCP Congestion Control Don Towsley UMass Amherst collaborators: T. Bu, W. Gong, C. Hollot, V. Misra.
School of Information Technologies TCP Congestion Control NETS3303/3603 Week 9.
Texas A&M University Improving TCP Performance in High Bandwidth High RTT Links Using Layered Congestion Control Sumitha.
Chapter 3 Transport Layer slides are modified from J. Kurose & K. Ross CPE 400 / 600 Computer Communication Networks Lecture 12.
1 Equation-Based Congestion Control for Unicast Applications Sally Floyd, Mark Handley, Jitendra Padhye & Jorg Widmer August 2000, ACM SIGCOMM Computer.
Transport Layer3-1 Congestion Control. Transport Layer3-2 Principles of Congestion Control Congestion: r informally: “too many sources sending too much.
Stochastic Differential Equation Modeling and Analysis of TCP- Windowsize Behavior EE228a Class Presentation Anshi Liang.
Modeling TCP Throughput Jeng Lung WebTP Meeting 11/1/99.
Computer Networks: TCP Congestion Control 1 TCP Congestion Control Lecture material taken from “Computer Networks A Systems Approach”, Third Ed.,Peterson.
15-744: Computer Networking L-10 Congestion Control.
Network Bandwidth Allocation (and Stability) In Three Acts.
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.
1 Lecture 9: TCP and Congestion Control Slides adapted from: Congestion slides for Computer Networks: A Systems Approach (Peterson and Davis) Chapter 3.
1 TCP Transport Control Protocol Reliable In-order delivery Flow control Responds to congestion “Nice” Protocol.
Loss Model of TCP Presented by: Rajarshi Gupta WebTP Group.
Fluid-based Analysis of a Network of AQM Routers Supporting TCP Flows with an Application to RED Vishal Misra Wei-Bo Gong Don Towsley University of Massachusetts,
1 Emulating AQM from End Hosts Presenters: Syed Zaidi Ivor Rodrigues.
Data Communication and Networks
Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks Transport Protocols Slide 1 Transport Protocols.
Estimating Congestion in TCP Traffic Stephan Bohacek and Boris Rozovskii University of Southern California Objective: Develop stochastic model of TCP Necessary.
1 K. Salah Module 6.1: TCP Flow and Congestion Control Connection establishment & Termination Flow Control Congestion Control QoS.
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.
Lect3..ppt - 09/12/04 CIS 4100 Systems Performance and Evaluation Lecture 3 by Zornitza Genova Prodanoff.
Courtesy: Nick McKeown, Stanford 1 TCP Congestion Control Tahir Azim.
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.
Modeling TCP Throughput: A Simple Model and its Empirical Validation Ross Rosemark Penn State University.
CS540/TE630 Computer Network Architecture Spring 2009 Tu/Th 10:30am-Noon Sue Moon.
TFRC: TCP Friendly Rate Control using TCP Equation Based Congestion Model CS 218 W 2003 Oct 29, 2003.
Understanding the Performance of TCP Pacing Amit Aggarwal, Stefan Savage, Thomas Anderson Department of Computer Science and Engineering University of.
Principles of Congestion Control Congestion: informally: “too many sources sending too much data too fast for network to handle” different from flow control!
TCP CS 168 Discussion Week 6 Many thanks to past EE 122 GSIs.
B 李奕德.  Abstract  Intro  ECN in DCTCP  TDCTCP  Performance evaluation  conclusion.
Fluid-based Analysis of a Network of AQM Routers Supporting TCP Flows with an Application to RED Vishal Misra Wei-Bo Gong Don Towsley University of Massachusetts,
HighSpeed TCP for High Bandwidth-Delay Product Networks Raj Kettimuthu.
Lecture 9 – More TCP & Congestion Control
Transport Layer 3-1 Chapter 3 Transport Layer Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March
1 CS 4396 Computer Networks Lab TCP – Part II. 2 Flow Control Congestion Control Retransmission Timeout TCP:
Transport Layer 3- Midterm score distribution. Transport Layer 3- TCP congestion control: additive increase, multiplicative decrease Approach: increase.
Winter 2008CS244a Handout 71 CS244a: An Introduction to Computer Networks Handout 7: Congestion Control Nick McKeown Professor of Electrical Engineering.
1 Computer Networks Congestion Avoidance. 2 Recall TCP Sliding Window Operation.
1 Advanced Transport Protocol Design Nguyen Multimedia Communications Laboratory March 23, 2005.
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.
TCP/IP1 Address Resolution Protocol Internet uses IP address to recognize a computer. But IP address needs to be translated to physical address (NIC).
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.
1 ICCCN 2003 Modelling TCP Reno with Spurious Timeouts in Wireless Mobile Environments Shaojian Fu School of Computer Science University of Oklahoma.
Sandeep Kakumanu Smita Vemulapalli Gnan
A Stochastic Model of TCP Reno Congestion Avoidance and Control
TCP Westwood(+) Protocol Implementation in ns-3
TCP - Part II Relates to Lab 5. This is an extended module that covers TCP flow control, congestion control, and error control in TCP.
ECE 599: Multimedia Networking Thinh Nguyen
“Promoting the Use of End-to-End Congestion Control in the Internet”
TCP Throughput Modeling
COMP/ELEC 429/556 Fall 2017 Homework #2
TCP Congestion Control
The Transport Layer Reliability
Understanding Congestion Control Mohammad Alizadeh Fall 2018
TCP flow and congestion control
Presentation transcript:

Stochastic Differential Equation Modeling and Analysis of TCP - Windowsize Behavior Presented by Sri Hari Krishna Narayanan (Some slides taken from or based on presentations by Vishal Mishra)

Outline Introduction TCP window Algorithms Poisson counter driven stochastic differential equations Expressing windowsize changes Results Statistical tests

Introduction This work is directly related to Ross’ presentation last week. The authors propose a new model which is simpler and work with the same data as the previous paper to obtain similar results. TCP is the protocol of choice for communication for many applications. Modeling TCP is hence important. Other applications may use other protocols –TCP friendliness TCP shares the bandwidth fairly amongst hosts competing for network bandwidth

TCP Congestion Control: window algorithm Window: can send W packets at a time increase window by one per RTT if no loss, W <- W+1 each RTT decrease window by half on detection of loss W  W/2 slide taken from presentation by Vishal Mishra

TCP Congestion Control: window algorithm Window: can send W packets increase window by one per RTT if no loss, W <- W+1 each RTT decrease window by half on detection of loss W  W/2 sender receiver W slide taken from presentation by Vishal Mishra

TCP Congestion Control: window algorithm Window: can send W packets increase window by one per RTT if no loss, W <- W+1 each RTT decrease window by half on detection of loss W  W/2 sender receiver W slide taken from presentation by Vishal Mishra

TCP loss indications at the source There are two kinds –Time Outs(TO) –Triple Acknowledgements (TD) Effects on the TCP windowsize –TO causes windowsize to become 1 –TD causes windowsize to halve When there is no packet loss, the windowsize increases.

Other models Model TCP from the point of view of the source –Packets that the source injects into the network. Each packet has an associated loss probability. p – Identical for each packet –Can be dependent on factors such as the current windowsize

This model Models losses in a network centric way The network is the source of the congestion –Not the packets? Losses are events that arrive at the source –Arrivals are then modeled using statistical analysis –In this case arrivals are modeled as a Poisson process.

SDE based model Sender Loss Probability p i Traditional, Source centric loss model Sender Loss Indications arrival rate New, Network centric loss model Loss model enabled casting of TCP behavior as a Stochastic Differential Equation, roughly slide taken from presentation by Vishal Mishra

Refinement of SDE model W(t) = f(,R) Window Size is a function of loss rate (  and round trip time (R) R Network Network is a (blackbox) source of R and Solution: Express R and as functions of W (and N, number of flows) R slide taken from presentation by Vishal Mishra

Poisson Process What is it? –Process with exponential arrival times –Arrivals are independent of each other –Can be used to model natural occurrences Spotting fish in the ocean Occurrence of soft errors

Traffic model The increase in windowsize –Rises by 1 for every round trip time (RTT) Instead of step increase, the increase is considered to be continuous and represented as dt/RTT Falls by half for TD Falls to 1 for a TO

Poisson counter Poisson process N with arrival rate dN ={ 1 at Poisson arrival { 0 elsewhere E[dN] = dt This basically means that for poisson loss events in time dt, there will be spikes.

Poisson Counter Driven Stochastic differential equations (SDE) Dx = f(x(t))dt+∑gi(x(t))dN i dW = (dt /RTT) + (-W/2)dN TD +(1-W)dN TO First term indicates the additive increase of the TCP window Second and Third represent the multiplicative decrease.

SDE Graphical Representation Time Changing Window size W 1/RTT (-W/2)dN TD +(1-W)dN TO

What to do with the SDE There is a lot of mathematics possible This mathematics evaluates the expected value of the windowsize and the throughput of the network at steady state. E[W] =(1/RTT + TO ) /( TD /2 + TO ) R =(1/RTT)*E[W] =(1/RTT)(1/RTT + TO ) /( TD /2 + TO )

Windowsize at steady state Time Changing Window size W 1/RTT (-W/2)dN TD +(1-W)dN TO

Maximum windowsize considerations Restricts the maximum value of the windowsize to M. E[W] =((1- P[W=M]) /RTT + TO ) /( TD /2 + TO ) What does this mean –The continuous function rises as long as its value is not M. In that case it remains constant. After some mathematics, –P[W=M] =(2 TO2 + TO + TO TD + TO /RTT +2/ RTT 2 +2 /RTT ) (1/RTT+1)(2M TO + M TD +2 /RTT )

Windowsize at steady state with maximum window size Time Changing Window size W 1/RTT (-W/2)dN TD +(1-W)dN TO M

Other TCP features Slowstart –Considered unimportant by authors Timeout backoff –Modeled similarly to the maximum window

Comparison with other models This model can be transformed into one involving packet loss –Loss/sec = TO + TD –Packets/sec = R –Loss/packet = (Loss/sec) / (Packets/sec) = ( TO + TD ) /R

Comparison with other models This model can be transformed into one involving no timeouts – TO = 0, no arrival of timeouts –Earlier computation of E[W] changes –P[W=M] =(2 TO2 + TO + TO TD + TO /RTT +2/ RTT 2 +2 /RTT ) (1/RTT+1)(2M TO + M TD +2 /RTT ) –P[W=M] = (2/ RTT 2 +2 /RTT ) (1/RTT+1)(M TD +2 /RTT ) = (2/ RTT) (M TD +2 /RTT ) Similar changes can be made to account for no maximum window size

Results 1

Results 2

Results 3

Results -Analysis Closely mirrors earlier work –Except at low thoughput This represente very high loss zone (60-80%) –Does not really matter –Does not consider 1 hour traces at all So why use this model at all? –Simpler mathematics and analysis So how do we get this simple analytical model?

Trace analysis Loss inter arrival events tested for Independence –Lewis and Robinson test for renewal hypothesis –A sequence of recurrences T1,T2,... is a renewal process if the time between recurrences τj = Tj −j−, j =1, 2,... (T0 = 0) are independent and identically distributed. * Exponentiality –Anderson-Darling test The Anderson-Darling test is used to test if a sample of data came from a population with a specific distribution….. The Anderson-Darling test is an alternative to the chi-square and Kolmogorov-Smirnov goodness-of-fit tests.** slide based on presentation by Vishal Mishra * stat533stuff/psnups/chapter16_psnup.pdf **

Scatter plot of statistic slide based on presentation by Vishal Mishra

Experiment 1 slide taken from presentation by Vishal Mishra

Experiment 2 slide taken from presentation by Vishal Mishra

Experiment 3 slide taken from presentation by Vishal Mishra

Experiment 4 slide taken from presentation by Vishal Mishra

So are there any more magic fits and tests? Definitely there are more traces that can fit Poisson distribution. Motivating Example –Soft errors Cosmic particles hit the chip to cause bit flips The existence of these particles can be modeled using a Poisson process. What about other distributions? –Definitely, there may be other distributions and related mathematics.

Thank you