4 ms·
The bufferbloat guy is much better at explaining this than I am. The problem needs a PR guy, and now it has one. I wrote this up in 1985 as RFC 970, "On packet
by Animats 8y ago
The bufferbloat guy is much better at explaining this than I am. The problem needs a PR guy, and now it has one. I wrote this up in 1985 as RFC 970, "On packet switches with infinite storage", which is about why giant FIFO queues are bad and you need fair queuing at a bandwidth choke point. People who read RFCs and IEEE Trans. on Communications know about it. But I've been out of networking since 1986. (A non-networking startup wanted me to Do Something. I did. It worked out well. I never went back to networking.) So nobody was pushing this.
Fair queuing seems to have been an idea that was used for a while and then forgotten. It's been an obscure option on Cisco medium-speed routers for years, but only on by default for 2mb/s links and below.[1] Most of the attention on congestion control went into the TCP side, not the router side. There was too much attention to packet dropping, rather than packet reordering. In a router, you can do three things about congestion - drop, reorder, and delay. For decades, most of the action revolved around dropping, with Random Early Drop being popular. Reordering means you get to make decisions about what to reorder. That leads to policy issues, traffic shaping, quality of service, administrative interfaces, tuning knobs, and customer service/help desk calls. Which is why QoS never went much of anywhere outside of some tightly managed networks.
A big contribution of the bufferbloat guy is that he promotes the original dumb fair queuing - each source IP/source port/destination IP/destination port is one flow, and you service each flow equally. Nice and simple. No tuning. If that was in the middle of the network, you'd worry about people getting more bandwidth by gaming port numbers or something. But what's the point of gaming your own personal DSL router? In practice, the things that need really good latency on home DSL uplinks are acks, voice over IP, and game user action traffic, all of which are low-bandwidth. So the simple approach is good enough.
Early routers had barely enough CPU time to copy the bytes, let alone do fair queuing. So it wasn't in early routers. It's also a bit complex for a FPGA, so it's not in the big ones which route in hardware. (Nor is it that helpful there, because backbone routers don't buffer much.) That's how we got here.
It's embarrassing that this is still necessary to talk about. There's no excuse for big DSL operators deploying millions of routers with giant dumb FIFO buffers. Come on, AT&T.
A fair queuing add-on box is a definitive win only if the next link has a fixed data rate. DSL yes, cable maybe, cellular probably not. Cable modems at DOCSIS 3.1 and above are supposed to have DOCSIS-PIE [2], which is supposed to fix this.
Now will someone please do a startup that builds a little box? As a hobbyist thing this goes nowhere. As a little box you buy at WalMart, it does.
Or, AT&T guys, get your act together and ship this as standard. Thank you.
[1] https://www.cisco.com/c/en/us/td/docs/ios/12_2/qos/configuration/guide/fqos_c/qcfwfq.html https://www.cisco.com/c/en/us/td/docs/ios/12_2/qos/configura...
[2] https://tools.ietf.org/html/draft-ietf-aqm-docsis-pie-02 https://tools.ietf.org/html/draft-ietf-aqm-docsis-pie-02
John Nagle