On the Characteristics and Origins of Internet Flow Rates ACM SIGCOMM 2002 ICIR AT&T Labs – Research

Slides:



Advertisements
Similar presentations
Congestion Control and Fairness Models Nick Feamster CS 4251 Computer Networking II Spring 2008.
Advertisements

Internet Measurement Conference 2003 Source-Level IP Packet Bursts: Causes and Effects Hao Jiang Constantinos Dovrolis (hjiang,
TCP Variants.
IS333, Ch. 26: TCP Victor Norman Calvin College 1.
Congestion Control Created by M Bateman, A Ruddle & C Allison As part of the TCP View project.
Transport Layer 3-1 outline r TCP m segment structure m reliable data transfer m flow control m congestion control.
Transport Layer 3-1 Fast Retransmit r time-out period often relatively long: m long delay before resending lost packet r detect lost segments via duplicate.
Inferring TCP Connection Characteristics Through Passive Measurements Sharad Jaiswal, Gianluca Iannaccone, Christophe Diot, Jim Kurose, Don Towsley Proceedings.
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.
Transport Layer 3-1 Outline r TCP m Congestion control m Flow control.
1 Is the Round-trip Time Correlated with the Number of Packets in Flight? Saad Biaz, Auburn University Nitin H. Vaidya, University of Illinois at Urbana-Champaign.
On the Constancy of Internet Path Properties Yin Zhang, Nick Duffield AT&T Labs Vern Paxson, Scott Shenker ACIRI Internet Measurement Workshop 2001 Presented.
CSEE W4140 Networking Laboratory Lecture 7: TCP flow control and congestion control Jong Yul Kim
15-744: Computer Networking L-10 Congestion Control.
1 Spring Semester 2007, Dept. of Computer Science, Technion Internet Networking recitation #7 TCP New Reno Vs. Reno.
1 Internet Networking Spring 2002 Tutorial 10 TCP NewReno.
Available bandwidth measurement as simple as running wget D. Antoniades, M. Athanatos, A. Papadogiannakis, P. Markatos Institute of Computer Science (ICS),
1 Chapter 3 Transport Layer. 2 Chapter 3 outline 3.1 Transport-layer services 3.2 Multiplexing and demultiplexing 3.3 Connectionless transport: UDP 3.4.
Data Communication and Networks
1 Internet Networking Spring 2004 Tutorial 10 TCP NewReno.
Bandwidth Measurements Jeng Lung WebTP Meeting 10/25/99.
TCP Congestion Control
On the Characteristics and Origins of Internet Flow Rates ACM SIGCOMM 2002 Yin Zhang Lee Breslau Vern Paxson Scott Shenker AT&T Labs – Research
Junxian Huang 1 Feng Qian 2 Yihua Guo 1 Yuanyuan Zhou 1 Qiang Xu 1 Z. Morley Mao 1 Subhabrata Sen 2 Oliver Spatscheck 2 1 University of Michigan 2 AT&T.
NET-REPLAY: A NEW NETWORK PRIMITIVE Ashok Anand Aditya Akella University of Wisconsin, Madison.
TCP-Related Measurements Presented by: Charles Simpson (Robby) September 30, 2003.
Introduction 1 Lecture 14 Transport Layer (Congestion Control) slides are modified from J. Kurose & K. Ross University of Nevada – Reno Computer Science.
Courtesy: Nick McKeown, Stanford 1 TCP Congestion Control Tahir Azim.
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 Layer 4 2: Transport Layer 4.
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.
COMT 4291 Communications Protocols and TCP/IP COMT 429.
TFRC: TCP Friendly Rate Control using TCP Equation Based Congestion Model CS 218 W 2003 Oct 29, 2003.
CS551: End-to-End Packet Dynamics Paxon’99 Christos Papadopoulos (
HighSpeed TCP for High Bandwidth-Delay Product Networks Raj Kettimuthu.
TCP Trunking: Design, Implementation and Performance H.T. Kung and S. Y. Wang.
Copyright 2008 Kenneth M. Chipps Ph.D. Controlling Flow Last Update
Transport Layer3-1 TCP throughput r What’s the average throughout of TCP as a function of window size and RTT? m Ignore slow start r Let W be the window.
Lecture 9 – More TCP & Congestion Control
What is TCP? Connection-oriented reliable transfer Stream paradigm
Transport Layer 3-1 Chapter 3 Transport Layer Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March
Deadline-based Resource Management for Information- Centric Networks Somaya Arianfar, Pasi Sarolahti, Jörg Ott Aalto University, Department of Communications.
Computer Networking Lecture 18 – More TCP & Congestion Control.
TCP: Transmission Control Protocol Part II : Protocol Mechanisms Computer Network System Sirak Kaewjamnong Semester 1st, 2004.
1 CS 4396 Computer Networks Lab TCP – Part II. 2 Flow Control Congestion Control Retransmission Timeout TCP:
1 SIGCOMM ’ 03 Low-Rate TCP-Targeted Denial of Service Attacks A. Kuzmanovic and E. W. Knightly Rice University Reviewed by Haoyu Song 9/25/2003.
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.
Congestion Avoidance and Control Van Jacobson and Michael Karels Presented by Sui-Yu Wang.
Janey C. Hoe Laboratory for Computer Science at MIT 노상훈, Pllab.
Advance Computer Networks Lecture#09 & 10 Instructor: Engr. Muhammad Mateen Yaqoob.
The Macroscopic behavior of the TCP Congestion Avoidance Algorithm.
TCP Congestion Control 컴퓨터공학과 인공지능 연구실 서 영우. TCP congestion control2 Contents 1. Introduction 2. Slow-start 3. Congestion avoidance 4. Fast retransmit.
Development of a QoE Model Himadeepa Karlapudi 03/07/03.
Performance Limitations of ADSL Users: A Case Study Matti Siekkinen, University of Oslo Denis Collange, France Télécom R&D Guillaume Urvoy-Keller, Ernst.
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.
© Janice Regan, CMPT 128, CMPT 371 Data Communications and Networking Congestion Control 0.
TCP/IP1 Address Resolution Protocol Internet uses IP address to recognize a computer. But IP address needs to be translated to physical address (NIC).
Transmission Control Protocol (TCP) TCP Flow Control and Congestion Control CS 60008: Internet Architecture and Protocols Department of CSE, IIT Kharagpur.
TCP - Part II Relates to Lab 5. This is an extended module that covers TCP flow control, congestion control, and error control in TCP.
Chapter 3 outline 3.1 transport-layer services
COMP 431 Internet Services & Protocols
Introduction to Congestion Control
Reliable Transport I: Concepts
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.
CS4470 Computer Networking Protocols
Transport Layer: Congestion Control
TCP flow and congestion control
Review of Internet Protocols Transport Layer
Presentation transcript:

On the Characteristics and Origins of Internet Flow Rates ACM SIGCOMM 2002 ICIR AT&T Labs – Research Vern Paxson Scott Shenker Yin Zhang Lee Breslau Presented by Ryan Blue and Machon Gregory

8/23/2002SIGCOMM '20022 Motivation Limited knowledge about flow rates Flow rates are impacted by many factors Congestion, bandwidth, applications, host limits, … Little is known about the resulting rates or their causes Why is it important to understand flow rates? Understanding the network User experience Improving the network Identify and eliminate bottlenecks Designing scalable network control algorithms Scalability depends on the distribution of flow rates Deriving better models of Internet traffic Useful for workload generation and various network problems

8/23/2002SIGCOMM '20023 Two Questions What are the characteristics of flow rates? Rate distribution Correlations What are the causes of flow rates? T-RAT: TCP Rate Analysis Tool Design Validation Results

Characteristics of Internet Flow Rates

8/23/2002SIGCOMM '20025 Datasets and Methodology Datasets Packet traces at ISP backbones and campus access links 8 datasets; each lasts 0.5 – 24 hours; over 110 million packets Summary flow statistics collected at 19 backbone routers 76 datasets; each lasts 24 hours; over 20 billion packets Flow definition Flow ID: Timeout: 60 seconds Rate = Size / Duration Exclude flows with duration < 100 msec Look at: Rate distribution Correlations among rate, size, and duration

8/23/2002SIGCOMM '20026 Flow Rate Characteristics Rate distribution Most flows are slow, but most bytes are in fast flows Distribution is skewed Not as skewed as size distribution Consistent with log-normal distribution [BSSK97] Correlations Rate and size are strongly correlated Not due to TCP slow-start Removed initial 1 second of each connection; correlations increase What users download is a function of their bandwidth

Causes of Internet Flow Rates

8/23/2002SIGCOMM '20028 T-RAT: TCP Rate Analysis Tool Goal Analyze TCP packet traces and determine rate- limiting factors for different connections Requirements Work for traces recorded anywhere along a network path Traces don’t have to be recorded near an endpoint Work just seeing one direction of a connection Data only or ACK only  there is no easy cause & effect Work with partial connections Prevent bias against long-lived flows Work in a streaming fashion Avoid having to read the entire trace into memory

8/23/2002SIGCOMM '20029 TCP Rate Limiting Factors Flow never leaves slow-startOpportunity Flow fully utilizes and is limited by bottleneck link bandwidth Bandwidth Flow is limited by sending bufferSender Flow responds to packet lossCongestion Flow has left slow-start & no packet loss & not limited by receiver/sender/bandwidth Transport Flow is limited by receiver advertised windowReceiver Application doesn’t generate data fast enoughApplication DescriptionFactor

8/23/2002SIGCOMM ' T-RAT Components MSS Estimator Identify Maximum Segment Size (MSS) RTT Estimator Estimate RTT Group packets into flights Flight: packets sent during the same RTT Rate Limit Analyzer Determine rate-limiting factors based on MSS, RTT, and the evolution of flight size

8/23/2002SIGCOMM ' What Makes It Difficult? The network may introduce a lot of noise E.g. significant delay variation, ACK compression,... Time-varying RTT is difficult to track E.g., handshake delay and median RTT may differ substantially Delayed ACK significantly complicates TCP dynamics E.g. congestion avoidance: 12, 12, 13, 12, 12, 14, 14, 15, … There are a large number of TCP flavors & implementations Different loss recovery algorithms, initial cwnd, bugs, weirdness Timers may introduce behavior difficult to analyze E.g. delack timer may expire in the middle of an RTT Packets missing due to packet filter drop, route change They are not lost! There may be multiple limiting factors for a connection And a lot more …

8/23/2002SIGCOMM ' MSS Estimator Data stream MSS  largest data packet payload ACK stream MSS  “most frequent common divisor” Like GCD, apply heuristics to avoid looking for divisors of numbers that are not multiples of MSS favor popular MSS (e.g. 536, 1460, 512)

8/23/2002SIGCOMM ' RTT Estimator Generate a set of candidate RTTs Between 3 msec and 3 sec: x 1.3 K sec Assign a score to each candidate RTT Group packets into flights Flight boundary: packet with large inter-arrival time Track evolution of flight size over time and match it to identifiable TCP behavior Slow start Congestion avoidance Loss recovery Score  # packets in flights consistent with identifiable TCP behavior Pick the top scoring candidate RTT

8/23/2002SIGCOMM ' Rate Limit Analyzer Total bytes < 13*MSS, or it never leaves slow-startOpportunity 3 consecutive flights with size > awnd max – 3*MSSReceiver Flight size stays constant, and not receiver limitedSender Sender has left slow-start and there is no packet lossTransport Flight size stays constant, but we only see data packets and can’t tell between sender and receiver Host None of the aboveUnknown Packet loss and not bandwidth-limitedCongestion A sub-MSS packet followed by a lull > RTT, followed by new data Application A flow keeps achieving same amount of data in flights prior to loss; or it has nearly equally spaced packets Bandwidth TestCause

8/23/2002SIGCOMM ' RTT Validation Validation against tcpanaly [Pax97] over NPD N 2 (17,248 conn) RTT estimator works reasonably well in most cases

8/23/2002SIGCOMM ' Rate Limit Validation Methodology ns2 simulations + dummynet experiments T-RAT correctly identifies the cause in vast majority of cases Failure scenarios “transport limited” w/o loss  NOT failure!Congestion Less accurate with Nagle’s algorithmApplication Connection size is very largeOpportunity RTT wrong, but rate limit correctBandwidth High background load (esp. on ACK stream)Transport Window = 2 packets; or link utilization > 90%Rcvr/Sndr

8/23/2002SIGCOMM ' Rate Limiting Factors (Bytes) Dominant causes by bytes: Congestion, Receiver

8/23/2002SIGCOMM ' Rate Limiting Factors (Flows) Dominant causes by flows: Opportunity, Application

8/23/2002SIGCOMM ' Flow Characteristics by Cause Different causes are associated with different performance for users Rate distribution Highest rates: Receiver, Transport Size distribution Largest sizes: Receiver Duration distribution Longest duration: Congestion

8/23/2002SIGCOMM ' Conclusion Characteristics of Internet flow rates Fast flows carry most of the bytes It is important to understand their behavior. Strong correlation between flow rate and size What users download is a function of their bandwidth. Causes of Internet flow rates Dominant causes: In terms of bytes: congestion, receiver In terms of flows: opportunity, application Different causes are associated with different performance T-RAT has applicability beyond the results we have so far E.g. correlating rate limiting factors with other user characteristics like application type, access method, etc.

8/23/2002SIGCOMM ' Thank you!