Differential Congestion Notification: Taming the Elephants

Similar documents
CPSC 826 Internetworking. Congestion Control Approaches Outline. Router-Based Congestion Control Approaches. Router-Based Approaches Papers

Differential Congestion Notification: Taming the Elephants

Tuning RED for Web Traffic

The War Between Mice and Elephants

A Better-Than-Best Effort Forwarding Service For UDP

Discrete-Approximation of Measured Round Trip Time Distributions: A Model for Network Emulation

A Non-Parametric Approach to Generation and Validation of Synthetic Network Traffic

The War Between Mice and Elephants

Investigating the Use of Synchronized Clocks in TCP Congestion Control

RECHOKe: A Scheme for Detection, Control and Punishment of Malicious Flows in IP Networks

Appendix B. Standards-Track TCP Evaluation

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

The Network Layer and Routers

CS 349/449 Internet Protocols Final Exam Winter /15/2003. Name: Course:

Congestion Avoidance

Investigating the Use of Synchronized Clocks in TCP Congestion Control

15-744: Computer Networking. Overview. Queuing Disciplines. TCP & Routers. L-6 TCP & Routers

Tracking the Evolution of Web Traffic:

TCP so far Computer Networking Outline. How Was TCP Able to Evolve

CS 268: Computer Networking

On the Transition to a Low Latency TCP/IP Internet

ETSF05/ETSF10 Internet Protocols. Performance & QoS Congestion Control

Generic Architecture. EECS 122: Introduction to Computer Networks Switch and Router Architectures. Shared Memory (1 st Generation) Today s Lecture

Network Performance: Queuing

Congestion Control and Resource Allocation

Congestion Control for High Bandwidth-delay Product Networks. Dina Katabi, Mark Handley, Charlie Rohrs

Improving Internet Performance through Traffic Managers

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

ETSF05/ETSF10 Internet Protocols. Performance & QoS Congestion Control

Basics (cont.) Characteristics of data communication technologies OSI-Model

CS4700/CS5700 Fundamentals of Computer Networks

EECS 122: Introduction to Computer Networks Switch and Router Architectures. Today s Lecture

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

Recap. More TCP. Congestion avoidance. TCP timers. TCP lifeline. Application Presentation Session Transport Network Data Link Physical

Request for Comments: S. Floyd ICSI K. Ramakrishnan AT&T Labs Research June 2009

A Proposal to add Explicit Congestion Notification (ECN) to IPv6 and to TCP

From Traffic Measurement to Realistic Workload Generation

Congestion Control for High Bandwidth-delay Product Networks

Core-Stateless Fair Queueing: Achieving Approximately Fair Bandwidth Allocations in High Speed Networks. Congestion Control in Today s Internet

Lecture 22: Buffering & Scheduling. CSE 123: Computer Networks Alex C. Snoeren

RED behavior with different packet sizes

Buffer Requirements for Zero Loss Flow Control with Explicit Congestion Notification. Chunlei Liu Raj Jain

WRED Explicit Congestion Notification

Router participation in Congestion Control. Techniques Random Early Detection Explicit Congestion Notification

Improving Internet Congestion Control and Queue Management Algorithms. Wu-chang Feng March 17, 1999 Final Oral Examination

Chapter 24 Congestion Control and Quality of Service 24.1

CS 5520/ECE 5590NA: Network Architecture I Spring Lecture 13: UDP and TCP

Impact of bandwidth-delay product and non-responsive flows on the performance of queue management schemes

"Filling up an old bath with holes in it, indeed. Who would be such a fool?" "A sum it is, girl," my father said. "A sum. A problem for the mind.

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

Network Management & Monitoring

Congestion Control In The Internet Part 2: How it is implemented in TCP. JY Le Boudec 2015

Analyzing the Receiver Window Modification Scheme of TCP Queues

H3C S9500 QoS Technology White Paper

A Preferred Service Architecture for Payload Data Flows. Ray Gilstrap, Thom Stone, Ken Freeman

QoS Services with Dynamic Packet State

Overview. TCP & router queuing Computer Networking. TCP details. Workloads. TCP Performance. TCP Performance. Lecture 10 TCP & Routers

QoS Configuration. Overview. Introduction to QoS. QoS Policy. Class. Traffic behavior

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

ARTICLE IN PRESS. Delay-based early congestion detection and adaptation in TCP: impact on web performance

WB-RTO: A Window-Based Retransmission Timeout. Ioannis Psaras, Vassilis Tsaoussidis Demokritos University of Thrace, Xanthi, Greece

Cloud e Datacenter Networking

