CS551 End-to-End Internet Packet Dynamics [Paxson99b]



Similar documents
TCP over Multi-hop Wireless Networks * Overview of Transmission Control Protocol / Internet Protocol (TCP/IP) Internet Protocol (IP)

TCP in Wireless Mobile Networks

Lecture 15: Congestion Control. CSE 123: Computer Networks Stefan Savage

17: Queue Management. Queuing. Mark Handley

TCP Westwood for Wireless

Transport Layer Protocols

End-to-End Internet Packet Dynamics

Mobile Communications Chapter 9: Mobile Transport Layer

CS268 Exam Solutions. 1) End-to-End (20 pts)

First Midterm for ECE374 02/25/15 Solution!!

Lecture 8 Performance Measurements and Metrics. Performance Metrics. Outline. Performance Metrics. Performance Metrics Performance Measurements

Outline. TCP connection setup/data transfer Computer Networking. TCP Reliability. Congestion sources and collapse. Congestion control basics

Visualizations and Correlations in Troubleshooting

Congestion Control Review Computer Networking. Resource Management Approaches. Traffic and Resource Management. What is congestion control?

TCP over Wireless Networks

Student, Haryana Engineering College, Haryana, India 2 H.O.D (CSE), Haryana Engineering College, Haryana, India

Sample Network Analysis Report

Requirements of Voice in an IP Internetwork

Analysis of Internet Transport Service Performance with Active Queue Management in a QoS-enabled Network

Lecture Objectives. Lecture 07 Mobile Networks: TCP in Wireless Networks. Agenda. TCP Flow Control. Flow Control Can Limit Throughput (1)

A Survey on Congestion Control Mechanisms for Performance Improvement of TCP

TCP and Wireless Networks Classical Approaches Optimizations TCP for 2.5G/3G Systems. Lehrstuhl für Informatik 4 Kommunikation und verteilte Systeme

Low-rate TCP-targeted Denial of Service Attack Defense

Lecture 16: Quality of Service. CSE 123: Computer Networks Stefan Savage

1. The subnet must prevent additional packets from entering the congested region until those already present can be processed.

TCP/IP Over Lossy Links - TCP SACK without Congestion Control

Improving the Performance of TCP Using Window Adjustment Procedure and Bandwidth Estimation

Performance Measurement of Wireless LAN Using Open Source

TCP in Wireless Networks

A Passive Method for Estimating End-to-End TCP Packet Loss

Application Level Congestion Control Enhancements in High BDP Networks. Anupama Sundaresan

Delay-Based Early Congestion Detection and Adaptation in TCP: Impact on web performance

Network Performance Measurement and Analysis

Data Networks Summer 2007 Homework #3

La couche transport dans l'internet (la suite TCP/IP)

Effects of Filler Traffic In IP Networks. Adam Feldman April 5, 2001 Master s Project

A Study of Internet Packet Reordering

Internet Infrastructure Measurement: Challenges and Tools

The ISP Column A monthly column on all things Internet

15-441: Computer Networks Homework 2 Solution

Announcements. Midterms. Mt #1 Tuesday March 6 Mt #2 Tuesday April 15 Final project design due April 11. Chapters 1 & 2 Chapter 5 (to 5.

Basic Multiplexing models. Computer Networks - Vassilis Tsaoussidis

Motivation. QoS Guarantees. Internet service classes. Certain applications require minimum level of network performance:

18: Enhanced Quality of Service

TCP for Wireless Networks

TCP Pacing in Data Center Networks

How To Monitor And Test An Ethernet Network On A Computer Or Network Card

Names & Addresses. Names & Addresses. Hop-by-Hop Packet Forwarding. Longest-Prefix-Match Forwarding. Longest-Prefix-Match Forwarding

Optimization of Communication Systems Lecture 6: Internet TCP Congestion Control

Key Components of WAN Optimization Controller Functionality

Chapter 4. VoIP Metric based Traffic Engineering to Support the Service Quality over the Internet (Inter-domain IP network)

Network Performance: Networks must be fast. What are the essential network performance metrics: bandwidth and latency

Homework 2 assignment for ECE374 Posted: 02/21/14 Due: 02/28/14

TCP based Denial-of-Service Attacks to Edge Network: Analysis and Detection

Introduction to LAN/WAN. Network Layer (part II)

