Model-based Measurements Of Network Loss

Similar documents
On the State of ECN and TCP Options on the Internet

IKR SimLib-QEMU: TCP Simulations Integrating Virtual Machines

TCP SIAD: Congestion Control supporting Low Latency and High Speed

Implementation and Evaluation of Coupled Congestion Control for Multipath TCP

Erratum: Evaluation of Different Decrease Schemes for LEDBAT Congestion Control

TCP Modifications for Congestion Exposure

Transport Protocols for Data Center Communication. Evisa Tsolakou Supervisor: Prof. Jörg Ott Advisor: Lect. Pasi Sarolahti

Activity-Based Congestion Management for Fair Bandwidth Sharing in Trusted Packet Networks

Making TCP more Robust against Packet Reordering

TCP modifications for Congestion Exposure

On the State of ECN and TCP Options on the Internet

The Controlled Delay (CoDel) AQM Approach to fighting bufferbloat

Outline Computer Networking. TCP slow start. TCP modeling. TCP details AIMD. Congestion Avoidance. Lecture 18 TCP Performance Peter Steenkiste

TCP modifications for Congestion Exposure

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

CSC 4900 Computer Networks: TCP

Chapter III: Transport Layer

Computer Networking Introduction

Supporting Service Differentiation for Real-Time and Best-Effort Traffic in Stateless Wireless Ad-Hoc Networks (SWAN)

8. TCP Congestion Control

15-744: Computer Networking TCP

Chapter 3 Transport Layer

ETSF10 Internet Protocols Transport Layer Protocols