Transmission Control Protocol. ITS 413 Internet Technologies and Applications

Implementation Experiments on HighSpeed and Parallel TCP

UNIT IV -- TRANSPORT LAYER

EXPERIENCES EVALUATING DCTCP. Lawrence Brakmo, Boris Burkov, Greg Leclercq and Murat Mugan Facebook

Improving the Performance of Interactive TCP Applications using End-point Based and Network Level Techniques

Episode 5. Scheduling and Traffic Management

Lecture Outline. Bag of Tricks

Lecture 24: Scheduling and QoS

On Network Dimensioning Approach for the Internet

Network Performance: Queuing

Configuring Weighted Random Early Detection

Fair Bandwidth Sharing Between Unicast and Multicast Flows in Best-Effort Networks

The Evolution of Quality-of- Service on the Internet

MCS-377 Intra-term Exam 1 Serial #:

Performance Evaluation of Controlling High Bandwidth Flows by RED-PD

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

IIP Wireless. Presentation Outline

Transport Layer TCP / UDP

Flow and Congestion Control

Overview Computer Networking What is QoS? Queuing discipline and scheduling. Traffic Enforcement. Integrated services

Announcements. Network Performance: Queuing. Goals of Today s Lecture. Window Scaling. Window Scaling, con t. Window Scaling, con t

Chapter 6 Congestion Control and Resource Allocation

A report on a few steps in the evolution of congestion control. Sally Floyd June 10, 2002 IPAM Program in Large Scale Communication Networks

Estimating Arrival Rates from the RED Packet Drop History

MUD: Send me your top 1 3 questions on this lecture

Internet Protocols Fall Lecture 16 TCP Flavors, RED, ECN Andreas Terzis

Congestion Control In The Internet Part 2: How it is implemented in TCP. JY Le Boudec 2014

Congestion / Flow Control in TCP

II. Principles of Computer Communications Network and Transport Layer

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

Promoting the Use of End-to-End Congestion Control in the Internet

NET ID. CS519, Prelim (March 17, 2004) NAME: You have 50 minutes to complete the test. 1/17

Design and Evaluation of a Partial state router

Congestion Control In The Internet Part 2: How it is implemented in TCP. JY Le Boudec 2014

Lecture 21: Congestion Control" CSE 123: Computer Networks Alex C. Snoeren

Congestion Control. Daniel Zappala. CS 460 Computer Networking Brigham Young University

A Flow Table-Based Design to Approximate Fairness

INTERNATIONAL JOURNAL OF RESEARCH IN COMPUTER APPLICATIONS AND ROBOTICS ISSN

Transcription:

Differential Congestion Notification: Taming the Elephants Long Le, Jay Kikat, Kevin Jeffay, and Don Smith Department of Computer science University of North Carolina at Chapel Hill http://www.cs.unc.edu/research/dirt Published on ICNP 2004 Presented by Feng Li (lif@cs.wpi.edu) 2005-2-15 CS577(Spring 2005) 1

Outline Background: Router-based congestion control Active Queue Management (AQM) Explicit Congestion Notification (ECN) Do AQM schemes works? The case for differential congestion notification (DCN). A DCN prototype and its empirical evaluation. 2005-2-15 CS577(Spring 2005) 2

Router-Based Congestion Control The Case against drop-tail queuing (FIFO) Large (full) queues in routers are bad things. End to end latency is dominated by the length of queues at switches in network. Allowing Queues to overflow is a bad thing Connections that transmit at high rates can starve connections that transmit at low rates. Causes connections to synchronize their response to congestion and become unnecessarily busty. 2005-2-15 CS577(Spring 2005) 3

Router-Based Congestion Control Active Queue Management (AQM) Key concept: Drop packets before a queue overflows to signal incipient congestion to end-system. Basic mechanism: When the queue length exceeds threshold, packets are probabilistically dropped Random Early Detection (RED) AQM: Always en-queue if queue length less than a low-water mark Always drop if queue length is greater than a high-water mark probabilistically drop/en-queue if queue length is in between these two marks. 2005-2-15 CS577(Spring 2005) 4

The Proportional Integral (PI) Controller PI attempts to maintain an explicit target queue length. PI Samples instantaneous queue length at fixed intervals and computes a mark/drop probability at K th sample: p(kt)=a x (q(kt) q ref ) b x (q ((k-1) T) q ref ) + p ((k-1) T) a, b, and T depends on link capacity, maximum RTT and the number of flows at a router. 2005-2-15 CS577(Spring 2005) 5

