Promoting the Use of End-to-End Congestion Control & Random Early Detection of Network Congestion.

Slides:



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

RED-PD: RED with Preferential Dropping Ratul Mahajan Sally Floyd David Wetherall.
Computer Networking Lecture 20 – Queue Management and QoS.
1 CONGESTION CONTROL. 2 Congestion Control When one part of the subnet (e.g. one or more routers in an area) becomes overloaded, congestion results. Because.
CSIT560 Internet Infrastructure: Switches and Routers Active Queue Management Presented By: Gary Po, Henry Hui and Kenny Chong.
Congestion Control Reasons: - too many packets in the network and not enough buffer space S = rate at which packets are generated R = rate at which receivers.
Transport Layer3-1 TCP AIMD multiplicative decrease: cut CongWin in half after loss event additive increase: increase CongWin by 1 MSS every RTT in the.
Congestion Control Created by M Bateman, A Ruddle & C Allison As part of the TCP View project.
CS 268: Lecture 8 Router Support for Congestion Control Ion Stoica Computer Science Division Department of Electrical Engineering and Computer Sciences.
CS 4700 / CS 5700 Network Fundamentals Lecture 12: Router-Aided Congestion Control (Drop it like it’s hot) Revised 3/18/13.
Congestion Control An Overview -Jyothi Guntaka. Congestion  What is congestion ?  The aggregate demand for network resources exceeds the available capacity.
Ion Stoica, Scott Shenker, and Hui Zhang SIGCOMM’98, Vancouver, August 1998 subsequently IEEE/ACM Transactions on Networking 11(1), 2003, pp Presented.
Advanced Computer Networks: RED 1 Random Early Detection Gateways for Congestion Avoidance * Sally Floyd and Van Jacobson, IEEE Transactions on Networking,
Dynamic Internet Congestion with Bursts Stefan Schmid Roger Wattenhofer Distributed Computing Group, ETH Zurich 13th International Conference On High Performance.
1 Congestion Control Outline Queuing Discipline Reacting to Congestion Avoiding Congestion.
Jinho Promoting the Use of End-To-End Congestion Control in the Internet IEEE/ACM Transaction on Networking Vol.7 No.4 August 1999 Sally Floyd and Kevin.
Analysis and Simulation of a Fair Queuing Algorithm
EE689 Lecture 5 Review of last lecture More on HPF RED.
WPI - Advanced Computer Network 1 Promoting the Use of End-to-End Congestion Control in the Internet IEEE/ACM Transactions on Networking, May Sally.
15-744: Computer Networking L-11 Queue Management.
1 TCP Transport Control Protocol Reliable In-order delivery Flow control Responds to congestion “Nice” Protocol.
1 Random Early Detection Gateways for Congestion Avoidance Sally Floyd and Van Jacobson, IEEE Transactions on Networking, Vol.1, No. 4, (Aug 1993), pp
1 Internet Networking Spring 2003 Tutorial 11 Explicit Congestion Notification (RFC 3168)
A Real-Time Video Multicast Architecture for Assured Forwarding Services Ashraf Matrawy, Ioannis Lambadaris IEEE TRANSACTIONS ON MULTIMEDIA, AUGUST 2005.
Promoting the Use of End-to- End Congestion Control in the Internet Sally Floyd and Kevin Fall Presented by Scott McLaren.
ACN: TCP Friendly1 Promoting the Use of End-to-End Congestion Control in the Internet Sally Floyd and Kevin Fall IEEE/ACM Transactions on Networking May.
Active Queue Management Rong Pan Cisco System EE384y Spring Quarter 2006.
Computer Networking Lecture 17 – Queue Management As usual: Thanks to Srini Seshan and Dave Anderson.
Random Early Detection Gateways for Congestion Avoidance
Congestion Control for High Bandwidth-delay Product Networks Dina Katabi, Mark Handley, Charlie Rohrs.
Diffusion Early Marking Department of Electrical and Computer Engineering University of Delaware May / 2004 Rafael Nunez Gonzalo Arce.
Advanced Computer Networks : RED 1 Random Early Detection Gateways for Congestion Avoidance Sally Floyd and Van Jacobson, IEEE Transactions on Networking,
CS640: Introduction to Computer Networks Aditya Akella Lecture 20 - Queuing and Basics of QoS.
CS540/TE630 Computer Network Architecture Spring 2009 Tu/Th 10:30am-Noon Sue Moon.
1 Queue Management Hamed Khanmirza Principles of Networking University of Tehran.
Link Scheduling & Queuing COS 461: Computer Networks
CS 268: Computer Networking L-6 Router Congestion Control.
Advance Computer Networking L-6 TCP & Routers Acknowledgments: Lecture slides are from the graduate level Computer Networks course thought by Srinivasan.
ACN: RED paper1 Random Early Detection Gateways for Congestion Avoidance Sally Floyd and Van Jacobson, IEEE Transactions on Networking, Vol.1, No. 4, (Aug.
1 Lecture 14 High-speed TCP connections Wraparound Keeping the pipeline full Estimating RTT Fairness of TCP congestion control Internet resource allocation.
Queueing and Active Queue Management Aditya Akella 02/26/2007.
9.7 Other Congestion Related Issues Outline Queuing Discipline Avoiding Congestion.
Packet Scheduling and Buffer Management Switches S.Keshav: “ An Engineering Approach to Networking”
Copyright 2008 Kenneth M. Chipps Ph.D. Controlling Flow Last Update
CS640: Introduction to Computer Networks Aditya Akella Lecture 20 - Queuing and Basics of QoS.
AQM & TCP models Courtesy of Sally Floyd with ICIR Raj Jain with OSU.
Promoting the Use of End-to-End Congestion Control in the Internet Sally Floyd and Kevin Fall IEEE-ACAM Transactions on Networking, 馬儀蔓.
Thoughts on the Evolution of TCP in the Internet (version 2) Sally Floyd ICIR Wednesday Lunch March 17,
CSE Computer Networks Prof. Aaron Striegel Department of Computer Science & Engineering University of Notre Dame Lecture 19 – March 23, 2010.
Explicit Allocation of Best-Effort Service Goal: Allocate different rates to different users during congestion Can charge different prices to different.
Random Early Detection (RED) Router notifies source before congestion happens - just drop the packet (TCP will timeout and adjust its window) - could make.
Thoughts on the Evolution of TCP in the Internet Sally Floyd PFLDnet 2004 February 16, 2004.
ECEN 619, Internet Protocols and Modeling Prof. Xi Zhang Random Early Detection Gateways for Congestion Avoidance Sally Floyd and Van Jacobson, IEEE Transactions.
Congestion Avoidance Created by M Bateman, A Ruddle & C Allison As part of the TCP View project.
An End-to-End Service Architecture r Provide assured service, premium service, and best effort service (RFC 2638) Assured service: provide reliable service.
Providing QoS in IP Networks
Univ. of TehranIntroduction to Computer Network1 An Introduction Computer Networks An Introduction to Computer Networks University of Tehran Dept. of EE.
Real-time Transport for Assured Forwarding: An Architecture for both Unicast and Multicast Applications By Ashraf Matrawy and Ioannis Lambadaris From Carleton.
1 Lecture 15 Internet resource allocation and QoS Resource Reservation Protocol Integrated Services Differentiated Services.
Other Methods of Dealing with Congestion
QoS & Queuing Theory CS352.
Topics discussed in this section:
Chapter 6 Congestion Avoidance
CONGESTION CONTROL.
Advance Computer Networking
EE 122: Router Support for Congestion Control: RED and Fair Queueing
Random Early Detection Gateways for Congestion Avoidance
Other Methods of Dealing with Congestion
Other Methods of Dealing with Congestion
“Promoting the Use of End-to-End Congestion Control in the Internet”
Presentation transcript:

Promoting the Use of End-to-End Congestion Control & Random Early Detection of Network Congestion

Abstract Congestion collapse forms Classification of flows Incentives for the use of End-to-End congestion control Identifying flows to regulate Router role in the network

Congestion Collapse Forms classical congestion collapse congestion collapse from undelivered packets fragmentation based congestion collapse congestion collapse from increased control traffic congestion collapse from stale or unwanted packets

Two ways: maintaining an environment characterized by end-to-end congestion control maintaining a virtual-circuit-style environment Avoiding Congestion Collapse From Undelivered Packets

Characterization of Flows TCP-Friendly flow arrival rate does not exceed the arrival rate of a conformant TCP-connection in the same circumstances Responsive flow changes it’s arrival rate proportionally in response to an increased packet drop rate Flow using disproportionate bandwidth - where a disproportionate share is defined as a significantly larger share than other flows in the presence of suppressed demand.

Aggressive Flows Are: Unresponsive Flows Responsive but not TCP-Friendly flows Flows using disproportionate bandwidth Note: an aggressive use of TCP is possible as well

A solution: TCP connections cooperating to share scarce bandwidth in times of congestion User-Based incentive mechanism (?) Network-Based incentive mechanism – identifying flows to regulate Creating the Right Incentives

Creating the Right Incentives – cont. Policies for regulating high-bandwidth flows: regulate high-bandwidth flows in time of congestion when they violate expectations of end- to-end congestion control, by being unresponsive or exceeding bandwidth used by conformant TCP flow under the same circumstances regulate any flows determined to be using disproportionate share of bandwidth in time of congestion The regulated flows can be restricted either to the same bandwidth as “well-behaved” flows, or to less bandwidth.

Identifying Flows to Regulate Note: un-addressed issues: encryption and packet fragmentation may interfere with packet-fine- classification into single flows by routers A single flow is defined by the source & destination IP and port -> each TCP connection is a single flow the approaches discussed are designed to detect a small number of misbehaving flows in an environment characterized by end-to-end congestion control and would not be effective as a substitute for such control.

Identifying Flows to Regulate cont. Assumptions: Routers have some mechanism for efficiently estimating the arrival rate of high-bandwidth flows A router only needs to consider regulating flows using significantly more than their “share” of the bandwidth in the presence of suppressed demand from other best effort flows

Identifying flows that are “not TCP-Friendly” Assuming TCP is characterized by: 1.reducing its window at least by half upon congestion indication 2.increasing its window by a constant rate of at most one packet per RTT (otherwise) it is possible to determine a maximum overall sending rate for a TCP connection given packet loss rate, packet size and RTT

TCP-Friendly Test A TCP-friendly flow sustains the next equation: T – maximum sending rate for a TCP connection (Bps) P – packet drop rate B – maximum packet size (Bytes) R – fairly constant minimum RTT including queuing delays (sec)

Limitations of the TCP- friendly test Can only be applied to a flow at the level of granularity of a single TCP connection Difficulties: determining maximum packet size and minimum RTT for a flow Test measurements should be taken over a sufficiently large time interval

Identifying Unresponsive Flows if the steady state drop rate increases by a factor x the presented load for a high bandwidth flow should decrease by a factor close to x or more. otherwise: a single flow or an aggregated traffic can be considered unresponsive.

Requirements & Limitations of Unresponsiveness Test requires estimates of flow arrival rate and packet drop rate over long time intervals the test does not detect all flows that do not respond to congestion, but is only applied to high bandwidth flows when the packet drop rate remains relatively constant, no flows will be identified as unresponsive this test is less straight forward for flows with variable demands

A Variant of Unresponsive Flow Test instead of applying this test passively another option is to purposefully increase the packet drop rate of a high bandwidth flow in times of congestion and observing whether the arrival rate of the flow on that link decreases appropriately

Notes: If the only tests deployed upon a path were tests for responsiveness this could be an incentive for flows to start with an overly high bandwidth – such flow can reduce it’s sending rate be considered responsive and still receive a larger share of bandwidth than other competing flows

Identifying Flows Using Disproportionate Bandwidth Let n be the number of flows with packet drops in the recent reporting interval we define a flow as using disproportionate share of the best effort Bandwidth if it’s fraction of the aggregate arrival rate exceeds ln(3n)/n we define a flow as having high arrival rate relative to the level of congestion if it’s arrival rate is greater than c/ p Bps for some constant c.

Disproportionate Bandwidth Test Limitations & notes estimating the level of unsatisfied demand is problematic A router may restrict the bandwidth of such flows even if they are known to be using conformant TCP congestion control

Router Response To Aggressive Flows proposal: routers should freely restrict the bandwidth of best effort flows determined to be “Aggressive” in times on congestion Restrictions should be removed at time of no congestion or upon indication of reduced arrival rate appropriately

Router Response To Aggressive Flows cont. As to flows which use disproportional share of the bandwidth: a conservative approach would be to limit the restriction of responsive flows so that over the long run each flow receives as much as the highest bandwidth unrestricted flow

Alternate Approaches A deployment at all congested routers, of per-flow scheduling mechanisms (such as round robin and fair queuing) however, per-flow scheduling cannot prevent congestion collapse by itself and should be used along side with end-to-end congestion control but, per-flow scheduling motivates flows not to use end-to-end congestion control therefore, it needs other incentives for flows to use end-to-end congestion control

Alternate Approaches cont. FCFS scheduling is more efficient to implement than per-flow scheduling and may improve link speed and the number of active flows per link FCFS is considered an optimal algorithm for a traffic where the long term aggregate arrival rate is restricted by either admission control or end-to-end congestion control FCFS allows packets arriving in a small burst to be transmitted in a burst rather than be spread out and delayed by the scheduler

Router Role in the Network Basically there is a limit on how much control can be accomplished from the edges of the network Some mechanisms are needed in the routers to complete the endpoint congestion avoidance mechanisms. two classes of router algorithms related to congestion control: 1. queue management 2. scheduling

Queue Management “Tail Drop”: The traditional technique for managing router queue length: set a maximum length (packets) for each queue. accept packets until the maximum length has been reached reject (drop) subsequent incoming packets until the queue length decreases

Tail Drop Drawbacks lock-out: may allow monopolization of queue space by a single connection or a few flows. Full Queues: allows queue to maintain a full (or almost full) status for long periods of time.

Full Queues – A problem packets often arrive at routers in bursts. if the queue is full or almost full, an arriving burst will cause multiple packet drop. this may result in synchronization of flows throttling back followed by a long period of lowered link utilization, reducing overall throughput.

“Tail Drop” Alternatives random drop on full when a new packet arrives and queue is full - drop a randomly selected packet from the queue drop front on full when a new packet arrives and queue is full – drop the packet at the front of the queue

Active Queue Management given responsive flows: A solution for the full-queues problem is for routers to drop packets before a queue becomes full. Active queue management allows routers to control when and how many packets to drop such mechanism can provide: reduce number of packets dropped lower delay interactive service lock-out avoidance

Approaches for Queue Management A router could send a message to the source of flow when the queue size exceeds a certain size, and outline a possible method for flow control at the source DECbit – a binary feedback scheme where the router uses a congestion indication bit in packet headers for feedback about congestion. each router at the flow path has upper bound indicating congestion and a lower bound indicating light load. each router adds its own information about its queue size to the packet the source node decides on a course of action depending on that information

RED queue management RED – (Random Early Detection) an example to an active queue management algorithm used to keep throughput high but average queue size low the gateway detects incipient congestion by computing the average queue size notifies connections of congestion by either by dropping packets or by setting a bit in packet headers the probability for notifying a particular connection to reduce window size is proportional to the bandwidth share it uses designed to accompany a transport layer congestion control protocol such as TCP

RED queue management cont. RED gateways can be useful even in controlling the average queue size in a network where the transport layer protocol cannot be trusted to be cooperative. it can also work with: rate-based (as apposed to window-based) transport layer protocols drop preference algorithms separate queues for realtime and non- realtime traffic

Basics of RED Transient congestion is accommodated by a temporary increase in the queue. Longer-lived congestion is reflected by an increase in the computed average queue size Randomized selection of packets to drop (or mark) results in increased probability for high bandwidth flows to get congestion signals

RED vs. DECbit RED – the source should reduce its window even when only one packet was marked DECbit -the source looks at the fraction of marked packets in the last RTT RED as apposed to DECbit separates the congestion detection algorithm from the algorithm to set the congestion indication bit. thus RED is not biased against bursty flows

Red Algorithm for each packet arrival calculate average queue size: avg if min avg < max than calculate probability p with probability p: mark arriving packet else if max avg mark the arriving packet

References RFC2309 Sally Floyd and Kevin Fall “Promoting the Use of End-to-End Congestion Control in the Internet” Sally Floyd and Van Jacobson “Random Early Detection Gateways for Congestion Avoidance”