IKR EmuLib. A Library for Seamless Integration of Simulation and Emulation. Marc Necker, Christoph Gauger [necker

Bandwidth Allocation & TCP

CS644 Advanced Networks

An In-depth Study of LTE: Effect of Network Protocol and Application Behavior on Performance

CS 356: Computer Network Architectures Lecture 19: Congestion Avoidance Chap. 6.4 and related papers. Xiaowei Yang

TCP congestion control:

Addressing the Challenges of Web Data Transport

ADVANCED COMPUTER NETWORKS

Streaming Video and TCP-Friendly Congestion Control

Layer 4 TCP Performance in carrier transport networks Throughput is not always equal to bandwidth

Congestion control in TCP

Characterization of accuracy problems in NetFlow data and approaches to handle them

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

Congestion Control Without a Startup Phase

TCP Congestion Control

One More Bit Is Enough

Christos Papadopoulos

Lecture 15: Transport Layer Congestion Control

Quality of Service (QoS)

Master s Thesis. TCP Congestion Control Mechanisms for Achieving Predictable Throughput

Exercises TCP/IP Networking With Solutions

LISA: A Linked Slow-Start Algorithm for MPTCP draft-barik-mptcp-lisa-01

Flow and Congestion Control Marcos Vieira

Topics. TCP sliding window protocol TCP PUSH flag TCP slow start Bulk data throughput

Investigating the Use of Synchronized Clocks in TCP Congestion Control

6.033 Computer System Engineering

Fast Retransmit. Problem: coarsegrain. timeouts lead to idle periods Fast retransmit: use duplicate ACKs to trigger retransmission

UNIT IV TRANSPORT LAYER

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

Universität Stuttgart

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

CMPE 150/L : Introduction to Computer Networks. Chen Qian Computer Engineering UCSC Baskin Engineering Lecture 10

Impact of transmission errors on TCP performance. Outline. Random Errors

Computer Communication Networks Midterm Review

Impact of TCP Window Size on a File Transfer

Good Ideas So Far Computer Networking. Outline. Sequence Numbers (reminder) TCP flow control. Congestion sources and collapse

Tutorial 8 : Congestion Control

Chapter 23 Process-to-Process Delivery: UDP, TCP, and SCTP

The War Between Mice and Elephants

The Impact of Delay Variations on TCP Performance

Lecture 15: TCP over wireless networks. Mythili Vutukuru CS 653 Spring 2014 March 13, Thursday

Congestion Control. Tom Anderson

Advanced Computer Networks

BLEST: Blocking Estimation-based MPTCP Scheduler for Heterogeneous Networks. Simone Ferlin, Ozgu Alay, Olivier Mehani and Roksana Boreli

Fall 2012: FCM 708 Bridge Foundation I

6.1 Internet Transport Layer Architecture 6.2 UDP (User Datagram Protocol) 6.3 TCP (Transmission Control Protocol) 6. Transport Layer 6-1

CS 638 Lab 6: Transport Control Protocol (TCP)

Computer Networks. ENGG st Semester, 2010 Hayden Kwok-Hay So

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

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

CS 344/444 Computer Network Fundamentals Final Exam Solutions Spring 2007

Chapter 3 Transport Layer

THE NETWORK PERFORMANCE OVER TCP PROTOCOL USING NS2

CSE 123A Computer Networks

Principles of congestion control

Multiple unconnected networks

Report on Transport Protocols over Mismatched-rate Layer-1 Circuits with 802.3x Flow Control

Broadband Quality of Service

ECE 544 Computer Networks II Mid-Term Exam March 29, 2002 Profs. D. Raychaudhuri & M. Ott

Wireless TCP Performance Issues

Congestion Avoidance

CS268: Beyond TCP Congestion Control

Affects of Queuing Mechanisms on RTP Traffic Comparative Analysis of Jitter, End-to- End Delay and Packet Loss

Flow Control. Flow control problem. Other considerations. Where?

image 3.8 KB Figure 1.6: Example Web Page

Network Working Group. Category: Experimental February TCP Congestion Control with Appropriate Byte Counting (ABC)

A Hybrid Systems Modeling Framework for Fast and Accurate Simulation of Data Communication Networks. Motivation

A closer look at network structure:

Lecture 14: Congestion Control"

Documents. Configuration. Important Dependent Parameters (Approximate) Version 2.3 (Wed, Dec 1, 2010, 1225 hours)

Incorporation of TCP Proxy Service for improving TCP throughput

CS244a: An Introduction to Computer Networks

Appendix B. Standards-Track TCP Evaluation

ENSC 835 project (2002) TCP performance over satellite links. Kenny, Qing Shao Grace, Hui Zhang

Implementation Experiments on HighSpeed and Parallel TCP

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

The Transport Layer Congestion control in TCP

Transcription:

Model-based Measurements Of Network Loss June 28, 2013 Mirja Kühlewind mirja.kuehlewind@ikr.uni-stuttgart.de Universität Stuttgart Institute of Communication Networks and Computer Engineering (IKR) Prof. Dr.-Ing. Andreas Kirstädter

LMAP Architecture Overview Large Scale Measurement of Access Network Performance Started activity in the Internet Engineering Task Force (IETF) due to request of regulators to evaluate the state of broadband performance see draft-schulzrinne-lmap-requirements-00 Measurement Client performs active measurements against a measurement server Measurement controller schedules measurements Data collector is the reference point to send measurements results for data evaluation 2

Model-based Measurements Model-Based Internet Performance Metrics see draft-mathis-ippm-model-based-metrics-01 Question (User / Content provider view) Is a certain (class of) application(s) usable over a given end-2-end path? Approach Active measurement before and during service usage Determine (sub)path characteristics Calculate performance target value based on path characteristics and application requirements Check if a given end-to-end path meets predefined application performance targets (Optional) If not, figure out where the problem is (content provider access, user access, network/peering point) 3

Loss Measurements Outline Introduction Modeling of Loss Pattern Simulation setup and scenario Traffic Model Loss Pattern Burst Loss Measurements in real Internet usage scenarios Conclusion 4

Loss Measurements Goal Identifying the conditions and potentially origin of losses / congestion Sources of loss Network Transmission errors Overload (shared congestion) Spatial and temporal correlation of loss measurements needed Host behavior Probing/Start-up of TCP congestion control (self-congestion on access link) Analysis of loss pattern in typical Internet usage scenarios needed 5

Modeling of Loss Pattern Goal Create scenarios with border case loss patterns (e.g. large, periodic loss bursts) Method (because application performance does not depend on average loss rate but the average loss rate is strongly influenced by application behavior and congestion control) Event-driven simulation using real kernel code Generate realistic TCP traffic behavior Controlled loss-free network environment Traffic Model Generate flows with certain data size and inter-arrival time (IAT) Different flow sizes and IATs to exploit loss patterns induced by congestion control algorithm (TCP cubic) Evaluation based on burst loss metric (number of losses within one RTT after first loss) captures loss pattern in a congestion control-aware way (probing and reaction time of congestion control determines periodic loss events) 6

Event-driven Simulation using Real Kernel Code Integration of virtual machines (using QEMU) in the IKR SimLib Java-based, event-driven simulation framework (IKR SimLib) Kernel code integration by using a Linux OS in a virtual machine (QEMU) Control of timing and interfaces for event handling in the simulation program Relay program in the guest OS to generate TCP traffic Real TCP/IP packets with dummy data are forwarded over simulated network Simulation framework with realistic TCP behavior Easy updates to latest kernel versions possible 7

Simple Scenario Network Parameter One-Way Delay (OWD) = 50 ms Bandwidth (BW) = 5.7 Mbit/s Queue size = 71250 Byte (Bandwidth-Delay-Product) = 47.5 full packets 8

Traffic Model Traffic Generation Greedy traffic Data to send are always available Transmission starts at the beginning of simulation Regular bursts Fixed size bursts to fill the link and enlarge congestion window to maximum size Only short idle time between bursts to keep the congestion window large Bursts of packets are sent out at once at the beginning of each transmission as no packets are in flight but the congestion window is large Random short flows Negative exponential inter-arrival time (IAT) Uniformly distributed small number of packets per flow Cause Slow Start overshoot (80 packets needed to fill the empty link with an initial congestion window of 10 packets) 9

Regular Loss Pattern with Greedy Traffic cwnd [pkts] 140 120 100 80 60 40 20 0 20 30 40 50 60 time [s] throughput rcv cwnd loss burst 11 10 9 8 7 6 5 4 3 2 1 0 rate [Mbps] / # loss [pkts] Regular loss pattern with periodic loss distance (1 or 3 packets per burst loss and a loss distance of 2.82 sec or 6.98 sec) 10

Regular Loss Pattern with Bursty Traffic Traffic parameter: IAT = 3.2 sec, burst size = 2MB cwnd / # loss [pkts] 140 120 100 80 60 40 20 sending rate cwnd loss 11 10 9 8 7 6 5 4 3 2 1 rate [Mbps] 0 20 30 40 50 60 time [s] 0 Regular large burst loss at the beginning of each burst data transmission (27 packets every 3.2 seconds (=IAT)) 11

Random Loss Pattern with Short Flows Traffic parameter: mean IAT = 1.5 sec (NegExp), 16-70 packets (uniform distributed), (max.) 15 parallel flows 50 40 sending rate throughput rcv loss 11 10 9 8 # loss [pkts] 30 20 10 7 6 5 4 3 2 1 rate [Mbps] 0 20 30 40 50 60 Time [s] 0 Smaller, random loss bursts depending on network load and flow size (1-11 packets in periods of full load) 12

Burst Loss Measurement Goal Analysis of loss pattern in real Internet usage scenarios Methodology Traffic Download: FTP download of a 80.56 MB file from a host using cubic congestion control YouTube: One video with 11.59 MB Web-browsing: request 33 common websites with a 12 second delay Measurement setup Residential access network with a maximum measured datarate of 5.7 MBit/s Traces of 24 trials over a single day (Sep 2012) Active measurement and offline evaluation Estimation of TCP retransmissions and burst loss metric (= number of losses within one RTT after first loss) 13

Burst Loss Measurement FTP Download (one single, long flow) 14 loss burst 12 10 # loss [pkts] 8 6 4 2 0 0 20 40 60 80 100 120 time [s] Quite regular burst loss pattern due to TCP cubic congestion control Few probes showed a larger number of small burst losses (presumably caused by anomalies in the network or at the server side) 14

Burst Loss Measurement YouTube (block sending) 60 50 40 # loss [pkts] 30 20 10 0 0 20 40 60 80 100 120 140 time [s] Fewer, but regular and larger burst losses 18 of 24 trials for the longer video show exactly five bursts Mean burst size around 33 (in both cases) 15

Burst Loss Measurement Web-browsing (many short flows) 50 45 loss burst 40 35 # loss [pkts] 30 25 20 15 10 5 0 0 50 100 150 200 250 300 350 400 450 500 time [s] Irregular but few, small burst losses and very few large burst losses (as traffic model does not reflect web-browsing accurately) Only 5.8% of flows experiencing any loss and 82.7% of bursts consist of a single loss 16

Conclusion Goal Identifying conditions and sources of loss / congestion Approach Loss model of transport and application behavior to differentiate losses caused by the host (transport and application behavior) from losses caused by the network or influenced by cross traffic Model of Loss Pattern Traffic models of greedy traffic, regular burst, and random short flows show very different and sometimes high loss rates (in simulation scenarios) Average loss rate does not give a good indication about network state Burst Loss Measurement Real Internet usage scenarios (FTP download, YouTube, Web-browsing) show similar loss pattern First step on modeling loss pattern Further studies needed of more complex traffic scenarios 17

Outlook How good can a certain loss pattern be reflected using active measurements? How does active measurement influence the legal traffic? When do high loss rates influence the user Quality of Experience? Loss burst metrics can provide hints on the application type 18