Explicit congestion Notification Overview Set a bit in a packet s header and forward towards the ultimate destination A receiver recognizes the marked packet and sets a corresponding bit in the next outgoing ACK When a sender receives an ACK with ECN it invokes a response similar to that for packet loss 2005-2-15 CS577(Spring 2005) 6

Put the piece together : AQM+ECN If a RED Router detects congestion it will mark arriving packets. The router will then forward marked packets from ECN-Capable senders. and drop marked packets from all other senders. 2005-2-15 CS577(Spring 2005) 7

Do AQM Schemes work? Evaluation of AFER, PI and REM The effects of Active Queue Management on Web Performance [SIGCOMM 2003]. When user response times are important performance metrics: Without ECN, PI results in a modest performance improvement over drop tail and other AQM schemes. With ECN, both PI and REM provide significant performance improvement over drop-tail. 2005-2-15 CS577(Spring 2005) 8

Evaluation of AQM, PI and REM Experimental results 98% Load. [From SIGCOMM 2003] 2005-2-15 CS577(Spring 2005) 9

Outline Background: Router-based congestion control Active Queue Management (AQM) Explicit Congestion Notification (ECN) Do AQM schemes works? The case for differential congestion notification (DCN). A DCN prototype and its empirical evaluation. 2005-2-15 CS577(Spring 2005) 10

Discussion of ECN Disadvantages Claim ECN deployment requires the participation of both router and end-systems. That raises cost and complexity Firewalls and network address translators intentionally or unintentionally drop all ECN packets or clear ECN bits. Only 1.1% websites correctly deployed ECN in 2003. Conclusion AQM would be more appealing without ECN. 2005-2-15 CS577(Spring 2005) 11

The Structure of Web Traffic Distribution of Response sizes (figure 1) 2005-2-15 CS577(Spring 2005) 12

The Structure of Web Traffic Percent of Bytes transferred by response sizes (figure 2) 2005-2-15 CS577(Spring 2005) 13

Discussion Do AQM designs inherently require ECN? Claim: Differentiating between flows at the flowlevel is important. ECN is required for good AQM performance because it eliminates the need for short flows (a significant fraction of their) data With ECN, short flows (mostly) no longer retransmit data But their performance is still hurt by AQM Why signal short flows at all? They have no real transmission rate to adapt Hence signaling these flows provides no benefit to the network and only hurts end-system performance 2005-2-15 CS577(Spring 2005) 14

Outline Background: Router-based congestion control Active Queue Management (AQM) Explicit Congestion Notification (ECN) Do AQM schemes works? The case for differential congestion notification (DCN). A DCN prototype and its empirical evaluation. 2005-2-15 CS577(Spring 2005) 15

Realizing Differential Notification Issues and approach How to identify packets belonging to long-lived, high bandwidth flows with minimal state? Adopt the Estan & Varghese flow filtering scheme developed for traffic accounting [SIGCOMM 2002] How to determine when to signal congestion (by Dropping packets) Use a PI-Like scheme [INFOCOM 2001] Differential treatment of Flows: an old idea. FRED, CHOKe, AFD, RIO-PS SRED, SFB, RED-PD 2005-2-15 CS577(Spring 2005) 16

