|
|
Log in / Subscribe / Register

Gettys: Bufferbloat demonstration videos

Gettys: Bufferbloat demonstration videos

Posted Feb 2, 2012 21:59 UTC (Thu) by jg (guest, #17537)
In reply to: Gettys: Bufferbloat demonstration videos by jg
Parent article: Gettys: Bufferbloat demonstration videos

I realized I should explain how the buffers are inducing excess packet loss: drop tail is not good at the best of times; you are running the packet buffers nearly full, and if you don't have space at the right instant, you have to drop. If you'd managed the buffers properly in the first place, the packet burst would have someplace to go. So you really want to be trying to keep the buffers (nearly) empty, most of the time, minimizing both delay while keeping the link busy. That allows them to absorb bursts, which is their intent in the first place.

Doing that requires signalling the end points in a *timely* fashion, via packet drops or ECN (not typically turned on). These buffers are now huge, to the point that TCP has had lots of time to ramp its rate to a excess point, and in fact, can be so huge that TCP thinks the path has changed and starts to go hunt for a new operating point more aggressively. These combine to induce higher than normal packet loss. The buffers have defeated the *timelyness* presumptions of TCP's design. The bigger they are, the worse it is.

Much of the bandwidth performance degradation has been hidden (in terms of bandwidth tests), by the deployment of SACK, so other than the wasted packets (which in my traces were a few percent on the broadband link), you don't see much of the other performance loss you might by TCP having to restart. So I ended up with just a few percent packet loss in my wired traces (but normal would be well under 1 percent).

One item I didn't understand until a few months ago until a long email exchange with Van Jacobson, was that the other problem is that TCP's reaction to competing traffic is related to the RTT in a quadratic fashion.
So having 15 times the buffering in place in my broadband connection means it takes 15^2 times longer for the "elephant flow" filling the link to get out of the way. Not good... Your transient traffic is really losing relative to the big flows for a long time.

In short, the excess buffering just hurts and does not help.
- Jim


to post comments


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds