Re: tc qdisc red?
codel, fq_codel, and pie are the successors to RED, which was designed back in 1992 and never worked very well. These new AQM and Fair Queuing algorithms require a LOT less configuration, and "just work" at a wide range of bandwidths. Codel was developed by Kathie Nichols and Van Jacobson - Van was half responsible for RED, and tried really hard to come up with a viable replacement for 16 years... and he and Kathie hit it out of the park with codel and fq_codel.
So take a look at tc qdisc add dev whatever root {fq_codel,pie} on any modern linux distro.
or at the relevant manual pages, to see how far we've come.
My first attempt at posting this message was rejected, I'd pointed to this as a summary of where the buffer bloat effort stands today:
http://gettys.wordpress.com
Which also includes a funny story about why "red in a different light" couldn't get published.
And more specifically, I can point to the acm queue paper that kicked off the resurgence of interest in AQM technology: http://queue.acm.org/detail.cfm?id=2209336
And the relevant internet drafts for the docsis pie standard:
https://datatracker.ietf.org/doc/draft-white-aqm-docsis-pie/
The cable labs study that led to the adoption of docsis-pie was very interesting:
http://www.cablelabs.com/wp-content/uploads/2013/11/Active_Queue_Management_Algorithms_DOCSIS_3_0.pdf
and there are other algos pending standardization at the ietf:
https://datatracker.ietf.org/doc/draft-nichols-tsvwg-codel/
http://tools.ietf.org/html/draft-hoeiland-joergensen-aqm-fq-codel-00
I do this in the hope that more informed populace will lead to faster, wider adoption of this stuff, as it makes the internet SO much faster, under load.
Van's lecture on codel is a real treat, btw, explaining congestion via a new analogy to a water fountain, in ways that I hope more could grok:
http://www.bufferbloat.net/projects/cerowrt/wiki/Bloat-videos#Van-Jacobson-of-Google-introduces-the-codel-solution-and-the-packet-fountain-analogy-at-the-IETF84-conference-July-August-2012
For more information about how all this stuff works, please join the bloat email list, if you like.
Sincerely,
Dave Taht
Co-founder, Bufferbloat project