A Stochastic Model for TCP with Stationary Random Losses

Similar documents
A Stochastic Model of TCP/IP with Stationary Random Losses

TCP modeling in the presence of nonlinear window growth

A Stochastic Model of TCP/IP with Stationary Random Losses

Analysis of Scalable TCP in the presence of Markovian Losses

Analysis of TCP Westwood+ in high speed networks

IN today s high speed telecommunication networks, a large

Modeling Impact of Delay Spikes on TCP Performance on a Low Bandwidth Link

On Buffer Limited Congestion Window Dynamics and Packet Loss

jwperiod. font=small,labelsep=jwperiod,justification=justified,singlelinecheck=false

Compound TCP with Random Losses

Modelling TCP with a Discrete Time Markov Chain

Capturing Network Traffic Dynamics Small Scales. Rolf Riedi

Communications and Signal Processing Spring 2017 MSE Exam

cs/ee/ids 143 Communication Networks

Markovian Model of Internetworking Flow Control

Compound TCP with Random Losses

Analysis of two competing TCP/IP connections

A flow-based model for Internet backbone traffic

Internet Congestion Control: Equilibrium and Dynamics

Stochastic Hybrid Systems: Applications to Communication Networks

Reliable Data Transport: Sliding Windows

TCP over Cognitive Radio Channels

NICTA Short Course. Network Analysis. Vijay Sivaraman. Day 1 Queueing Systems and Markov Chains. Network Analysis, 2008s2 1-1

THE prediction of network behavior is an important task for

Methodology for Computer Science Research Lecture 4: Mathematical Modeling

Wireless Internet Exercises

Analysis of TCP-AQM Interaction via Periodic Optimization and Linear Programming: The Case of Sigmoidal Utility Function

SPLITTING AND MERGING OF PACKET TRAFFIC: MEASUREMENT AND MODELLING

Stochastic Hybrid Systems: Applications to Communication Networks

TWO PROBLEMS IN NETWORK PROBING

Comparison of TCP Reno and TCP Vegas via Fluid Approximation

Transient Behaviors of TCP-friendly Congestion Control Protocols

Min Congestion Control for High- Speed Heterogeneous Networks. JetMax: Scalable Max-Min

TCP-friendly SIMD Congestion Control and Its Convergence Behavior

Modelling an Isolated Compound TCP Connection

Processor Sharing Flows in the Internet

Introduction to queuing theory

AIMD, Fairness and Fractal Scaling of TCP Traffic

OSCILLATION AND PERIOD DOUBLING IN TCP/RED SYSTEM: ANALYSIS AND VERIFICATION

CS276 Homework 1: ns-2

Multiplicative Multifractal Modeling of. Long-Range-Dependent (LRD) Trac in. Computer Communications Networks. Jianbo Gao and Izhak Rubin

Queueing Theory I Summary! Little s Law! Queueing System Notation! Stationary Analysis of Elementary Queueing Systems " M/M/1 " M/M/m " M/M/1/K "

Exact Sampling of TCP Window States

Stochastic Hybrid Systems: Modeling, analysis, and applications to networks and biology

Window Size. Window Size. Window Size. Time. Time. Time

WiFi MAC Models David Malone

CSE 123: Computer Networks

and ECN. The window distribution of individual ows under a variable packet loss/marking probability is established and studied to demonstrate the desi

Introduction to Markov Chains, Queuing Theory, and Network Performance

A Simple Model for the Window Size Evolution of TCP Coupled with MAC and PHY Layers

Theoretical Analysis of Performances of TCP/IP Congestion Control Algorithm with Different Distances

Models and Techniques for Network Tomography

Extended Analysis of Binary Adjustment Algorithms

Fair rate sharing models in a CDMA link with multiple classes of elastic traffic

Window Flow Control Systems with Random Service

Centralized Wireless Data Networks: Performance Analysis

ACK-Clocking Dynamics: Modelling the Interaction between Windows and the Network

