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

Slides:



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

Computer Networking Lecture 20 – Queue Management and QoS.
RED Enhancement Algorithms By Alina Naimark. Presented Approaches Flow Random Early Drop - FRED By Dong Lin and Robert Morris Sabilized Random Early Drop.
CSIT560 Internet Infrastructure: Switches and Routers Active Queue Management Presented By: Gary Po, Henry Hui and Kenny Chong.
Congestion Control Algorithms: Open Questions Benno Overeinder NLnet Labs.
 Liang Guo  Ibrahim Matta  Computer Science Department  Boston University  Presented by:  Chris Gianfrancesco and Rick Skowyra.
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.
Congestion Control: TCP & DC-TCP Swarun Kumar With Slides From: Prof. Katabi, Alizadeh et al.
CS 4700 / CS 5700 Network Fundamentals Lecture 12: Router-Aided Congestion Control (Drop it like it’s hot) Revised 3/18/13.
Selfish Behavior and Stability of the Internet: A Game-Theoretic Analysis of TCP Presented by Shariq Rizvi CS 294-4: Peer-to-Peer Systems.
Advanced Computer Networking Congestion Control for High Bandwidth-Delay Product Environments (XCP Algorithm) 1.
Congestion Control An Overview -Jyothi Guntaka. Congestion  What is congestion ?  The aggregate demand for network resources exceeds the available capacity.
Explicit Congestion Notification (ECN) RFC 3168 Justin Yackoski DEGAS Networking Group CISC856 – TCP/IP Thanks to Namratha Hundigopal.
XCP: Congestion Control for High Bandwidth-Delay Product Network Dina Katabi, Mark Handley and Charlie Rohrs Presented by Ao-Jan Su.
School of Information Technologies TCP Congestion Control NETS3303/3603 Week 9.
Network Congestion Gabriel Nell UC Berkeley. Outline Background: what is congestion? Congestion control – End-to-end – Router-based Economic insights.
The War Between Mice and Elephants Presented By Eric Wang Liang Guo and Ibrahim Matta Boston University ICNP
Advanced Computer Networks: RED 1 Random Early Detection Gateways for Congestion Avoidance * Sally Floyd and Van Jacobson, IEEE Transactions on Networking,
Adaptive Packet Marking for Maintaining End-to-End Throughput in a Differentiated-Services Internet Wu-Chang Feng, Dilip D.Kandlur, Member, IEEE, Debanjan.
1 Minseok Kwon and Sonia Fahmy Department of Computer Sciences Purdue University {kwonm, All our slides and papers.
Explicit Congestion Notification ECN Tilo Hamann Technical University Hamburg-Harburg, Germany.
1 Congestion Control Outline Queuing Discipline Reacting to Congestion Avoiding Congestion.
Networks: Congestion Control1 Congestion Control.
TCP Stability and Resource Allocation: Part I. References The Mathematics of Internet Congestion Control, Birkhauser, The web pages of –Kelly, Vinnicombe,
Low Delay Marking for TCP in Wireless Ad Hoc Networks Choong-Soo Lee, Mingzhe Li Emmanuel Agu, Mark Claypool, Robert Kinicki Worcester Polytechnic Institute.
15-744: Computer Networking L-11 Queue Management.
1 Minseok Kwon and Sonia Fahmy Department of Computer Sciences Purdue University {kwonm, TCP Increase/Decrease.
1 Random Early Detection Gateways for Congestion Avoidance Sally Floyd and Van Jacobson, IEEE Transactions on Networking, Vol.1, No. 4, (Aug 1993), pp
A Switch-Based Approach to Starvation in Data Centers Alex Shpiner Joint work with Isaac Keslassy Faculty of Electrical Engineering Faculty of Electrical.
1 Emulating AQM from End Hosts Presenters: Syed Zaidi Ivor Rodrigues.
ACN: Congestion Control1 Congestion Control and Resource Allocation.
Random Early Detection Gateways for Congestion Avoidance
Congestion Control for High Bandwidth-delay Product Networks Dina Katabi, Mark Handley, Charlie Rohrs.
Congestion Control for High Bandwidth-Delay Product Environments Dina Katabi Mark Handley Charlie Rohrs.
Ns Simulation Final presentation Stella Pantofel Igor Berman Michael Halperin
Advanced Computer Networks : RED 1 Random Early Detection Gateways for Congestion Avoidance Sally Floyd and Van Jacobson, IEEE Transactions on Networking,
ICTCP: Incast Congestion Control for TCP in Data Center Networks∗
Adaptive Packet Marking for Providing Differentiated Services in the Internet Wu-chang Feng, Debanjan Saha, Dilip Kandlur, Kang Shin October 13, 1998.
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.
Understanding the Performance of TCP Pacing Amit Aggarwal, Stefan Savage, Thomas Anderson Department of Computer Science and Engineering University of.
Link Scheduling & Queuing COS 461: Computer Networks
Advanced Computer Networking
ACN: RED paper1 Random Early Detection Gateways for Congestion Avoidance Sally Floyd and Van Jacobson, IEEE Transactions on Networking, Vol.1, No. 4, (Aug.
Stochastic Fair Blue: A Queue Management Algorithm for Enforcing Fairness W. Feng, D. Kandlur, D. Saha, and K. Shin Presented by King-Shan Lui.
Queueing and Active Queue Management Aditya Akella 02/26/2007.
The Impact of Active Queue Management on Multimedia Congestion Control Wu-chi Feng Ohio State University.
15744 Course Project1 Evaluation of Queue Management Algorithms Ningning Hu, Liu Ren, Jichuan Chang 30 April 2001.
TCP with Variance Control for Multihop IEEE Wireless Networks Jiwei Chen, Mario Gerla, Yeng-zhong Lee.
CS640: Introduction to Computer Networks Aditya Akella Lecture 20 - Queuing and Basics of QoS.
A Self-Configuring RED Gateway Wu-chang Feng, Dilip Kandlur, Debanjan Saha, Kang Shin INFOCOM ‘99.
AQM & TCP models Courtesy of Sally Floyd with ICIR Raj Jain with OSU.
Computer Networking Lecture 18 – More TCP & Congestion Control.
We used ns-2 network simulator [5] to evaluate RED-DT and compare its performance to RED [1], FRED [2], LQD [3], and CHOKe [4]. All simulation scenarios.
The Macroscopic behavior of the TCP Congestion Avoidance Algorithm.
Stochastic Fair Blue An Algorithm For Enforcing Fairness Wu-chang Feng (OGI/OHSU) Dilip Kandlur (IBM) Debanjan Saha (Tellium) Kang Shin (University of.
XCP: eXplicit Control Protocol Dina Katabi MIT Lab for Computer Science
NOSSDAV '97 Understanding TCP Dynamics in an Integrated Services Internet Wu-chang Feng, Dilip Kandlur, Debanjan Saha, and Kang Shin.
ECEN 619, Internet Protocols and Modeling Prof. Xi Zhang Random Early Detection Gateways for Congestion Avoidance Sally Floyd and Van Jacobson, IEEE Transactions.
Corelite Architecture: Achieving Rated Weight Fairness
Internet Networking recitation #9
Blue: An Alternative Approach to Active Queue Management
Congestion Control and Resource Allocation
Queuing and Queue Management
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.
Random Early Detection Gateways for Congestion Avoidance
Advanced Computer Networks
Internet Networking recitation #10
TCP Congestion Control
Presentation transcript:

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

Outline Motivation Congestion control and queue management today (TCP, Drop-tail, RED) Solutions for reducing packet loss in the Internet –ECN –Adaptive RED –SubTCP –Blue –Stochastic Fair Blue Providing scalable QoS over the Internet Conclusion

Motivation Exponential increase in network demand –Rising packet loss rates 17% loss rates reported [Paxson97] –Low utilization and goodput –Potential for congestion collapse Goal of dissertation –Examine causes –Solutions for maximizing network efficiency in times of heavy congestion –0% packet loss, 100% link utilization, low queuing delay

Congestion Control Today TCP –Instrumental in preventing congestion collapse –Limits transmission rate at the source –Window-based rate control Increased and decreased based on network feedback Implicit congestion signal based on packet loss Slow-start Fast-retransmit, Fast-recovery Congestion avoidance

Example of TCP Windowing RTT W W+1 2W Congestion avoidance Fast Retransmit/Recovery Slow-start

Drop-tail Queue Management Default queue management mechanism Packets dropped upon queue overflow Problems –Global synchrony (poor utilization) –Late congestion notification (packet loss) Solution –Randomize –Early detection of incipient congestion

RED Queue Management RED (Random Early Detection) –Keep EWMA of queue length (Q ave ) –Increase in EWMA triggers random drops Basic algorithm P drop 0 1 max p min th max th Q ave

Question If TCP and RED are so good, why is network efficiency so bad? Problems (and solutions) –Congestion notification through packet loss (ECN) –RED not adaptive to congestion (Adaptive RED) –TCP too aggressive at high loads (SubTCP) –RED depends on queue lengths (Blue) –Non-responsive flows (Stochastic Fair Blue)

Outline Motivation Congestion control and queue management today (TCP, Drop-tail, RED) Solutions for reducing packet loss in the Internet –ECN –Adaptive RED –SubTCP –Blue –Stochastic Fair Blue Providing scalable QoS over the Internet Conclusion

RED and Packet Loss Impact of RED on loss rates minimal Loss rates are a first order function of TCP 64 connections 10Mbs link

TCP Revisited RTT W W+1 2W 1/p = W + (W+1) + … + 2W = 3W 2 /4 W/2 RTTs RTT*(W/2) RTT*sqrt(p) N BW = MSS*(3W 2 /4) = MSS*C = L p = N * MSS * C L * RTT 2

Comments on Model Reducing N - [Balakrishnan98] Increasing RTT - [Villamizar94] Decreasing MSS - [Feng98] Loss rates as a function of N between linear and quadratic –Fair share assumption (L/N) - [Morris97] –No retransmission timeouts - [Padhye98] p = N * MSS * C L * RTT 2

ECN Without ECN, packet loss rates will remain high IETF ECN WG (1998) RFC January 1999 (Experimental standard) –2-bits in “DS Field” of IPv4/IPv6 headers (ECT, CE) –2-bits in “TCP Flags” field of TCP (CWR, ECN Echo)

Outline Motivation Congestion control and queue management today (TCP, Drop-tail, RED) Solutions for reducing packet loss in the Internet –ECN –Adaptive RED –SubTCP –Blue –Stochastic Fair Blue Providing scalable QoS over the Internet Conclusion

RED and Packet Loss Even with ECN, RED does not eliminate packet loss Problem –RED is not adaptive to congestion level –max p constant Congestion notification vs. number of connections –N = number of connections –Offered load reduced by [1 - (1/2N)] per notification

RED Experiments 100 Mbs 10 Mbs 45 Mbs RED queue (min th =20K, max th =80K, Q size =80K) 8 or 32 TCP sources using ECN Conservative vs. aggressive early detection Simulated in ns –Aggressive detection: max p = –Conservative detection: max p = 0.016

Aggressive Early Detection 8 sources32 sources

Conservative Early Detection 8 sources32 sources

Conservative Early Detection 32 sources, Q len = 120KB

Adaptive RED Adapt max p based on queue behavior Increase max p when Q ave crosses above max th Decrease max p when Q ave crosses below min th Freeze max p after changes to prevent oscillations P drop 0 1 max p min th max th Q ave

Evaluation Workload varied between 8 and 32 sources 100 Mbs 10 Mbs 45 Mbs RED queue (min th =20K, max th =80K, Q size =100K)

Static Early Detection AggressiveConservative

Adaptive RED Queue lengthmax p

Implementation FreeBSD ALTQ Ascend, Cisco 100 Mbs 10 Mbs 200 MHz 32 MB 233 MHz 128 MB 200 MHz 64 MB 166 MHz 32 MB

Adaptive RED Performance Loss ratesLink utilization

Outline Motivation Congestion control and queue management today (TCP, Drop-tail, RED) Solutions for reducing packet loss in the Internet –ECN –Adaptive RED –SubTCP –Blue –Stochastic Fair Blue Providing scalable QoS over the Internet Conclusion

Fixing TCP Packet loss and low utilization even with Adaptive RED Aggregate TCP traffic too aggressive –Large queue fluctuations over short periods of time –Queue overflow before RED can react Example BW*Delay = 100KB t=0: 10*10KB = 100KB t=RTT: 10*11KB = 110KB 10% increase in offered load 10 sources t=0: 100*1KB = 100KB t=RTT: 100*2KB = 200KB 100% increase in offered load 100 sources

Fixing TCP Limit increase in aggregate TCP per RTT TCP –Limit window increases by X% per RTT Bottleneck link –Leave space to buffer X% higher than capacity per RTT

SubTCP Make TCP more conservative Slow-start unmodified Congestion avoidance algorithm –min(1, cwnd * X%) Modified exponential back-off algorithm

SubTCP Evaluation connections over T1 link X=10% Simulated in ns 100 Mbs 1.5 Mbs 100 Mbs

SubTCP Evaluation Loss ratesLink utilization

Comparison of Approaches 300 connections

Outline Motivation Congestion control and queue management today (TCP, Drop-tail, RED) Solutions for reducing packet loss in the Internet –ECN –Adaptive RED –SubTCP –Blue –Stochastic Fair Blue Providing scalable QoS over the Internet Conclusion

Blue RED –Queue length fluctuations –TCP modifications required (SubTCP) –Use of queue length inherently flawed Blue –Class of fundamentally different queue management algorithms –Decouple congestion management from queue length –Rely only on queue and link history –Example Increase aggressiveness when loss rates high Decrease aggressiveness when link underutilized

RED Example AB Sources Sinks L Mbs Sending rate increases above L Mbs Queue increases, EWMA increases to trigger RED Rate > L Mbs Queue increases Queue increases some more Rate > L Mbs Sinks generate DupACKs/ECN DupACKs/ECN travel back Queue increases some more Rate > L Mbs Sources detect congestion Queue overflows, max th triggered Queue clears, but under-utilization imminent Sources see sustained CN Rate < L Mbs

RED Example AB Sources Sinks L Mbs

Ideal Example (Blue) AB Sources Sinks L Mbs Rate = L Mbs Queue drops and/or ECN marks at steady rate Rate = Exactly what will keep sources at L Mbs Sinks generate DupACKs/ECN

Example Blue Algorithm Single dropping/marking probability –Increase upon packet loss –Decrease when link underutilized –Freeze value upon changing Upon packet loss: if ((now - last_update) > freeze_time) then P mark = P mark + delta last_update = now Upon link idle: if ((now - last_update) > freeze_time) then P mark = P mark - delta last_update = now

Blue Evaluation 400 and 1600 sources Buffer sizes at bottleneck link –From 100KB (17.8 ms) –Up to 1000KB (178 ms) 100 Mbs 45 Mbs 100 Mbs

Blue Evaluation 400 sources1600 sources

Understanding Blue Experiment –50 sources added every 10 seconds Queue length plots RED Blue

Understanding Blue Marking behavior REDBlue

Implementation FreeBSD ALTQ 100 Mbs 10 Mbs IBM PC 360 (150 MHz/64 MB) Winbook XL (233 MHz/32 MB) Intellistation Mpro (400 MHz/128 MB) Intellistation Zpro (200 MHz/64 MB) IBM PC 365 (200 MHz/64 MB) Thinkpad 770 (266 MHz/64 MB)

Blue Evaluation Loss ratesLink utilization

Outline Motivation TCP, RED, and congestion control Solutions for reducing packet loss in the Internet –ECN –Adaptive RED –SubTCP –Blue –Stochastic Fair Blue Providing scalable QoS over the Internet Conclusion

Dealing with Non-responsive Flows Fair queuing –WFQ, W2FQ [Bennett96], Virtual Clock[Zhang90], SCFQ [Golestani94], STFQ [Goyal96] –Stochastic Fair Queuing [McKenney90] –Problems Overhead Partitioned buffers Buffer management –RED with penalty box [Floyd97], Flow RED [Lin97] –Problems: Buffer space requirements Inaccuracy

Stochastic Fair Blue (SFB) Single FIFO queue Multiple independent hash functions applied to each packet Packets update multiple accounting bins Blue performed on accounting bins Observation –Non-responsive flows drive P to 1.0 in all bins –TCP flows have some bins with normal P –P min = 1.0, rate-limit –P min < 1.0, mark with probability P min

SFB h L-1 h1h1 P=1.0 Non-responsive Flow P min =1.0 TCP Flow P=0.2 P=0.3 P min =0.2 h0h N-1 N L virtual bins out of L*N actual bins

SFB Evaluation 400 TCP flows 1 non-responsive flow sending at 45 Mbs Evaluation –200KB, 2-level SFB with 23 bins per level (529 virtual bins) –200KB RED queue –400KB SFQ with 46 RED queues 100 Mbs 45 Mbs 100 Mbs

SFB Evaluation REDSFQ+RED Loss rates Non-responsive = Mbs TCP Flows = 3.07 Mbs Loss rates Non-responsive = Mbs TCP Flows = 2.53 Mbs

SFB Evaluation Loss rates Non-responsive = Mbs TCP Flows = 0.01 Mbs SFB

SFB and Misclassification SFB deteriorates with increasing non-responsive flows Non-responsive flows pollute bins in each level Probability of misclassification –p = [1 - (1 - 1/N) M ] L –Given M, optimize L and N subject to L*N=C

SFB and Misclassification 8 non-responsive flows4 non-responsive flows

SFB with Moving Hash Functions SFB –Virtual buckets from spatial replication of bins Moving hash functions –Virtual buckets temporally Advantages –Handles misclassification –Handles reformed flows

SFB with Moving Hash Functions

Outline Motivation TCP, RED, and congestion control Solutions for reducing packet loss in the Internet –ECN –Adaptive RED –SubTCP –Blue –Stochastic Fair Blue Providing scalable QoS over the Internet Conclusion

Scalable QoS over the Internet One of the first papers on Differentiated Services Led to formation of current working group Contributions –Fundamental problems with TCP over DiffServ –Modifications for improving performance –Architecture for providing soft bandwidth guarantees –Novel, end-host marking mechanisms –Influence in IETF (AF I-D and DiffServ WG) –Influence in industry (Cisco)

Conclusion Maximizing network efficiency –De-coupling packet loss and congestion notification (ECN) –Adaptive queue management (Adaptive RED and Blue) –Intelligent end-host mechanisms (SubTCP) –Scalable protection against non-responsive flows (SFB) QoS through Differentiated Services

Publications “Understanding TCP Dynamics in an Integrated Services Internet” –NOSSDAV 1997 –IEEE/ACM Transactions on Networking “Adaptive Packet Marking for Providing Differentiated Services in the Internet” –ICNP 1998 –Accepted IEEE/ACM Transactions on Networking 1999 (minor revisions). “A Self-Configuring RED Gateway” –INFOCOM 1999 “Blue: A New Class of Active Queue Management Algorithms” –?