Chapter 6 Congestion Control and Resource Allocation

CSE331: Introduction to Networks and Security. Lecture 9 Fall 2006

Transport layer issues in ad hoc wireless networks Dmitrij Lagutin,

End-to-End Network/Application Performance Troubleshooting Methodology

Simulation-Based Comparisons of Solutions for TCP Packet Reordering in Wireless Network

High-Speed TCP Performance Characterization under Various Operating Systems

CSE 473 Introduction to Computer Networks. Exam 2 Solutions. Your name: 10/31/2013

TCP, Active Queue Management and QoS

International Journal of Scientific & Engineering Research, Volume 6, Issue 7, July ISSN

Sting: a TCP-based network measurement tool

Introduction to LAN/WAN. Network Layer

Overview of Network Measurement Tools

Ethernet. Ethernet Frame Structure. Ethernet Frame Structure (more) Ethernet: uses CSMA/CD

An enhanced TCP mechanism Fast-TCP in IP networks with wireless links

THE Transmission Control Protocol (TCP) has proved

Congestions and Control Mechanisms n Wired and Wireless Networks

Optimizing TCP Forwarding

[Prof. Rupesh G Vaishnav] Page 1

Performance Analysis of AQM Schemes in Wired and Wireless Networks based on TCP flow

THE UNIVERSITY OF AUCKLAND

Parallel TCP Data Transfers: A Practical Model and its Application

Architecture and Performance of the Internet

AN IMPROVED SNOOP FOR TCP RENO AND TCP SACK IN WIRED-CUM- WIRELESS NETWORKS

Transport layer protocols for ad hoc networks

CS640: Introduction to Computer Networks. Why a New Service Model? Utility curve Elastic traffic. Aditya Akella. Lecture 20 QoS

The Effect of Packet Reordering in a Backbone Link on Application Throughput Michael Laor and Lior Gendel, Cisco Systems, Inc.

Midterm Exam CMPSCI 453: Computer Networks Fall 2011 Prof. Jim Kurose

Per-Flow Queuing Allot's Approach to Bandwidth Management

Effect of Packet-Size over Network Performance

STUDY OF TCP VARIANTS OVER WIRELESS NETWORK

Quality of Service versus Fairness. Inelastic Applications. QoS Analogy: Surface Mail. How to Provide QoS?

Based on Computer Networking, 4 th Edition by Kurose and Ross

Mobile Computing/ Mobile Networks

Measurement and Classification of Out-of-Sequence Packets in a Tier-1 IP Backbone

TCP PACKET CONTROL FOR WIRELESS NETWORKS

Computer Networks CS321

Question: 3 When using Application Intelligence, Server Time may be defined as.

CS640: Introduction to Computer Networks. Applications FTP: The File Transfer Protocol

Transcription:

CS551 End-to-End Internet Packet Dynamics [Paxson99b] Bill Cheng http://merlot.usc.edu/cs551-f12 1

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? 2

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

Methodology Previous studies Focused on a small number of paths Used unrealistic traffic (pings etc.) Paxson s study 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 4

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 (i.e., stops forwarding as if it has gone to sleep) 5

Impact of Reordering On TCP fast retransmit and recovery Which assume packet loss upon receiving dup-acks 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 dup-ack threshold possibly, to 2 But, these require server and client side change bottom line: current techniques work 6

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? maybe not Found one out of 300K ACKs corrupted, so maybe not 7

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 Qb = 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 8

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) 9

Fix? Packet-bunch Modes Compute estimates from bunches of packets each sent closely spaced to the next (also known as packet trains) 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 10

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%) 11

Is Loss Predictive? short-time-scale: packet a to b (stream) define queued and unqueued pkts queued := packet i queued behind i-1 at bottleneck link else unqueued (sufficent spacing that no selfqueueing) queued packets 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 12

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 13

Conditional loss definition P[pkt i lost pkt i-1 was lost] conditinal loss rates are much higher Burst Loss Why drop-tail routers Implications losses are not i.i.d 14

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 (quiescent vs. busy) Diurnal variations Geographical diversity in loss patterns No typical loss rate Avoiding unnecessary retransmissions Correct RTO implementation SACK 15

Delays ACK and data timing compression should not happen 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 Possibly due to specific routers 16

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 17

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