Resource Allocation and Pricing. R. Srikant University of Illinois

Some Background Information on Long-Range Dependence and Self-Similarity On the Variability of Internet Traffic Outline Introduction and Motivation Ch

Analytic Performance Evaluation of the RED Algorithm

Stochastic process. X, a series of random variables indexed by t

Resource Allocation for Video Streaming in Wireless Environment

Positive Harris Recurrence and Diffusion Scale Analysis of a Push Pull Queueing Network. Haifa Statistics Seminar May 5, 2008

Utility Analysis of Simple FEC Schemes for VoIP

Tuning the TCP Timeout Mechanism in Wireless Networks to Maximize Throughput via Stochastic Stopping Time Methods

Q = (c) Assuming that Ricoh has been working continuously for 7 days, what is the probability that it will remain working at least 8 more days?

Performance Modeling of TCP/AQM with Generalized AIMD under Intermediate Buffer Sizes

Stochastic Ordering for Internet Congestion Control and its Applications

Performance Evaluation of Queuing Systems

Controlo Switched Systems: Mixing Logic with Differential Equations. João P. Hespanha. University of California at Santa Barbara.

Performance de Compound TCP en présence de pertes aléatoires

Exponential Distribution and Poisson Process

Network Traffic Characteristic

Class 11 Non-Parametric Models of a Service System; GI/GI/1, GI/GI/n: Exact & Approximate Analysis.

A Mathematical Model of the Skype VoIP Congestion Control Algorithm

CPSC 531: System Modeling and Simulation. Carey Williamson Department of Computer Science University of Calgary Fall 2017

Load Balancing in Distributed Service System: A Survey

Impact of Cross Traffic Burstiness on the Packet-scale Paradigm An Extended Analysis

Switched Systems: Mixing Logic with Differential Equations

E8 TCP. Politecnico di Milano Scuola di Ingegneria Industriale e dell Informazione

A New Technique for Link Utilization Estimation

PIQI-RCP: Design and Analysis of Rate-Based Explicit Congestion Control

Comparative Study of Different Adaptive Window Protocols

Stochastic Hybrid Systems: Recent Developments and Research Trends

communication networks

On the autocorrelation structure of TCP traffic q

Poisson Cluster process as a model for teletraffic arrivals and its extremes

requests/sec. The total channel load is requests/sec. Using slot as the time unit, the total channel load is 50 ( ) = 1

Effect of the Traffic Bursts in the Network Queue

384Y Project June 5, Stability of Congestion Control Algorithms Using Control Theory with an application to XCP

Modeling and Stability of PERT

Performance Analysis and Stochastic Stability of Congestion Control Protocols

High speed access links. High speed access links. a(t) process (aggregate traffic into buffer)

Continuous-time hidden Markov models for network performance evaluation

Lecture 7: Simulation of Markov Processes. Pasi Lassila Department of Communications and Networking

An Evolutionary Game approach for the design of congestion control protocols in wireless networks

Queue Analysis for Wireless Packet Data Traffic

Computer Networks ( Classroom Practice Booklet Solutions)

Chapter 2 Random Processes

Performance Analysis of Priority Queueing Schemes in Internet Routers

Transcription:

A Stochastic Model for TCP with Stationary Random Losses Eitan Altman, Kostya Avrachenkov Chadi Barakat INRIA Sophia Antipolis - France ACM SIGCOMM August 31, 2000 Stockholm, Sweden

Introduction Outline Some facts about TCP and loss events in the Internet Our models A fluid model for rate evolution of TCP A general model for losses Performance analysis Throughput calculation Specification of the result to particular loss processes Introduction of Timeouts and bounds for the window limitation case Model validation and concluding remarks August 31, 2000 2

TCP and losses TCP congestion control An additive-increase multiplicative-decrease strategy for congestion control in the Internet Packet losses for congestion detection (possibly ECN) When looking at the rate level Loss event (or congestion event): An event that causes the reduction of the congestion window by a constant factor. Interpretation: Depends on the version of TCP One packet loss for Reno One lossy round trip-time for Tahoe, New-Reno and SACK August 31, 2000 3

