TCP performance analysis through. processor sharing modeling

Similar documents
An integrated packet/flow model for TCP performance analysis

Congestion Control in TCP

Cover sheet for Assignment 3

Comparison of TCP Performance Models

Congestion Control in TCP

Investigating the Use of Synchronized Clocks in TCP Congestion Control

Lecture 5: Performance Analysis I

Congestion Control in TCP

Oscillations and Buffer Overflows in Video Streaming under Non- Negligible Queuing Delay

Quality of Service in Telecommunication Networks

2.993: Principles of Internet Computing Quiz 1. Network

Edge versus Host Pacing of TCP Traffic in Small Buffer Networks

The Controlled Delay (CoDel) AQM Approach to fighting bufferbloat

3. Examples. Contents. Classical model for telephone traffic (1) Classical model for telephone traffic (2)

CS4700/CS5700 Fundamentals of Computer Networks

Lecture 21: Congestion Control" CSE 123: Computer Networks Alex C. Snoeren

Teletraffic theory (for beginners)

The War Between Mice and Elephants

DIMENSIONING OF IP ACCESS NETWORKS WITH ELASTIC TRAFFIC

End-to-End Mechanisms for QoS Support in Wireless Networks

One More Bit Is Enough

Router s Queue Management

Principles of congestion control

CS 349/449 Internet Protocols Final Exam Winter /15/2003. Name: Course:

Improving Internet Congestion Control and Queue Management Algorithms. Wu-chang Feng March 17, 1999 Final Oral Examination

Overview. TCP & router queuing Computer Networking. TCP details. Workloads. TCP Performance. TCP Performance. Lecture 10 TCP & Routers

TCP Congestion Control

Congestion Control for High Bandwidth-delay Product Networks. Dina Katabi, Mark Handley, Charlie Rohrs

COMP/ELEC 429/556 Introduction to Computer Networks

Queuing Networks Modeling Virtual Laboratory

Congestion Avoidance

CS519: Computer Networks. Lecture 5, Part 4: Mar 29, 2004 Transport: TCP congestion control

Simulation Studies of the Basic Packet Routing Problem

CSC 4900 Computer Networks: TCP

Power Laws in ALOHA Systems

Chapter 3 Transport Layer

WB-RTO: A Window-Based Retransmission Timeout. Ioannis Psaras, Vassilis Tsaoussidis Demokritos University of Thrace, Xanthi, Greece

CSE 123A Computer Networks

Random Early Detection (RED) gateways. Sally Floyd CS 268: Computer Networks

Multimedia-unfriendly TCP Congestion Control and Home Gateway Queue Management

Computer Network Fundamentals Spring Week 10 Congestion Control Andreas Terzis

Congestion Control. Daniel Zappala. CS 460 Computer Networking Brigham Young University

On TCP friendliness of VOIP traffic

Time-Step Network Simulation

Models. Motivation Timing Diagrams Metrics Evaluation Techniques. TOC Models

Enhancing TCP Throughput over Lossy Links Using ECN-Capable Capable RED Gateways

Bandwidth Allocation & TCP

Lecture 22: Buffering & Scheduling. CSE 123: Computer Networks Alex C. Snoeren

The War Between Mice and Elephants

Traffic theory for the Internet and the future Internet

TCP and BBR. Geoff Huston APNIC. #apricot

Transport Layer Congestion Control

EP2210 Scheduling. Lecture material:

TCP Congestion Control : Computer Networking. Introduction to TCP. Key Things You Should Know Already. Congestion Control RED

CS244 Advanced Topics in Computer Networks Midterm Exam Monday, May 2, 2016 OPEN BOOK, OPEN NOTES, INTERNET OFF

10. Network dimensioning

Lecture 21. Reminders: Homework 6 due today, Programming Project 4 due on Thursday Questions? Current event: BGP router glitch on Nov.

Congestion Control in Communication Networks

Hybrid Control and Switched Systems. Lecture #17 Hybrid Systems Modeling of Communication Networks

Lecture 15: Transport Layer Congestion Control

Investigating the Use of Synchronized Clocks in TCP Congestion Control

CS 268: Lecture 7 (Beyond TCP Congestion Control)

TCP Westwood and Easy Red to Improve Fairness in High-speed Networks. PfHsn 2002 Berlin, 22 April 2002

Queueing Networks. Lund University /

15-744: Computer Networking TCP

FluNet: A Hybrid Internet Simulator for Fast Queue Regimes

Chapter 3 Transport Layer

On Network Dimensioning Approach for the Internet

Chapter 3 outline. 3.5 Connection-oriented transport: TCP. 3.6 Principles of congestion control 3.7 TCP congestion control

Congestion Control End Hosts. CSE 561 Lecture 7, Spring David Wetherall. How fast should the sender transmit data?

Improving Accuracy in End-to-end Packet Loss Measurement

CS 556 Advanced Computer Networks Spring Solutions to Midterm Test March 10, YOUR NAME: Abraham MATTA

Computer Networks. Course Reference Model. Topic. Congestion What s the hold up? Nature of Congestion. Nature of Congestion 1/5/2015.

Congestion. Can t sustain input rate > output rate Issues: - Avoid congestion - Control congestion - Prioritize who gets limited resources

A Probabilistic Approach for Achieving Fair Bandwidth Allocations in CSFQ

048866: Packet Switch Architectures

6.033 Computer System Engineering

Consumer driven Adaptive Rate Control for Real-time Video Streaming in CCN/NDN

Congestion Control & Transport protocols

TCP and BBR. Geoff Huston APNIC

6.033 Spring 2015 Lecture #11: Transport Layer Congestion Control Hari Balakrishnan Scribed by Qian Long

Communications Software. CSE 123b. CSE 123b. Spring Lecture 3: Reliable Communications. Stefan Savage. Some slides couresty David Wetherall

Computer Networking

TCP and BBR. Geoff Huston APNIC

Cloud Control with Distributed Rate Limiting. Raghaven et all Presented by: Brian Card CS Fall Kinicki

Improving Internet Performance through Traffic Managers

Chapter III: Transport Layer

CSCI-1680 Transport Layer III Congestion Control Strikes Back Rodrigo Fonseca

DDSS: Dynamic Dedicated Servers Scheduling for Multi Priority Level Classes in Cloud Computing

TCP LoLa Toward Low Latency and High Throughput Congestion Control

A Rant on Queues. Van Jacobson. July 26, MIT Lincoln Labs Lexington, MA

TCP and BBR. Geoff Huston APNIC

Sizing Router Buffers

CS644 Advanced Networks

Reasons not to Parallelize TCP Connections for Fast Long-Distance Networks

Congestion Control in TCP

Skype Video Responsiveness to Bandwidth Variations

RED behavior with different packet sizes

Transmission Control Protocol. ITS 413 Internet Technologies and Applications

6.033 Computer System Engineering

Transcription:

TCP performance analysis through processor sharing modeling Pasi Lassila a,b, Hans van den Berg a,c, Michel Mandjes a,d, and Rob Kooij c a Faculty of Mathematical Sciences, University of Twente b Networking Laboratory, Helsinki University of Technology c KPN Research, the Netherlands d CWI, the Netherlands 1

Outline Motivation Existing models: flow level vs. packet level Our approach: combined flow-packet level model Numerical results Conclusions 2

Motivation Most Internet traffic carried by TCP Elastic traffic: tolerates variations in throughput Packet losses used as indications of congestion If no packet losses, TCP increases its sending rate For each packet loss, rate is (typically) halved Main performance measures: throughput and delay For practical purposes, simple yet accurate enough models are needed 3

Scenario RTT File transfers Server Requests arrive randomly and files have random lengths Issues: packet losses and RTT delays Bottleneck: access link, network, server link Assume limitation is due to access or one bottleneck link What is the mean file transfer delay? 4

Flow level models r r r r r C λ, µ Server Generalized Processor Sharing, GPS (Cohen,1975) Poisson file requests at rateλ File lengths i.i.d. with mean 1/µ (insensitivity) r n = joint sending rate given n flows Each flow gets r n /n 5

GPS steady state distribution First define φ(n) := λ (µr n ) 1 for n N, ψ(n) := n φ(i) 1 for n = 0 i=0 Then P(N = n) equals P(N = n) = ψ(n) m=0 ψ(m) Observations Letting C, we obtain the infinite server Erlang system Choosing r n = C we obtain the traditional PS-system with geometric distribution (each flow gets its fair share C/n) Choosing r n = min(rn, C) models case where sources have max rate r. Poisson-type left tail and geometric right tail. Mean delay (Little): E[D] = E[N]/λ 6

