CS551: End-to-End Packet Dynamics Paxon’99 Christos Papadopoulos (http://netweb.usc.edu/cs551/)http://netweb.usc.edu/cs551/)

Slides:



Advertisements
Similar presentations
The Transmission Control Protocol (TCP) carries most Internet traffic, so performance of the Internet depends to a great extent on how well TCP works.
Advertisements

Internet Measurement Conference 2003 Source-Level IP Packet Bursts: Causes and Effects Hao Jiang Constantinos Dovrolis (hjiang,
Michele Pagano – A Survey on TCP Performance Evaluation and Modeling 1 Department of Information Engineering University of Pisa Network Telecomunication.
TCP Variants.
Pathload A measurement tool for end-to-end available bandwidth Manish Jain, Univ-Delaware Constantinos Dovrolis, Univ-Delaware Sigcomm 02.
1 Transport Protocols & TCP CSE 3213 Fall April 2015.
By Arjuna Sathiaseelan Tomasz Radzik Department of Computer Science King’s College London EPDN: Explicit Packet Drop Notification and its uses.
Congestion Control Created by M Bateman, A Ruddle & C Allison As part of the TCP View project.
TCP Congestion Control Dina Katabi & Sam Madden nms.csail.mit.edu/~dina 6.033, Spring 2014.
End to End Internet Packet Dynamics Vern Paxson University of California, Berkeley Presented by Kiran Komaravolu.
Monday, June 01, 2015 ARRIVE: Algorithm for Robust Routing in Volatile Environments 1 NEST Retreat, Lake Tahoe, June
End-to-End Routing Behavior in the Internet Vern Paxson Presented by Zhichun Li.
The War Between Mice and Elephants Presented By Eric Wang Liang Guo and Ibrahim Matta Boston University ICNP
Congestion Control Tanenbaum 5.3, /12/2015Congestion Control (A Loss Based Technique: TCP)2 What? Why? Congestion occurs when –there is no reservation.
Transport Layer3-1 Congestion Control. Transport Layer3-2 Principles of Congestion Control Congestion: r informally: “too many sources sending too much.
Internet Traffic Patterns Learning outcomes –Be aware of how information is transmitted on the Internet –Understand the concept of Internet traffic –Identify.
Modeling TCP Throughput Jeng Lung WebTP Meeting 11/1/99.
Transport Layer 3-1 Transport Layer r To learn about transport layer protocols in the Internet: m TCP: connection-oriented protocol m Reliability protocol.
15-744: Computer Networking L-10 Congestion Control.
1 ATP: A Reliable Transport Protocol for Ad-hoc Networks Sundaresan, Anantharam, Hseih, Sivakumar.
TCP in Heterogeneous Network Md. Ehtesamul Haque # P.
Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks Transport Protocols Slide 1 Transport Protocols.
Reliable Transport Layers in Wireless Networks Mark Perillo Electrical and Computer Engineering.
Bandwidth Measurements Jeng Lung WebTP Meeting 10/25/99.
Advanced Computer Networks: TCP Congestion Control 1 TCP Congestion Control Lecture material taken from “Computer Networks A Systems Approach”, Fourth.
CMPE 257 Spring CMPE 257: Wireless and Mobile Networking Spring 2005 E2E Protocols (point-to-point)
TCP Congestion Control
Error Checking continued. Network Layers in Action Each layer in the OSI Model will add header information that pertains to that specific protocol. On.
Ch. 28 Q and A IS 333 Spring Q1 Q: What is network latency? 1.Changes in delay and duration of the changes 2.time required to transfer data across.
CS332 Ch. 28 Spring 2014 Victor Norman. Access delay vs. Queuing Delay Q: What is the difference between access delay and queuing delay? A: I think the.
Spring 2000Nitin BahadurAdvanced Computer Networks A Comparison of Mechanisms for Improving TCP Performance over Wireless Links By: Hari B., Venkata P.
3: Transport Layer3b-1 Principles of Congestion Control Congestion: r informally: “too many sources sending too much data too fast for network to handle”
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.
Improving TCP Performance over Mobile Networks Zahra Imanimehr Rahele Salari.
Computer Networks Performance Metrics. Performance Metrics Outline Generic Performance Metrics Network performance Measures Components of Hop and End-to-End.
Wireless TCP Prasun Dewan Department of Computer Science University of North Carolina
TCP1 Transmission Control Protocol (TCP). TCP2 Outline Transmission Control Protocol.
EE 122: Congestion Control and Avoidance Kevin Lai October 23, 2002.
Computer Networking TCP (cont.). Lecture 16: Overview TCP congestion control TCP modern loss recovery TCP interactions TCP options TCP.
Detection of Routing Loops and Analysis of Its Causes Sue Moon Dept. of Computer Science KAIST Joint work with Urs Hengartner, Ashwin Sridharan, Richard.
Lecture 9 – More TCP & Congestion Control
On the Characteristics and Origins of Internet Flow Rates ACM SIGCOMM 2002 ICIR AT&T Labs – Research
CS640: Introduction to Computer Networks Aditya Akella Lecture 15 TCP – III Reliability and Implementation Issues.
Computer Networking Lecture 18 – More TCP & Congestion Control.
1 CS 4396 Computer Networks Lab TCP – Part II. 2 Flow Control Congestion Control Retransmission Timeout TCP:
1 Sonia FahmyPurdue University TCP Congestion Control Sonia Fahmy Department of Computer Sciences Purdue University
CS640: Introduction to Computer Networks Aditya Akella Lecture 15 TCP – III Reliability and Implementation Issues.
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.
TCP OVER ADHOC NETWORK. TCP Basics TCP (Transmission Control Protocol) was designed to provide reliable end-to-end delivery of data over unreliable networks.
End-to-End Routing Behavior in the Internet Vern Paxson Presented by Sankalp Kohli and Patrick Wong.
TCP. TCP ACK generation [RFC 1122, RFC 2581] Event at Receiver Arrival of in-order segment with expected seq #. All data up to expected seq # already.
TCP Congestion Control 컴퓨터공학과 인공지능 연구실 서 영우. TCP congestion control2 Contents 1. Introduction 2. Slow-start 3. Congestion avoidance 4. Fast retransmit.
TCP continued. Discussion – TCP Throughput TCP will most likely generate the saw tooth type of traffic. – A rough estimate is that the congestion window.
11 CS716 Advanced Computer Networks By Dr. Amir Qayyum.
Aditya Akella The Impact of False Sharing on Shared Congestion Management Aditya Akella with Srinivasan Seshan and Hari Balakrishnan.
Computer Networking Lecture 16 – Reliable Transport.
1 ICCCN 2003 Modelling TCP Reno with Spurious Timeouts in Wireless Mobile Environments Shaojian Fu School of Computer Science University of Oklahoma.
COMP 431 Internet Services & Protocols
TCP Westwood(+) Protocol Implementation in ns-3
Lecture 19 – TCP Performance
So far, On the networking side, we looked at mechanisms to links hosts using direct linked networks and then forming a network of these networks. We introduced.
CS640: Introduction to Computer Networks
Lecture 18 – More TCP & Congestion Control
TCP Congestion Control
TCP Overview.
EE 122: Lecture 10 (Congestion Control)
Congestion Control in TCP
Transport Layer: Congestion Control
Lecture 6, Computer Networks (198:552)
Presentation transcript:

CS551: End-to-End Packet Dynamics Paxon’99 Christos Papadopoulos (

End-to-end Packet Dynamics How do you measure Internet performance? –Why do people want to know? –Are ISPs willing to tell you? What kinds of packet dynamics are observed in the network? Does there exist a typical Internet path?

Key Ideas Measure Internet traffic –active measurements –n 2 paths –lots of details out of TCP Evaluate dynamics –pathologies (out-of-order, duplication, corruption) –bandwidth –loss –delay

Methodology Previous studies –Focused on a small number of paths –Used unrealistic traffic (pings etc.) Paxson’s study: quite revolutionary! –Examined nearly 1000 paths –Used TCP traffic Routers designed to handle TCP as common case Congestion-adaptive (both good and bad) –Was extraordinarily careful Used statistically valid sampling to reduce bias Looked at the wire to get most confidence Adjusted for TCP implementation idiosyncrasies

Pathologies: Reordering Reordering: packets arrive at receiver in a different order than they were sent Evidence: –Significant (non-trivial) occurrence (10-30% connections) –Strongly-site dependent –Most egregious instances correlated with route flutter Different packets sent along different routes Other curious effects –Router forwarding lulls

Impact of Reordering On TCP fast retransmit and recovery –Which assume packet loss upon receiving dupacks –But packets may actually have been reordered Can we avoid this by: –Waiting before sending ACK Yes, about 20ms waits would have detected most reordering events –Reducing the dupack threshold Possibly, to 2 –But, these require server and client side change Bottom line: current techniques work

Other Pathologies Packet duplication –Link layer retransmissions –Happens, but very infrequently Packet corruption –About 1 in 5000 (2x10 -4 ) –Is TCP 16-bit checksum enough to protect against this? Found one out of 300K acks corrupted, so maybe not –Is methodology biased?

Bottleneck Bandwidth Estimation How do you compute the bottleneck path bandwidth? –Bottleneck BW: max possible rate –available bandwidth: reasonable share Packet pair –Send two packets, each size S, closely spaced –At bottleneck, the packets are separated by a time T –Bottleneck bandwidth Q b = S/T Where to measure? Sender (RTT) or receiver (OTT)? –If inference done at sender, can be error-prone because of Ack compression Bandwidth asymmetry, which causes noise in reverse path

Packet Pair Problems and Fixes Clock granularity (fix: measure multiple packets) Route changes (fix: measure several, take mode) Out of order delivery (fix: filter out) Multi-channel links, route spraying (fix: measure for multiple packets)

Fix? Packet-bunch Modes Compute estimates from bunches of packets each sent closely spaced to the next Get modes from the distribution of estimates –If two modes widely separated in trace-> route change –If two modes for different bunch sizes-> multi-channel links –Bunches also eliminate clock granularity problems

Packet Loss Fairly high rates (3% or 5%) –much higher on some links, ex. US to Europe But many connections are loss-free (30- 66%)

Is Loss Predictive? short-time-scale: packet a to b –define loaded and unloaded pkts loaded := back-to-back, i queued behind i-1 else unloaded (sufficent spacing that no self- queueing) –loaded pkts have much higher loss rates long-time scale: hours or days –zero/non-zero is predictive (data not in paper) –actual loss rate is not predictive –allows traffic engineering

Overall Loss Characteristics ACK loss is the correct determinant of network conditions –In measuring, must be careful to account for tcpdump losses Doubling of average loss in one year Loss rates don’t have predictive power –But whether a connection suffers loss or not can be used for prediction Existence of –Dual network states –Diurnal variations –Geographical diversity in loss patterns –No typical loss rate Avoiding unnecessary retransmissions –Correct RTO implementation –SACK

Loss Patterns Data vs ack loss –Data loss across connections well-modeled by exponential –Not so for acks Bursts –Loss are not independent –Burst sizes are heavy-tailed

Burst Loss conditional loss definition –P[pkt i lost | pkt i-1 was lost] why –drop-tail routers implications –losses are not i.i.d

Delays Ack compression –A flight of acks queued behind cross traffic –Happens quite infrequently Although most connections experienced one Durations are small and number of such events is small –Packet pair techniques can account for this by rejecting outliers Data timing compression –Much more infrequent than ACK compression –Defined only for unloaded packets! –Possibly due to specific routers

Delays Queueing time scales –Measured by variations in one-way transit times –Show wide variability, so we cannot design for a particular regime Available bandwidth –Approximated by variations in delay experienced due to own loading –Again, shows wide variability –Most between 0.1 – 1 sec

Questions? Do you think this study is valid today? What has happened since 1995? Dialup->broadband Better connectivity Higher backbone speeds