Losses and TCP modeling TCP modeling requires a good characterization of times between loss events. Simple loss processes have been considered in the literature (Deterministic e.g., [Mathis, Semke, Mahdavi, 1997], Poisson e.g., [Misra, Gong, Towsly, 1999]) TCP throughput has been expressed only as a function of the average loss rate (e.g., p, λ) But, the Internet is so heterogeneous that losses may exhibit a more complicated distribution What do our measurements tell us? August 31, 2000 4

Measurement testbed ESSI - Sophia Antipolis LAN MAN ENST - Paris WAN INRIA - Sophia Antipolis Univ. of South Australia Three long-life unlimited-data TCP transfers (New Reno version) Develop and run a tool at INRIA that detects loss events Store traces in separate files at fixed intervals (20, 40, and 60 min) August 31, 2000 5

Some inter-loss time distributions LAN Density function Measurements Exponential Highly bursty Inter-loss time (s) August 31, 2000 6

Some inter-loss time distributions MAN Density function Measurements Normal Close to Normal Inter-loss time (s) August 31, 2000 7

Some inter-loss time distributions WAN Density function Measurements Exponential Close to Poisson Inter-loss time (s) August 31, 2000 8

Some correlation coefficients LAN WAN Higher correlation is expected on paths with a significant memory (e.g., wireless links, satellite links). August 31, 2000 9

Our model for losses Consider the loss events as a point process Denote by {S n } the times between losses The only assumption we made: {S n } stationary and ergodic Notation: Average inter-loss time: d = 1/λ = E[S n ] Correlation functions: R(k) = E[S n S n+k ], k=0,1,... Covariance functions: C(k) = R(k) - d 2, k=0,1,... Normalized functions: ^R(k) = R(k)/d 2, C(k) ^ = C(k)/d 2 August 31, 2000 10

Our fluid model for TCP Consider a long TCP transfer with infinite amount of data to send Denote by X(t) the rate of the connection at time t (=W(t)/RTT ) X(t) Linear increase at rate α = 1 brtt X n X n+1 X n+2 2 Congestion detection Multiplicative decrease by ν (typically 0.5) S n S n+1 t August 31, 2000 11

Performance analysis Input parameters Parameters of the loss process Parameters of the connection Output parameter Throughput of the connection X = 1 lim t t t 0 X ( τ ) dτ August 31, 2000 12

Stochastic Difference Equation Consider the rate between loss n and loss n+1 X n+1 =ν X + α n S n Using Theorem 2A in [Glasserman and Yao,1995] The difference equation has a unique stationary solution X * n X n converges to X n* for any initial state X 0 {X n } is an ergodic process August 31, 2000 13

Calculation of the throughput Using Palm theory X = with 0 * 0 * E[ X ( t)] = λ E [ A ] = λe [ νx S + X n+1 * X n * X * n = α n k = 0 ν k S n 1 k n n 1 2 αs 2 n ] A n * S n t n t n+1 X + k = 1 = 1 k λα[ R(0) ν R( k )] 2 August 31, 2000 14

With packet drop probability Let p denote the probability at which a packet is lost in average λ = p X X = RTT 1 bp 1+ ν 2(1 ν ) + 1 2 C(0) + k = 1 k ν C( k) Due to loss rate Due to variance Due to correlation August 31, 2000 15

Specification of the model 1 RTT 3 2bp Deterministic losses: (square root formula) X = Poisson loss process: X = 1 RTT 2 bp General renewal process: X 1 RTT 1 3 + bp 2 1 Var( S 2 d = 2 n ) Markovian arrival process (see paper): The characteristics of the loss process in the connection depend on the state of the system which has a Markovian evolution. Loss events may occur between and during state transitions. August 31, 2000 16

