* [Bloat] Overview modifications
@ 2011-02-06 14:39 Eric Raymond
2011-02-06 15:48 ` Jim Gettys
0 siblings, 1 reply; 7+ messages in thread
From: Eric Raymond @ 2011-02-06 14:39 UTC (permalink / raw)
To: bloat
I'm trawling through the mailing list archives for bits to improve the
overview document with.
jg wrote:
>Note that lossy wireless networks behave much better than "clean"
>variable bandwidth wireless networks; packet drops due to such losses at
>least cause TCP to back off sometimes....
This is an important enough point to be in the overview.
Change in progress -- append to the "Hating" paragraph the following
sentence: "Lossy networks such as wireless actually show less chaotic
behavior under load than clean ones." Is this correct and adequate?
Ah, now I've found jg's original reply on the overview.
jg wrote:
>1) the latency-speed connection needs to be emphasised; along with
>bandwidth !=speed. You can at least start to attack the conflation of
>"speed" and "bandwidth" that is in the market.
*Excellent* point.
New 'graph, after the one on DNS et al going kerflooey.
The way these latency-sensitive services degrade illustrates a
general point. From a user point of view, perceived speed of the
network is much more a function of latency (time to get a
response) than of bandwidth (ability to bulk-ship). Thus,
bufferbloat hammers the performance characteristic users care
about most.
jg:
>To use the highway analogy, only a few areas have carpool lanes, and
>most of the highway is still jammed. Once the carpool lanes are gone
>(you get to another part of the network), you're still stuck behind
>miles of traffic.
Yup, I'll add this to the QoS section.
Jim criticized "How Hard Is It?" Rewritten section looks like this:
----------------------------------------------------------------------
== How Hard Is It? ==
We started by asserting that bufferbloat is easy to fix. First
we'll lay out the both the reasons for optimism, then the problems:
First, it's easy to detect once you understand it - and verifying
that you've fixed it is easy, too.
Second, the fixes are cheap and give direct benefits as soon as
they're applied. You don't have to wait for other people to fix
bufferbloat in their devices to improve the performance of your own.
Third, you'll usually only have to fix it once per device; continual
tuning isn't necessary.
Fourth (and importantly!), trying to fix bufferbloat won't significantly
increase your risk of a network failure. If you fumble the first time,
it's reversible.
The hard problems are these:
First, we don't yet know how to write good buffer-management rules for
networks with variable bandwidth. This is a research area, though not
an especially difficult one: good results seem likely in 12 to 36
months.
Second, a lot of routers (especially consumer-grade ones) are difficult
enough to upgrade firmware on that they will need to be replaced. Since
the IPv6 transition is bearing down on us, however, it may be possible
to fold our upgrade wave into that one.
----------------------------------------------------------------------
dtaht wrote:
>Both ARE useful, but can be addressed in order of reducing unmanaged
>buffers, applying AQM, and then QoS.
That priority list needs to be made explicit in the overview. I will now do so.
End of section:
Explicit QoS may a place in our overall strategy for network performance,
but the right order to do things is this: first reduce unmanaged buffers,
then get buffer queue management right, then implement QoS on top of that.
richard wrote:
>Might add a note that if equipment does need to be changed out, isn't it
>nice that we also have to change it out for the IPV4->IPV6 problem too
>and/or that we're hoping the device manufacturers will address the
>problem in the IPV6 equipment roll out.
Done, as you can see above.
richard:
>Here in Canada the metered billing is very high visibility at the
>moment. Would love to be able to point to this from some of the
>discussion areas ASAP :)
This *doesn't* go in the overview. Two reasons:
Here, I don't want to be topical in a way likely to go stale rapidly.
Also, dtaht and jg are right that there's a political hazard in
getting too far into the whole tiered-billing/usage-metering issue. I
don't think we can or should avoid it entirely; the fact that fixing
bufferbloat may eliminate the technical necessity is simply too
important a fact to elide. On the other hand, we need to be very
careful and diplomatic and not pick any fights about this.
That completes my mining of the back mail.
I'll expect another round of responses to this post, then I'll run
an edit for conciseness and length, then I'll start transplanting
the overview onto the wiki.
--
<a href="http://www.catb.org/~esr/">Eric S. Raymond</a>
Certainly one of the chief guarantees of freedom under any government,
no matter how popular and respected, is the right of the citizens to
keep and bear arms. [...] the right of the citizens to bear arms is
just one guarantee against arbitrary government and one more safeguard
against a tyranny which now appears remote in America, but which
historically has proved to be always possible.
-- Hubert H. Humphrey, 1960
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Bloat] Overview modifications
2011-02-06 14:39 [Bloat] Overview modifications Eric Raymond
@ 2011-02-06 15:48 ` Jim Gettys
2011-02-06 20:20 ` Eric Raymond
0 siblings, 1 reply; 7+ messages in thread
From: Jim Gettys @ 2011-02-06 15:48 UTC (permalink / raw)
To: Eric Raymond; +Cc: bloat
On 02/06/2011 09:39 AM, Eric Raymond wrote:
> I'm trawling through the mailing list archives for bits to improve the
> overview document with.
>
> jg wrote:
>> Note that lossy wireless networks behave much better than "clean"
>> variable bandwidth wireless networks; packet drops due to such losses at
>> least cause TCP to back off sometimes....
>
> This is an important enough point to be in the overview.
>
> Change in progress -- append to the "Hating" paragraph the following
> sentence: "Lossy networks such as wireless actually show less chaotic
> behavior under load than clean ones." Is this correct and adequate?
It's not chaotic behaviour. In fact, it is much more worrying: it is
periodic (oscillatory) behaviour. Chaos is good, in this case.
My nightmare, is that as traffic shifts over more and more to saturated
links as XP retires, we end up with self synchronising behaviour on a
local, regional or global scale, and havoc ensues, and parts/all of the
Internet stop working. Whether these fears are justified, I do not know.
Think: we may be a column of soldiers in cadence approaching a bridge...
>
> Ah, now I've found jg's original reply on the overview.
>
> jg wrote:
>> 1) the latency-speed connection needs to be emphasised; along with
>> bandwidth !=speed. You can at least start to attack the conflation of
>> "speed" and "bandwidth" that is in the market.
>
> *Excellent* point.
>
> New 'graph, after the one on DNS et al going kerflooey.
>
> The way these latency-sensitive services degrade illustrates a
> general point. From a user point of view, perceived speed of the
> network is much more a function of latency (time to get a
> response) than of bandwidth (ability to bulk-ship). Thus,
> bufferbloat hammers the performance characteristic users care
> about most.
>
> jg:
>> To use the highway analogy, only a few areas have carpool lanes, and
>> most of the highway is still jammed. Once the carpool lanes are gone
>> (you get to another part of the network), you're still stuck behind
>> miles of traffic.
>
> Yup, I'll add this to the QoS section.
>
> Jim criticized "How Hard Is It?" Rewritten section looks like this:
>
> ----------------------------------------------------------------------
> == How Hard Is It? ==
>
> We started by asserting that bufferbloat is easy to fix. First
> we'll lay out the both the reasons for optimism, then the problems:
>
> First, it's easy to detect once you understand it - and verifying
> that you've fixed it is easy, too.
>
> Second, the fixes are cheap and give direct benefits as soon as
> they're applied. You don't have to wait for other people to fix
> bufferbloat in their devices to improve the performance of your own.
>
> Third, you'll usually only have to fix it once per device; continual
> tuning isn't necessary.
>
> Fourth (and importantly!), trying to fix bufferbloat won't significantly
> increase your risk of a network failure. If you fumble the first time,
> it's reversible.
>
> The hard problems are these:
>
> First, we don't yet know how to write good buffer-management rules for
> networks with variable bandwidth. This is a research area, though not
> an especially difficult one: good results seem likely in 12 to 36
> months.
>
> Second, a lot of routers (especially consumer-grade ones) are difficult
> enough to upgrade firmware on that they will need to be replaced. Since
> the IPv6 transition is bearing down on us, however, it may be possible
> to fold our upgrade wave into that one.
> ----------------------------------------------------------------------
There is an additional point: understanding bufferbloat may allow you to
avoid bufferbloat suffering immediately. Example:
Upgrade your wireless access to 802.11N, so that the bufferbloat stays
in the broadband hop where you may have already mitigated it, rather
than fighting bufferbloat in the 802.11 hop, where we don't have as
effective short term mitigations.
or:
Wander to a part of your house where the 802.11 "goodput" is above that
of the broadband link, for the same reasons.
Won't help you when doing local copy/backup to your file server; then
you really do need to start working on your laptop/router. Unless you
plug into ethernet, of course, again, as a short term mitigation.
>
> dtaht wrote:
>> Both ARE useful, but can be addressed in order of reducing unmanaged
>> buffers, applying AQM, and then QoS.
>
> That priority list needs to be made explicit in the overview. I will now do so.
> End of section:
>
> Explicit QoS may a place in our overall strategy for network performance,
> but the right order to do things is this: first reduce unmanaged buffers,
> then get buffer queue management right, then implement QoS on top of that.
>
> richard wrote:
>> Might add a note that if equipment does need to be changed out, isn't it
>> nice that we also have to change it out for the IPV4->IPV6 problem too
>> and/or that we're hoping the device manufacturers will address the
>> problem in the IPV6 equipment roll out.
>
> Done, as you can see above.
>
> richard:
>> Here in Canada the metered billing is very high visibility at the
>> moment. Would love to be able to point to this from some of the
>> discussion areas ASAP :)
>
> This *doesn't* go in the overview. Two reasons:
>
> Here, I don't want to be topical in a way likely to go stale rapidly.
>
> Also, dtaht and jg are right that there's a political hazard in
> getting too far into the whole tiered-billing/usage-metering issue. I
> don't think we can or should avoid it entirely; the fact that fixing
> bufferbloat may eliminate the technical necessity is simply too
> important a fact to elide. On the other hand, we need to be very
> careful and diplomatic and not pick any fights about this.
>
> That completes my mining of the back mail.
There is tons of mining in the replies to my blog to do.
>
> I'll expect another round of responses to this post, then I'll run
> an edit for conciseness and length, then I'll start transplanting
> the overview onto the wiki.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Bloat] Overview modifications
2011-02-06 15:48 ` Jim Gettys
@ 2011-02-06 20:20 ` Eric Raymond
2011-02-07 19:56 ` Jim Gettys
0 siblings, 1 reply; 7+ messages in thread
From: Eric Raymond @ 2011-02-06 20:20 UTC (permalink / raw)
To: Jim Gettys; +Cc: Eric Raymond, bloat
Jim Gettys <jg@freedesktop.org>:
> >Change in progress -- append to the "Hating" paragraph the following
> >sentence: "Lossy networks such as wireless actually show less chaotic
> >behavior under load than clean ones." Is this correct and adequate?
>
> It's not chaotic behaviour. In fact, it is much more worrying: it
> is periodic (oscillatory) behaviour. Chaos is good, in this case.
Dave also says my take is wrong and is promising to suggest a correction.
I have enough other stuff to do that I'll wait on that.
> My nightmare, is that as traffic shifts over more and more to
> saturated links as XP retires, we end up with self synchronising
> behaviour on a local, regional or global scale, and havoc ensues,
> and parts/all of the Internet stop working. Whether these fears are
> justified, I do not know.
>
> Think: we may be a column of soldiers in cadence approaching a bridge...
New graphs at the end of "From Highway to Network":
We also have some worries about the future. For various reasons
(including the gradual retirement of Windows XP) more and more
Internet traffic is now running over saturated links. In this new
environment, we think there is a possibility that bufferbloat cascades
and defects in management strategies might produce self-synchronising
behaviour in network traffic - packet floods and network resonance on
a local, regional or global scale that could be a greater threat to
the Internet than the congestion-driven near-collapse of the NSF
backbone in 1986.
This is a classic "black swan" situation in Nassim Taleb's sense; in
today's Internet-dependent economy there is a potential for nearly
inacalculable havoc in the worst case, but we don't even know in
principle how to estimate the overall risk. Bufferbloat mitigation
might keep us out of some very serious trouble, and is worth pursuing
on those grounds alone.
> There is an additional point: understanding bufferbloat may allow
> you to avoid bufferbloat suffering immediately. Example:
I think we're already noting that point fixes can be applied quickly
an effectively.
> There is tons of mining in the replies to my blog to do.
I'll look, but that sounds like it might be getting into too much detail
for the overview.
--
<a href="http://www.catb.org/~esr/">Eric S. Raymond</a>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Bloat] Overview modifications
2011-02-06 20:20 ` Eric Raymond
@ 2011-02-07 19:56 ` Jim Gettys
2011-02-08 6:54 ` [Bloat] Animation Richard Scheffenegger
0 siblings, 1 reply; 7+ messages in thread
From: Jim Gettys @ 2011-02-07 19:56 UTC (permalink / raw)
To: esr; +Cc: Eric Raymond, bloat
On 02/06/2011 03:20 PM, Eric Raymond wrote:
> Jim Gettys<jg@freedesktop.org>:
>>> Change in progress -- append to the "Hating" paragraph the following
>>> sentence: "Lossy networks such as wireless actually show less chaotic
>>> behavior under load than clean ones." Is this correct and adequate?
>>
>> It's not chaotic behaviour. In fact, it is much more worrying: it
>> is periodic (oscillatory) behaviour. Chaos is good, in this case.
>
> Dave also says my take is wrong and is promising to suggest a correction.
> I have enough other stuff to do that I'll wait on that.
>
>> My nightmare, is that as traffic shifts over more and more to
>> saturated links as XP retires, we end up with self synchronising
>> behaviour on a local, regional or global scale, and havoc ensues,
>> and parts/all of the Internet stop working. Whether these fears are
>> justified, I do not know.
>>
>> Think: we may be a column of soldiers in cadence approaching a bridge...
>
> New graphs at the end of "From Highway to Network":
>
> We also have some worries about the future. For various reasons
> (including the gradual retirement of Windows XP) more and more
> Internet traffic is now running over saturated links. In this new
> environment, we think there is a possibility that bufferbloat cascades
> and defects in management strategies might produce self-synchronising
> behaviour in network traffic - packet floods and network resonance on
> a local, regional or global scale that could be a greater threat to
> the Internet than the congestion-driven near-collapse of the NSF
> backbone in 1986.
It's not just bufferbloat: a number of network technologies are bunching
up packets and injecting them into the Internet with periodic bursts.
Unfortunately, I don't have good references to this; I gather this is
true of both wireless and wired technologies.
>
> This is a classic "black swan" situation in Nassim Taleb's sense; in
> today's Internet-dependent economy there is a potential for nearly
> inacalculable havoc in the worst case, but we don't even know in
> principle how to estimate the overall risk. Bufferbloat mitigation
> might keep us out of some very serious trouble, and is worth pursuing
> on those grounds alone.
It's actually a general fear of any periodic behaviour; I'm just spooked
to see it in such long period TCP traffic.
Van warned me about time based congestion phenomena in general.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bloat] Animation
2011-02-07 19:56 ` Jim Gettys
@ 2011-02-08 6:54 ` Richard Scheffenegger
2011-02-08 15:43 ` John W. Linville
0 siblings, 1 reply; 7+ messages in thread
From: Richard Scheffenegger @ 2011-02-08 6:54 UTC (permalink / raw)
To: bloat
Hi,
I've created a simplistic simulation of bufferbloat with ns2-2.34.
http://www.bufferbloat.net/attachments/15/nam00000.avi
Since bandwidth x latency x time-per-frame are scale invariant (if each
frame represents less time, the simulatied bandwidth goes up / latency goes
down), I choose parameters which fit best with good graphical results.
Perhaps one should add some line-graphs next to the sender, showing the
evolution of the congestion window, or the bandwidth utilized.
The simulated tcp stack was an older variant of Linux.
The animation is released under CC 3.0 - I explicitly invite you to ie.
voice over the animation, use parts of it (ie. time-lapse for beverity) etc.
Best regards,
Richard
----- Original Message -----
From: "Jim Gettys" <jg@freedesktop.org>
To: <esr@thyrsus.com>
Cc: "Eric Raymond" <esr@snark.thyrsus.com>; <bloat@lists.bufferbloat.net>
Sent: Monday, February 07, 2011 8:56 PM
Subject: Re: [Bloat] Overview modifications
> On 02/06/2011 03:20 PM, Eric Raymond wrote:
>> Jim Gettys<jg@freedesktop.org>:
>>>> Change in progress -- append to the "Hating" paragraph the following
>>>> sentence: "Lossy networks such as wireless actually show less chaotic
>>>> behavior under load than clean ones." Is this correct and adequate?
>>>
>>> It's not chaotic behaviour. In fact, it is much more worrying: it
>>> is periodic (oscillatory) behaviour. Chaos is good, in this case.
>>
>> Dave also says my take is wrong and is promising to suggest a correction.
>> I have enough other stuff to do that I'll wait on that.
>>
>>> My nightmare, is that as traffic shifts over more and more to
>>> saturated links as XP retires, we end up with self synchronising
>>> behaviour on a local, regional or global scale, and havoc ensues,
>>> and parts/all of the Internet stop working. Whether these fears are
>>> justified, I do not know.
>>>
>>> Think: we may be a column of soldiers in cadence approaching a bridge...
>>
>> New graphs at the end of "From Highway to Network":
>>
>> We also have some worries about the future. For various reasons
>> (including the gradual retirement of Windows XP) more and more
>> Internet traffic is now running over saturated links. In this new
>> environment, we think there is a possibility that bufferbloat
>> cascades
>> and defects in management strategies might produce
>> self-synchronising
>> behaviour in network traffic - packet floods and network resonance
>> on
>> a local, regional or global scale that could be a greater threat to
>> the Internet than the congestion-driven near-collapse of the NSF
>> backbone in 1986.
>
> It's not just bufferbloat: a number of network technologies are bunching
> up packets and injecting them into the Internet with periodic bursts.
> Unfortunately, I don't have good references to this; I gather this is true
> of both wireless and wired technologies.
>
>>
>> This is a classic "black swan" situation in Nassim Taleb's sense; in
>> today's Internet-dependent economy there is a potential for nearly
>> inacalculable havoc in the worst case, but we don't even know in
>> principle how to estimate the overall risk. Bufferbloat mitigation
>> might keep us out of some very serious trouble, and is worth
>> pursuing
>> on those grounds alone.
>
> It's actually a general fear of any periodic behaviour; I'm just spooked
> to see it in such long period TCP traffic.
>
> Van warned me about time based congestion phenomena in general.
> _______________________________________________
> Bloat mailing list
> Bloat@lists.bufferbloat.net
> https://lists.bufferbloat.net/listinfo/bloat
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Bloat] Animation
2011-02-08 6:54 ` [Bloat] Animation Richard Scheffenegger
@ 2011-02-08 15:43 ` John W. Linville
2011-02-08 17:54 ` Eric Raymond
0 siblings, 1 reply; 7+ messages in thread
From: John W. Linville @ 2011-02-08 15:43 UTC (permalink / raw)
To: Richard Scheffenegger; +Cc: bloat
On Tue, Feb 08, 2011 at 07:54:57AM +0100, Richard Scheffenegger wrote:
> I've created a simplistic simulation of bufferbloat with ns2-2.34.
>
> http://www.bufferbloat.net/attachments/15/nam00000.avi
Looks good -- I _think_ I almost understand what I'm seeing... :-)
> The animation is released under CC 3.0 - I explicitly invite you to
> ie. voice over the animation, use parts of it (ie. time-lapse for
> beverity) etc.
I hope someone does this. If nothing else, maybe even just an
accompanying script or some text overlay during the animation would
be nice.
Hopefully you/we can clarify the issue for knuckle-dragging "layer 2"
guys like me that have been trained into the "don't drop packets"
mentality. Some of the recent writings have been good for this too.
But a lot of the posts on this list and the blogs have amounted to a
URL with a comment like "the problem here is obvious" -- leaving me
to squint and scratch my head...
Given my associations with Linux and wireless, I am interested in
working on this problem. Still, I (and presumably others) may need
some hand-holding!
John
--
John W. Linville Someday the world will need a hero, and you
linville@tuxdriver.com might be all we have. Be ready.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Bloat] Animation
2011-02-08 15:43 ` John W. Linville
@ 2011-02-08 17:54 ` Eric Raymond
0 siblings, 0 replies; 7+ messages in thread
From: Eric Raymond @ 2011-02-08 17:54 UTC (permalink / raw)
To: John W. Linville; +Cc: bloat
John W. Linville <linville@tuxdriver.com>:
> On Tue, Feb 08, 2011 at 07:54:57AM +0100, Richard Scheffenegger wrote:
>
> > I've created a simplistic simulation of bufferbloat with ns2-2.34.
> >
> > http://www.bufferbloat.net/attachments/15/nam00000.avi
>
> Looks good -- I _think_ I almost understand what I'm seeing... :-)
That's my reaction, too. (a) it needs a narrative voicover, badly, and (b)
the graphics need to be less abstract.
--
<a href="http://www.catb.org/~esr/">Eric S. Raymond</a>
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2011-02-08 17:54 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-06 14:39 [Bloat] Overview modifications Eric Raymond
2011-02-06 15:48 ` Jim Gettys
2011-02-06 20:20 ` Eric Raymond
2011-02-07 19:56 ` Jim Gettys
2011-02-08 6:54 ` [Bloat] Animation Richard Scheffenegger
2011-02-08 15:43 ` John W. Linville
2011-02-08 17:54 ` Eric Raymond
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox