Reliable Data Transport: Sliding Windows

Similar documents
TCP over Cognitive Radio Channels

Wireless Internet Exercises

Modeling and Simulation NETW 707

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

CSE 123: Computer Networks

A Mathematical Model of the Skype VoIP Congestion Control Algorithm

Analytic Performance Evaluation of the RED Algorithm

Resource Allocation and Pricing. R. Srikant University of Illinois

Concise Paper: Deconstructing MPTCP Performance

cs/ee/ids 143 Communication Networks

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

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

A Stochastic Model for TCP with Stationary Random Losses

communication networks

Chapter 5. Elementary Performance Analysis

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

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

COMP9334: Capacity Planning of Computer Systems and Networks

Power Laws in ALOHA Systems

Stochastic Hybrid Systems: Applications to Communication Networks

Understanding TCP Vegas: A Duality Model

Markovian Model of Internetworking Flow Control

ABSTRACT FLOW CONTROL IN WIRELESS AD-HOC NETWORKS. Georgios Papageorgiou, Doctor of Philosophy, 2009

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

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

Markov Chain Model for ALOHA protocol

ABSTRACT FLOW CONTROL IN WIRELESS AD-HOC NETWORKS. Georgios Papageorgiou, Doctor of Philosophy, 2009

Analysis on Packet Resequencing for Reliable Network Protocols

Analysis of Scalable TCP in the presence of Markovian Losses

Introduction to Wireless & Mobile Systems. Chapter 4. Channel Coding and Error Control Cengage Learning Engineering. All Rights Reserved.

Switched Systems: Mixing Logic with Differential Equations

IN THIS PAPER, we describe a design oriented modelling

Analysis of random-access MAC schemes

Multiaccess Communication

ECE 3511: Communications Networks Theory and Analysis. Fall Quarter Instructor: Prof. A. Bruce McDonald. Lecture Topic

Congestion Control. Topics

Capturing Network Traffic Dynamics Small Scales. Rolf Riedi

Computer Networks More general queuing systems

Fairness comparison of FAST TCP and TCP Vegas

A Stochastic Model of TCP/IP with Stationary Random Losses

Relaying Information Streams

CDA5530: Performance Models of Computers and Networks. Chapter 4: Elementary Queuing Theory

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

Random Access Protocols ALOHA

Performance Analysis of Priority Queueing Schemes in Internet Routers

Internet Congestion Control: Equilibrium and Dynamics

Compound TCP with Random Losses

Modelling TCP with a Discrete Time Markov Chain

Analysis of TCP Westwood+ in high speed networks

Dynamic resource sharing

Performance Evaluation of Queuing Systems

Processor Sharing Flows in the Internet

Lecture 9 Infinite Impulse Response Filters

Solutions to COMP9334 Week 8 Sample Problems

Leopold Franzens University Innsbruck. Responding to Spurious Loss Events in TCP/IP. Master Thesis. Institute of Computer Science

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

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 "

Competitive Management of Non-Preemptive Queues with Multiple Values

A POMDP Framework for Cognitive MAC Based on Primary Feedback Exploitation

Queueing Theory and Simulation. Introduction

Bounded Delay for Weighted Round Robin with Burst Crediting

Modelling an Isolated Compound TCP Connection

Agressive Transmissions over Redundant Paths for Time Critical Messages

Stochastic Hybrid Systems: Applications to Communication Networks

On the autocorrelation structure of TCP traffic q

MPTCP is not Pareto-Optimal: Performance Issues and a Possible Solution

Methodology for Computer Science Research Lecture 4: Mathematical Modeling

Rate adaptation, Congestion Control and Fairness: A Tutorial. JEAN-YVES LE BOUDEC Ecole Polytechnique Fédérale de Lausanne (EPFL)

MATHEMATICAL MODEL AND CALCULATION OF SS7 RELIABILITY

KCV Kalyanarama Sesha Sayee and Anurag Kumar

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

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

An Optimal Index Policy for the Multi-Armed Bandit Problem with Re-Initializing Bandits

Worst-case delay control in multigroup overlay networks. Tu, Wanqing; Sreenan, Cormac J.; Jia, Weijia. Article (peer-reviewed)

TCP is Competitive Against a Limited AdversaryThis research was supported in part by grants from NSERC and CITO.

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

MASTER THESIS. Development and Testing of Index Policies in Internet Routers

Computer Networks ( Classroom Practice Booklet Solutions)

Internet Measurement and Data Analysis (7)

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

Examples. 2-input, 1-output discrete-time systems: 1-input, 1-output discrete-time systems:

A Study on Performance Analysis of Queuing System with Multiple Heterogeneous Servers

IEEE abc-01/22r1

Hybrid FEC/ARQ Performance and Audio. Quality over Wireless Links

