Submission doc.: IEEE 802.11-14/1264r0 September 2014 Dave Taht, Bufferbloat.netSlide 1 A Bit about Bufferbloat Date: 2014-09-16 Authors:

Slides:



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

Tuning and Evaluating TCP End-to-End Performance in LFN Networks P. Cimbál* Measurement was supported by Sven Ubik**
CCNA3: Switching Basics and Intermediate Routing v3.0 CISCO NETWORKING ACADEMY PROGRAM Switching Concepts Introduction to Ethernet/802.3 LANs Introduction.
Spring 2000CS 4611 Introduction Outline Statistical Multiplexing Inter-Process Communication Network Architecture Performance Metrics.
Congestion Control Algorithms: Open Questions Benno Overeinder NLnet Labs.
1 1 July 28, Goal of this session is to have a discussion about observations paper authors have made regarding the deployment status and constraints.
Doc.: IEEE /0604r1 Submission May 2014 Slide 1 Modeling and Evaluating Variable Bit rate Video Steaming for ax Date: Authors:
ECE 4450:427/527 - Computer Networks Spring 2015
Advanced Computer Networking Congestion Control for High Bandwidth-Delay Product Environments (XCP Algorithm) 1.
Explicit Congestion Notification (ECN) RFC 3168 Justin Yackoski DEGAS Networking Group CISC856 – TCP/IP Thanks to Namratha Hundigopal.
Sizing Router Buffers Guido Appenzeller Isaac Keslassy Nick McKeown Stanford University.
Receiver-driven Layered Multicast S. McCanne, V. Jacobsen and M. Vetterli SIGCOMM 1996.
An Implementation and Experimental Study of the eXplicit Control Protocol (XCP) Yongguang Zhang and Tom Henderson INFOCOMM 2005 Presenter - Bob Kinicki.
1 Modeling and Emulation of Internet Paths Pramod Sanaga, Jonathon Duerig, Robert Ricci, Jay Lepreau University of Utah.
Diagnosing Wireless TCP Performance Problems: A Case Study Tianbo Kuang, Fang Xiao, and Carey Williamson University of Calgary.
1 Congestion Control Outline Queuing Discipline Reacting to Congestion Avoiding Congestion.
Sizing Router Buffers Nick McKeown Guido Appenzeller & Isaac Keslassy SNRC Review May 27 th, 2004.
1 Random Early Detection Gateways for Congestion Avoidance Sally Floyd and Van Jacobson, IEEE Transactions on Networking, Vol.1, No. 4, (Aug 1993), pp
EE 122: Router Design Kevin Lai September 25, 2002.
1 Chapter 8 Local Area Networks - Internetworking.
Larger Site Networks Part2. 2 Ethernet Virtual LANs Hubs versus Switches –Hubs broadcast bits out all ports –Switches usually send a frame out a one port.
Isaac Keslassy (Technion) Guido Appenzeller & Nick McKeown (Stanford)
The War Between Mice and Elephants By Liang Guo (Graduate Student) Ibrahim Matta (Professor) Boston University ICNP’2001 Presented By Preeti Phadnis.
Submission doc.: IEEE /1265r0 September 2014 Dave Taht, Bufferbloat.netSlide 1 More on Bufferbloat and making Wi-Fi fast Date: Authors:
Jennifer Rexford Fall 2014 (TTh 3:00-4:20 in CS 105) COS 561: Advanced Computer Networks TCP.
Advanced Computer Networks : RED 1 Random Early Detection Gateways for Congestion Avoidance Sally Floyd and Van Jacobson, IEEE Transactions on Networking,
03/12/08Nuova Systems Inc. Page 1 TCP Issues in the Data Center Tom Lyon The Future of TCP: Train-wreck or Evolution? Stanford University
CS332 Ch. 28 Spring 2014 Victor Norman. Access delay vs. Queuing Delay Q: What is the difference between access delay and queuing delay? A: I think the.
Chapter 4 Queuing, Datagrams, and Addressing
Draft-constantine-ippm-tcp-throughput-tm-02.txt 1 TCP Throughput Testing Methodology IETF 77 Anaheim Barry Constantine Reinhard.
IETF-87 AQM BoF Wesley Eddy Richard Scheffenegger Tue., 30. July :00, Potsdam 1 Room 30 July 20131IETF-87, Berlin,
September 2014 doc.: IEEE /1266r0 Dave Taht, Bufferbloat.net SubmissionSlide 1 Making Wifi Fast Date: NameAffiliationsAddressPhone .
AQM Recommendation Fred Baker. History At IETF 86, TSVAREA decided to update the recommendation of RFC 2309 to not recommend the use of RED Argument:
Wave Relay System and General Project Details. Wave Relay System Provides seamless multi-hop connectivity Operates at layer 2 of networking stack Seamless.
Brierley 1 Module 4 Module 4 Introduction to LAN Switching.
These materials are licensed under the Creative Commons Attribution-Noncommercial 3.0 Unported license (
© 2010 IBM Corporation Plugging the Hypervisor Abstraction Leaks Caused by Virtual Networking Alex Landau, David Hadas, Muli Ben-Yehuda IBM Research –
S3C2 – LAN Switching Addressing LAN Problems. Congestion is Caused By Multitasking, Faster operating systems, More Web-based applications Client-Server.
ACN: RED paper1 Random Early Detection Gateways for Congestion Avoidance Sally Floyd and Van Jacobson, IEEE Transactions on Networking, Vol.1, No. 4, (Aug.
The Internet is Broken, and How to Fix It Jim Gettys Bell Labs July 27, 2012.
Byte and Packet Congestion Notification draft-briscoe-tsvwg-byte-pkt-mark-01.txt draft-briscoe-tsvwg-byte-pkt-mark-01.txt Bob Briscoe, BT & UCL IETF-70.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 4 Switching Concepts.
Requirements for Simulation and Modeling Tools Sally Floyd NSF Workshop August 2005.
Networking Fundamentals. Basics Network – collection of nodes and links that cooperate for communication Nodes – computer systems –Internal (routers,
Quick-Start for TCP and IP Draft-amit-quick-start-03.txt A.Jain, S. Floyd, M. Allman, and P. Sarolahti ICIR, December
1 Traffic Management Benchmarking Framework IETF 87 Berlin draft-constantine-bmwg-traffic-management-01 Barry Constantine Tim.
Compound TCP in NS-3 Keith Craig 1. Worcester Polytechnic Institute What is Compound TCP? As internet speeds increased, the long ‘ramp’ time of TCP Reno.
Mr. Mark Welton.  Quality of Service is deployed to prevent data from saturating a link to the point that other data cannot gain access to it  QoS allows.
CCNA3 Module 4 Brierley Module 4. CCNA3 Module 4 Brierley Topics LAN congestion and its effect on network performance Advantages of LAN segmentation in.
1 Sheer volume and dynamic nature of video stresses network resources PIE: A lightweight latency control to address the buffer problem issue Rong Pan,
Access Link Capacity Monitoring with TFRC Probe Ling-Jyh Chen, Tony Sun, Dan Xu, M. Y. Sanadidi, Mario Gerla Computer Science Department, University of.
1 Three ways to (ab)use Multipath Congestion Control Costin Raiciu University Politehnica of Bucharest.
WHAT'S THE DIFFERENCE BETWEEN A WEB APPLICATION STREAMING NETWORK AND A CDN? INSTART LOGIC.
11 CS716 Advanced Computer Networks By Dr. Amir Qayyum.
Bryan Call ATS Spring Summit 2016
Beating Bufferbloat with FQ_Codel
Fixing Wifi Latency… Finally!
Instructor Materials Chapter 6: Quality of Service
Impact of New CC on Cross Traffic
IETF AQM WG Active Queue Management and Packet Scheduling
On Queuing, Marking, and Dropping
Fixing Wifi Latency… Finally!
Google’s BBR Congestion control algorithm
Mark Claypool, Feng Li and Jae Chung
HighSpeed TCP for Large Congestion Windows
ECE 4450:427/527 - Computer Networks Spring 2017
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.
Congestion Control, Quality of Service, & Internetworking
Lecture 6, Computer Networks (198:552)
Presentation transcript:

Submission doc.: IEEE /1264r0 September 2014 Dave Taht, Bufferbloat.netSlide 1 A Bit about Bufferbloat Date: Authors:

Submission doc.: IEEE /1264r0 September 2014 Dave Taht, Bufferbloat.netSlide 2 Abstract “Bufferbloat” is the presence of large, unmanaged network buffers, primarily across the edge devices of the Internet. In wifi, especially, with wildly variable rates, shedding load to match the available bandwidth, doesn't presently happen, leading to huge delays for much network traffic, when under load. This talk goes into the problems that the large network queuing delays (bufferbloat) causes. It touches upon some new algorithms, now deployed and in the process of standardization, that produce enormous reductions in latency, gives an update on the work of the IETF AQM working group and closes with some of the latency under load problems based networks are experiencing today that could possibly be addressed given the new algorithms.

Submission doc.: IEEE /1264r0September 2014 Dave Taht, Bufferbloat.netSlide 3 Latency with Load Today Much of this latency comes from Queue Delay (bufferbloat)

Submission doc.: IEEE /1264r0September 2014 Dave Taht, Bufferbloat.netSlide 4 Bufferbloat is a cross layer problem Virtual machines on virtual network interfaces Applications TCPs CPU schedulers Network Queuing Systems between the app and device (qdiscs) The encapsulators (PPPoe and VPNs) The device drivers (tx rings & buffers) The firmware interfaces The devices themselves The mac layer (on the wire for aggregated traffic) The standards

Submission doc.: IEEE /1264r0September 2014 Dave Taht, Bufferbloat.netSlide 5 It comes from TCP’s bandwidth probing behavior (TCP 101) TCP will always fill the biggest buffer on the path As the delays get larger – congestion avoidance mode geometrically gets slower With CUBIC, the sawtooth looks more like an S-curve (.5Mbit uplink)

Submission doc.: IEEE /1264r0September 2014 Dave Taht, Bufferbloat.netSlide 6 Consequences of TCP’s design A single connection will fill any size buffer put in front of it at the path's bottleneck, given time: adds one packet/ack to the buffer Timely dropping or marking of packets is necessary for correct operation of TCP on a saturated link. Even IW4 is an issue at low bandwidths (e.g. VOIP over busy network): do the math. Just "fixing" TCP does not fix the network. Better queuing is essential. Congestion window is not shared among connections (currently). Current web server/client behavior means head of line blocking causes bad transients. Sharing responsiveness is quadratic in delay. Elephant flows become mammoth flows in the face of overbuffering.

Submission doc.: IEEE /1264r0September 2014 Dave Taht, Bufferbloat.netSlide 7 In a Web TCP transaction SYN → SYN/ACK 1 RTT SSL NEGOTIATION 2 RTTs DATA REQUEST/Transfer – 1 RTT 10 packets (90% of all web transactions are one IW10 burst) FIN – FIN/ACK 1 RTT CLOSE 1 packet Only 1 TXOP in 10 can aggregate! Excessive base RTT adds up!

Submission doc.: IEEE /1264r0September 2014 Dave Taht, Bufferbloat.netSlide 8 Web Browsing is dependent on RTT

Submission doc.: IEEE /1264r0September 2014 Dave Taht, Bufferbloat.netSlide 9 A network test here at IEEE Athens

Submission doc.: IEEE /1264r0September 2014 Dave Taht, Bufferbloat.netSlide 10 Too much delay and you get layer 3 adding even more packets...

Submission doc.: IEEE /1264r0September 2014 Dave Taht, Bufferbloat.netSlide 11 The good news Bufferbloat is basically fixed on ethernet, cable, dsl, and fiber, with the new algorithms (codel, fq_codel, pie),and improvements in the Linux network stacks,  2-3 orders of magnitude reductions in network latency being seen AND improvements in goodput Algos are now deployed in several products, and in nearly every third party router firmware. Patent free and open sourced code widely available Standardization activities in the IETF

Submission doc.: IEEE /1264r0September 2014 Dave Taht, Bufferbloat.netSlide 12 Web page load time wins Video at: From: content/uploads/2013/11/Active_Queue_Management_Algorithms_DOCSI S_3_0.pdf

Submission doc.: IEEE /1264r0September 2014 Dave Taht, Bufferbloat.netSlide 13 Chrome Benchmark Web Page completion time during RRUL benchmark Drop tail vs nfq_codel

Submission doc.: IEEE /1264r0September 2014 Dave Taht, Bufferbloat.netSlide 14 Linux TCP/AQM/FQ Advances: Linux 3.0: Proportional Rate Reduction Linux 3.3: Byte Queue Limits Linux 3.4 RED bug fixes & IW10 added & SFQRED Linux 3.5 Fair/Flow Queuing packet scheduling (fq_codel, codel) Linux 3.6 Stability improvements to fq_codel Linux 3.7 TCP small queues (TSQ) Linux 3.8 HTB breakage Linux 3.11 HTB fixed Linux 3.12 TSO/GSO improvements Linux 3.13 Host FQ + Pacing Linux 3.14 Pie added Linux 3.15 Change to microseconds from milliseconds throughout networking kernel Linux 3.17? Network Batching API The Linux stack is now mostly “pull through”, where it used to be “push”, and looks nothing like it did 4 years ago. At least a dozen other improvements I forget and no sign other Oses are paying attention

Submission doc.: IEEE /1264r0September 2014 Dave Taht, Bufferbloat.netSlide 15 IETF AQM Working Group Status AQM working group Pending drafts: practices-00.html Is beiing revised

Submission doc.: IEEE /1264r0September 2014 Dave Taht, Bufferbloat.netSlide 16 The bad news: Latency problems on WiFi are not just bufferbloat

Submission doc.: IEEE /1264r0September 2014 Dave Taht, Bufferbloat.netSlide 17 Codel concept shows promise in adapting to varying link rates ACM Queue: “Controlling Queue Delay” – Kathie Nichols and Van Jacobson See also: “Bufferbloat” Nominal 100 Mbps link with rate changes, buffer size of 830 packets 4 FTPs, 5 packmime connections/sec

Submission doc.: IEEE /1264r0September 2014 Dave Taht, Bufferbloat.netSlide 18 How to make WiFi truly faster on stations and Access points? With new AQM and packet scheduling algorithms? With Packet aggregation? With EDCA scheduling? With e prioritization? Increasing numbers of stations and contending access points? Excessive multicasts and retransmissions? With upcoming standards like ax? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? New project: fast/

Submission doc.: IEEE /1264r0September 2014 Dave Taht, Bufferbloat.netSlide 19 Some useful tools for looking at the Bufferbloat Problem Tcptrace and xplot.org Netperf-wrapper (by Toke Hoeiland-Joergensen)  Standardized data format, 30+ network specific tests testing for latency under load, 20+ plot types, extensive support for batching and other automation, usage of alternate TCP algorithms, in combination with other web and voip-like traffic. Linux Kernel mainline, Codel, fq_codel and pie in most distributions now (Redhat 7, ubuntu, debian, etc) CeroWrt  Inexpensive actual router configurable with nearly every AQM and FQ algorithm using “SQM”  Emulations of common CMTS and DSLAM behavior  Results proven sane to 50mbits  Most of cerowrt is already in openwrt “Barrier Breaker”. SQM (“Smart Queue Management”)  Drop in replacement for wondershaper portable to all modern linuxes  Uses fq_codel by default, pie, sfq, codel optionally Openwrt “Barrier Breaker”, ipfire, pfsense, other third party router firmwares have support also NS2 models of codel, sfq_codel, and pie in ns2 mainline NS3 models of codel, fq_codel, asymmetric edge networks, etc,  From Google 2014 summer of code  Codel in in September ns-3.21, sfq_codel in ns-3.22, December, 2014  Wifi mac support, LTE, etc

Submission doc.: IEEE /1264r0September 2014 Dave Taht, Bufferbloat.netSlide 20 Bufferbloat.net Resources Reducing network delays since Bufferbloat.net: Lists: (codel, bloat, cerowrt- devel, etc) IRC Channel: #bufferbloat on chat.freenode.net Codel: CeroWrt: Other talks: Jim Gettys Blog: Talks by Van Jacobson, Gettys, Fred Baker, others: Netperf-wrapper test suite:

Submission doc.: IEEE /1264r0September 2014 Dave Taht, Bufferbloat.netSlide 21 Why am I here? IETF is not the place to work on WiFi Bufferbloat.net is starting up a new project, “make-wifi-fast” leveraging CeroWrt and OpenWRT.  “The use of open source software to promote broad adoption and use of new technology is now well demonstrated... The CeroWrt/OpenWrt effort could have a similar effect.” – Vint Cerf, “Bufferbloat and other Internet Challenges” Experiments thus far with ac have been dismal Perhaps working with IEEE is the right thing to find and fix all the excess sources of latency in the architecture.

Submission doc.: IEEE /1264r0September 2014 Dave Taht, Bufferbloat.netSlide 22 Next up, a more detailed discussion

Submission doc.: IEEE /1264r0September 2014 Dave Taht, Bufferbloat.netSlide 23 References