Gettys: Bufferbloat demonstration videos
Gettys: Bufferbloat demonstration videos
Posted Feb 2, 2012 22:25 UTC (Thu) by farnz (subscriber, #17727)In reply to: Gettys: Bufferbloat demonstration videos by hitmark
Parent article: Gettys: Bufferbloat demonstration videos
There's a key bit of the puzzle beyond reducing the buffering, and that's active queue management. Obviously, even with no packet loss, your VoIP is going to be unusable if I have 5 to 10 seconds of buffering in the path; there are very few applications that are both delay-insensitive, and unable to cope with packet loss, and those applications can be trivially fixed by adding a retransmission mechanism.
Assuming you cannot overprovision, you escape this by doing some form of queue management; the classic example (although known buggy) is Random Early Drop, where packets are dropped in proportion to how full the queue is when the packet arrives. AQM is still an area of active research, but more recent mechanisms don't suffer from the same flaws as RED. The hard part is getting them deployed everywhere - FIFO queueing is still the default, even when it's inappropriate for the likely link conditions.
Remember also that traffic splits into two rough classes by behaviour:
- Rate-limited flows, like VoIP, where as soon as the flow is being given enough capacity, it stops increasing in rate.
- Unrestricted flows, like file uploads, where adding capacity results in the flow speeding up.
It is entirely possible for AQM schemes to be designed to take this into account - indeed, on links where the link speed is much higher than the speed of the rate-limited flows, most random chance AQM schemes will do so simply because there are many more packets from unrestricted flows. And, of course, it is possible to do some sort of flow aware treatment - either genuine QoS rules, which will give VoIP special treatment, or statistically fair methods such as Stochastic Fair Blue, which is designed to give each flow on a link an equal share of link capacity.
The LWN site is currently under high scraper load, so comment display has been suppressed for anonymous users. If you are a human, you may read the comments by clicking the button below:
Note: you can avoid this step in the future by logging into your LWN account.