Congestion Control. Need to understand: What is congestion? How do we prevent or manage it?

Modelling data networks stochastic processes and Markov chains

Comparison of TCP Reno and TCP Vegas via Fluid Approximation

Compound TCP with Random Losses

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

TCP-friendly SIMD Congestion Control and Its Convergence Behavior

Multiaccess Problem. How to let distributed users (efficiently) share a single broadcast channel? How to form a queue for distributed users?

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

16.36 Communication Systems Engineering

Analysis and Design of Controllers for AQM Routers Supporting TCP Flows

Lan Performance LAB Ethernet : CSMA/CD TOKEN RING: TOKEN

Modelling data networks stochastic processes and Markov chains

Chapter 2 Queueing Theory and Simulation

Capacity management for packet-switched networks with heterogeneous sources. Linda de Jonge. Master Thesis July 29, 2009.

Capacity and Delay Tradeoffs for Ad-Hoc Mobile Networks

Understanding TCP Vegas: A Duality Model

Transcription:

Reliable Data Transport: Sliding Windows 6.02 Fall 2013 Lecture 23

Exclusive! A Brief History of the Internet guest lecture by Prof. Hari Balakrishnan Wenesday December 4, 2013, usual 6.02 lecture time

Today s Plan Round-Trip Time Statistics average and linear deviation smoothing filters: EWMA timeout for stop-and-wait Sliding Window Protocol general operation throughput analysis

Round-Trip Time as a Random Variable

Deciding On The Timeout Performance analysis of the stop-and-wait protocol, coupled with Markov inequality suggest using where T o = ˆT r + ˆD r q T 0 is the timeout ˆT r is an estimate of E[T r ] (average RTT) ˆD r is an estimate of E[ T r ˆT r ] (linear deviation of RTT) q is a bound of spurious retransmission probability

Static Estimates Given RTT samples sequence T r [0], T r [1], T r [2],... Equivalently, ˆT r [0] = 0, ˆT r [n] = T r [0] + T r [1] + + T r [n 1] n (n 1). ˆT r [0] = 0, ( ˆT r [n] = 1 1 ) ˆT r [n 1] + 1 n n T r [n 1] (n 1) The impact of a single RTT sample diminishes with time! Replacing 1 n with a fixed α (0, 1) reduces the averaging horizon from infinite to finite (approximately n 0 = 1/α samples).

Comparing Averages: Reaction to Pure Change

Comparing Averages: Smoothing Power

Using Exponentially Weighted Moving Averages (EWMA) To adapt to changes in the disribution of T r : T o = ˆT r + q 1 ˆDr ˆT r + = (1 α) ˆT r + αt r ˆD r + = (1 β) ˆD r + β T r ˆT r 0 < α, β, q < 1 (TCP uses α = 1/8, β = q = 1/4) 1/α, 1/β are the time constants q is a bound on the probability of spurious retransmission

EWMA: What Is Going On LTI model: y[n + 1] = (1 α)y[n] + αx[n] Step response: y s [n] = 1 (1 α) n (n 0) Frequency response: H(Ω) = α/(e jω 1 + α) Which color corresponds to the smallest α?

Example: Stop-and-Wait Performance With Constant T r Recall: T = T r + pto 1 p If bottleneck link can support 100 packets/sec T r = 100ms T o = T r + ɛ then, using stop-and-wait, the maximum throughput is at most only 10 packets/sec. Only 10 percent utilization: we need a better reliable transport protocol!

Sliding Window Protocol Allow up to W unacknowledged packets Wait T o to re-transmit long-unacknowledged packets Send out next untransmitted packet whenever window permits (and no re-transmission is scheduled) Keep a buffer of out-of-order pakets at the receiver

Sliding Window Example (W = 4, T o = 6)

Window Size and Transmission Rate (No Packet Loss) Size the window for non-stop transmission over single round-trip: } bottleneck 100 packets/sec W = 100 0.05 = 5 round-trip time 0.05 sec

Back To The Little s Law W = B T r (packets in transport) = (throughput rate) (time in transport) More accurately: W = B T r min + Q (Q: no. packets in queues)

Example no packet loss (except in queue overflows) throughput (packets/sec) =? W = B (2T + 1000 R + 40 R )+Q, 1000 B R, Q min

Example: Case 1 W = 10, T = 0.01, R = 10 6 10 = B 0.021 + Q, 1000 B 10 6 Q min B = 476, Q = 0

Example: Case 2 W = 50, T = 0.01, R = 10 6 50 = B 0.021 + Q, 1000 B 10 6 Q min B = 1000, Q = 29

Summary reliability via redundancy (careful retransmissions) timeout selection is critical for performance round-trip time statistics are essential time horizon adjustment in EWMA performance improvement with sliding windows bandwidth-delay product in throughput analysis