GPS properties Features: Insensitivity to file size distribution Conditional mean delay linear in file size Idealizations: Assumes instantaneous rate adaptation (new flow gets its fair share immediately) Does not take into account packet losses (assumes infinite buffers) Does not take into account RTT delays Gives too optimistic results 7

TCP modeling Assumption n persistent flows The square-root -formula for TCP throughput (single flow) t min { r, } Γ RTT p Iterative approach to determine t n and p Given n flows, t n is the total arrival rate from these Assume that at packet level arrivals are Poisson. Packets enter an M/D/1/K queue, where they observe a loss rate p(t n ) fixed point { t n = min nr, } nγ 1, RTT p(tn ) Features: captures losses and RTT delays, but no flow level dynamics 8

Combined flow-packet level model (1) Idea: Couple previous two models together Procedure: Using the TCP equation, we can determine conditional sending rates t n, given n flows The goodput at the packet level equals t n (1 p(t n )) On the flow level, the system is assumed to behave as a GPS system with rates r n = t n (1 p(t n )) Other improvements (hacks?) Effect of queuing delay: replace RTT by RTT + q(t n ) Initial slow start effect: compute the number of unsent packets due to slow start and compensate mean delay with the time to send them at average rate 9

Combined flow-packet level model (2) Applicability? (method completely heuristic) TCP throughput equations are approximate and generally assume low loss rates (< %) Time scale decomposition: new flow obtains its fair share quickly (compared to the mean file transfer time) Effect of RTT only seen when RTT relatively large Poisson packet arrival assumption probably never valid, but how bad is it? Simulations Done by using ns2 (2.1b8a) C = Mbps, flength 00 pkts (constant), psize 00B RTT={40, 0, 400} ms, K = {, 50}, r = {1, 2} Mbps

Numerical results (mean delay, small buffer) r = 1 Mbps, K =, RTT = {40, 0, 400} ms 40 TCP GPS model Original GPS K=, RTT=40 ms 40 TCP GPS model Original GPS K=, RTT=0 ms mean transfer delay mean transfer delay 40 TCP GPS model Original GPS K=, RTT=400 ms mean transfer delay 11

Numerical results (distribution, small buffer) r = 1 Mbps, K =, RTT = 0 ms, = {0.7, 0.8, 0.9} 0.14 0.12 = 0.7 GPS approximation 0.1 0.09 = 0.8 GPS approximation 0.08 0.1 0.07 0.08 0.06 P{N=n} P{N=n} 0.05 0.06 0.04 0.04 0.03 0.02 0.02 0.01 0 0 5 40 45 50 n 0 0 5 40 45 50 n 0.04 0.0 = 0.9 GPS approximation 0.03 0.0 P{N=n} 0.02 0.0 0.01 0.005 0 0 40 50 60 70 80 90 0 n 12

Numerical results (mean delay, big buffer) Buffer size K = 50, RTT = {40, 0, 400} ms TCP GPS model Original GPS K=50, RTT=40 ms TCP GPS model Original GPS K=50, RTT=0 ms mean transfer delay mean transfer delay TCP GPS model Original GPS K=50, RTT=400 ms mean transfer delay 13

Numerical results (larger access rate) r = 2 Mbps, K = {, 50}, RTT = {40, 400} ms 55 50 45, RTT=400 ms, RTT=40 ms TCP GPS model, RTT=400 ms TCP GPS model, RTT=40 ms Original GPS access bw = 2 Mbps, K = 40 mean transfer delay RTT = 400 ms RTT = 40 ms 5 55 50 45, RTT=40 ms, RTT=400 ms TCP GPS model, RTT=40 ms TCP GPS model, RTT=400 ms Original GPS access bw = 2 Mbps, K = 50 40 mean transfer delay RTT = 400 ms RTT = 40 ms 5 14

Numerical results (insensitivity) r = 1 Mbps, K = {, 50}, RTT = {40, 400} ms 40 Constant packet length Exponential packet length buffer size K = mean file transfer delay RTT = 400 ms RTT = 40 ms Constant packet length Exponential packet length buffer size K = 50 mean file transfer delay RTT = 400 ms RTT = 40 ms

Conclusions and future work An extension of the traditional GPS model + Captures qualitatively the effect of RTT and finite buffers on delay - Quantitatively, the parameters can be chosen to give good/bad correspondence with simulations Future work Generalization to networks of GPS queues (multiple congested links) Poisson assumption does not really work at packet level, a better packet level model is needed 16