Classifying Flows A score-boarding Approach Use two hash tables (Hash keys are formed by IP addressing 4-tuple plus protocol number. A suspect flow table HB ( High Band Width ) and A per-flow packet count table SB ( score board ) Arriving packets from flows in HB are subject to dropping Arriving packets from other flows are inserted into SB and tested to determine if the flow should be considered high bandwidth. Using a simple packet count threshold for this determination. 2005-2-15 CS577(Spring 2005) 17

Classifying Flows A score-boarding approach(figure3) 2005-2-15 CS577(Spring 2005) 18

An Alternate Approach AFD [Pan et al. 2003] Approximate Fairness through Differential Dropping Sample 1 out of every s packets and store in a shadow buffer of size b Estimate Flow s rate as r est = R * (#matches/b) Drop packet with probability p= 1- rf air /r rest 2005-2-15 CS577(Spring 2005) 19

Another Alternate Approach RIO-PS[Guo and Matta 2001] Edge Routers: maintain per-flow counters and classify flows into two classes: short or long Core Routers: Use different RED engines for short and long flows Use different RED parameter settings to give preferential treatment to short flows 2005-2-15 CS577(Spring 2005) 20

Another Alternate Approach RIO-PS [Guo and Matta 2001] Edge Routers: maintain per-flow counters and classify flows into two classes: short or long Core Routers: Use different RED engines for short and long flows Use different RED parameter settings to give preferential treatment to short flows 2005-2-15 CS577(Spring 2005) 21

Outline Background: Router-based congestion control Active Queue Management (AQM) Explicit Congestion Notification (ECN) Do AQM schemes works? The case for differential congestion notification (DCN). A DCN prototype and its empirical evaluation. 2005-2-15 CS577(Spring 2005) 22

Evaluation Methodology [SIGCOMM2003] Evaluate AQM schemes through live simulation Evaluate the browsing behavior of a large population users surfing the web in a laboratory test bed. Construct a physical network emulating a congested peering link between two ISPs Generate synthetic HTTP requests and responses but transmit over real TCP/IP stacks, network links, and switches Also perform experiments with mix of TCP applications. 2005-2-15 CS577(Spring 2005) 23

Experimental Methodology HTTP traffic generation Synthetic web traffic generated using the UNC HTTP model [SIGMETRICS 2001, MASCOTS 2003] Primary random variables: 2005-2-15 CS577(Spring 2005) 24

Experimental Methodology Testbed emulating an ISP peering link AQM schemes implemented in FreeBSD routers using ALTQ kernel extensions End-systems either a traffic generation client or server use dummynet to provide to provide per-flow propagation delays Two-way traffic generated, equal load generated in each direction 2005-2-15 CS577(Spring 2005) 25

Experimental Methodology 1 Gbps Network calibration experiments Experiments run on a congested 100 Mbps link Primary simulation parameter: Number of simulated browsing users browsing users Run calibration experiments on an un-congested 1 Gbps link to relate simulated user populations to average link utilization (And to ensure offered load is linear in the number of simulated users -- i.e., that end-systems are not a bottleneck) 2005-2-15 CS577(Spring 2005) 26

Experimental Methodology 1 Gbps Network Calibration Experiments 2005-2-15 CS577(Spring 2005) 27

DCN Evaluation Experimental Plan Run experiments with DCN, AFD, RIO-PS, and PI at different offered loads PI always uses ECN, test AFD and RIO-PS with and without ECN DCN always signals congestion via drops Compare DCN results against The better of PI, AFD, and RIO-PS (the performance to beat) The un-congested network (the performance to approximate) 2005-2-15 CS577(Spring 2005) 28

Experiment Results 90% Load DCN Performance (figure 5) 2005-2-15 CS577(Spring 2005) 29

Experimental Results 98% Load DCN Performance (figure 5) 2005-2-15 CS577(Spring 2005) 30

Experimental Result 90% Load DCN Performace (figure 9) 2005-2-15 CS577(Spring 2005) 31

Experiment Results 98% Load Comparison of all schemes(figure-11) 2005-2-15 CS577(Spring 2005) 32

DCN Evaluation Summary DCN uses a simple, tunable two-tired classification scheme with Tunable storage overhead O(1) Complexity with High Probability DCN, without ECN, meets or exceeds the performance of the best performing AQM designs with ECN The performance of 99+% flows is improved More small and medium flows complete per unit time. On heavily congested networks, DCN closely approximates the performance achieved on an un-congested network 2005-2-15 CS577(Spring 2005) 33

Summary and Conclusions For offered loads of 90% or greater there is benefit to control theoretic AQM but only when used with ECN bandwidth Heuristically signaling only long-lived, highbandwidth flows improves the performance of most flows and eliminates the requirement for ECN One can operate links carrying HTTP traffic at near saturation levels with performance approaching that achieved on an un-congested network Identification of high-bandwidth flows can be performed with tunable overhead and effectively complexity 2005-2-15 CS577(Spring 2005) 34

Experimental Results 90% Load Comparison of all schemes (CCDF) 2005-2-15 CS577(Spring 2005) 35

Experimental Results 98% Load Comparison of all schemes (CCDF) 2005-2-15 CS577(Spring 2005) 36

Experimental Results With General TCP Traffic Comparison of all schemes (Figure 19) 2005-2-15 CS577(Spring 2005) 37

Experimental Results With General TCP Traffic Comparison of all schemes CCDF (Figure 20) 2005-2-15 CS577(Spring 2005) 38

Reference Authors slides in ICNP 2004 http://www.cs.unc.edu/~jeffay/talks/icnp-04-slides.pdf Authors slides for SIGCOMM2003 http://www.cs.unc.edu/~jeffay/talks/penn-dcn-ecn- Study-04.pdf Research Group Websites http://www.cs.unc.edu/research/dirt 2005-2-15 CS577(Spring 2005) 39

Differential Congestion Notification: Taming the Elephants (IEEE ICNP 2004) 2005-2-15 CS577(Spring 2005) 40