Case of rate limitation TCP rate increase stops when the receiver window is reached. M 1 New SDE: X = min( 2 X + α S, ) n+ 1 n n M The system converges to a stationary regime, but obtaining an explicit expression of the throughput for a general loss process seems to be impossible given the non-linearity of the model. We calculate bounds on the throughput which are also a good approximation of the throughput. August 31, 2000 17

Introduction of Timeouts TCP may stay idle for a long time before the detection of a loss. S n S n+1 X ' = Average rate when excluding TO intervals X X '(1 λ E[ Z Z > = TO n n 0]) S n Z n S n+1 Timeout Duplicate ACKs or X ' X = 1+ px ' Q( p) Z( p) Q(p) = P(Z n > 0) Z(p) = E[Z n Z n > 0] August 31, 2000 18

Validation of the model Instead of validating once the overall model, we chose to validate separately: The model for losses: We compare the results of our model to a reference throughput, the one obtained by a fluid LIMD flow control mechanism. We construct this fluid model using the traces of a real TCP connection. Window size (bytes) The model for TCP rate evolution: The main objective is to validate the assumption on the linearity of rate increase. Real TCP Ideal fluid model Time (s) August 31, 2000 19

Impact of inter-loss times With a small number of correlation coefficients, we are able to estimate correctly the reference throughput. The correlation in our experimentation has not a great impact. A renewal model for losses is quite sufficient. The estimate of the throughput increases with the variance of the inter-loss times: On LAN, deterministic and Poisson losses lead to an underestimation. On MAN, Poisson losses lead to an overestimation. On WAN, deterministic losses lead to an underestimation. August 31, 2000 20

Impact of inter-loss times An example of results: Throughput evolution during a day... LAN WAN TCP throughput (kbps) Deterministic Poisson Exact, IID Exact, IID, Poisson Deterministic Day time (hours) Day time (hours) August 31, 2000 21

Did we model TCP correctly? We compare the reference throughput to the real one... LAN WAN TCP throughput (kbps) Real TCP Ideal TCP Ideal TCP, Real TCP Deterministic losses Deterministic losses Day time (hours) Day time (hours) Good approximation on WAN, but a significant overestimation when the window size is comparable to the bandwidth-delay product (e.g., LAN) August 31, 2000 22

Sublinearity of TCP rate increase Main cause of the overestimation we observed in LAN: TCP window increases linearly as a function of RTT number rather than time. In LAN in particular, and on paths where the window size is comparable to the bandwidthdelay product in general, the increase in TCP window results in an increase in RTT (once the bottleneck link is fully utilized). A correlated increase between window and RTT results in a sublinear increase in window and rate (the rate stabilizes if the connection is running alone on the path). Time (s) A sublinear rate increase leads to less throughput than a linear one. August 31, 2000 23

Window and RTT Round-trip time (s) For a single trace file LAN WAN Samples Average + TCP window (bytes) TCP window (bytes) Linear window increase models often used in the literature work well when the window and the RTT are independent from each other. Existing models need to be extended to the case when they are dependent. August 31, 2000 24

Correction for the fluid assumption Window size (packets) X dis = X 1 2 RTT LAN * E[ X n ]. RTT 2E[ S ] n With this correction, our model with deterministic inter-loss times gives the same performance as the detailed packet level model in [Padhye,Firoiu,Towsly,Kurose,1998] Day time (hours) August 31, 2000 25 TCP throughput (kbps) Deterministic losses Real TCP

Summary A good modeling of TCP requires: A good characterization of inter-loss times. The second moment and some correlation coefficients need to be found. These coefficients can be measured or calculated from another model for the network (e.g., as a function of the packet drop probability p). A good characterization of TCP window evolution. The dependency between window and RTT needs to be considered. The errors introduced by these two characterizations may be in opposite directions and cancel each other, resulting in an overall throughput close to the real one (e.g., LAN, assuming that interloss times are deterministic). August 31, 2000 26