CoDel AQM discussions
 help / color / mirror / Atom feed
From: Jim Gettys <jg@freedesktop.org>
To: Eric Dumazet <eric.dumazet@gmail.com>
Cc: Eric Dumazet <edumazet@google.com>,
	codel@lists.bufferbloat.net,
	Dave Taht <dave.taht@bufferbloat.net>
Subject: Re: [Codel] [PATCH 1/2] codel: Controlled Delay AQM
Date: Mon, 07 May 2012 21:15:12 -0400	[thread overview]
Message-ID: <4FA873A0.40803@freedesktop.org> (raw)
In-Reply-To: <1336421020.3752.2359.camel@edumazet-glaptop>

On 05/07/2012 04:03 PM, Eric Dumazet wrote:
> On Mon, 2012-05-07 at 15:36 -0400, Jim Gettys wrote:
>
>> I think it is safe for it to behave the rest of the way Linux ECN
>> support does right now: it only gets used if the peer requests it.
>>
>> Not clear to me there needs to be/should be any option at all: the last
>> conversation I had with Steve Bauer was that something north of 20% of
>> conversations were ECN capable. Is there one for the other instances of
>> ECN support in Linux?  If so, it should be keyed by the same variable,
>> and not be a one-off for codel.
>>
> SFB, one of the latest qdisc added in linux has ECN support enabled.
>
> There is no option to disable it, because I felt it was safe. Maybe I
> was a fool, but problem is I am not sure SFB is even used.

Client initiated ECN may still be problematic.  It is *fine* if a system
responds to ECN that is sent to it.  We know that is fine, as Linux has
had the server side of ECN enabled for quite a few years, and those
systems now are > 20% of servers on the internet.

The issue is there are both networks and middleboxes that are
misconfigured/broken.  In some cases, it black-holes a connection and
your data just doesn't go through; in others, ECN is ignored,; in others
the ECN bits are cleared or mangled; and, most worryingly, there are
some devices of order a decade old that just crash if they see an ECN
marked packet.  We do not know how common the last of these problems are.

Anecdotal evidence: OpenWrt tried turning on the client side of ECN
several years ago, and had to back off due to too many bug reports. 
CeroWrt is small enough (and time has passed), so I am all for Dave
turning on ECN for CeroWrt and we can get a feeling for how common the
problem still is.

Steve Bauer has been studying ECN for the last couple years (and, at
times, getting various networks fixed, beginning with MIT's own network,
and later, some of the biggest commercial and academic networks fixed.

There are several papers on what Steve (et. al.) have found, but I don't
have the references handy.

But it's crashing the end user boxes that has been most problematic, and
we don't know how common that is.  There *used* to be a database of such
broken hardware, but it has bit-rotted.

So let's check with Steve Bauer on this years results.
>
>> If you wanted to test ECN separately from drop with codel, then you'd
>> just request ECN in the conversation (by default, OS's don't normally
>> request ECN today, as the remaining brokenness gets sorted out).
> Since ECN is not mentioned in Codel paper, this means no simulation was
> done to study the possible effects.
>
> So its probably better to leave ECN as an option. We can change the
> default later.
Yup.  Once we know if the current state of the net is good enough.

What we don't want is to get a pile of codel bug reports that are really
ECN related problems, of which we know there are quite a few.
                            - Jim




  parent reply	other threads:[~2012-05-08  1:15 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-05 19:32 Dave Taht
2012-05-05 19:32 ` [Codel] [PATCH 2/2] codel: RED is dead Dave Taht
2012-05-05 19:47 ` [Codel] [PATCH 1/2] codel: Controlled Delay AQM Dave Taht
2012-05-05 20:05   ` Eric Dumazet
2012-05-07 16:43 ` Rick Jones
2012-05-07 17:10   ` Eric Dumazet
2012-05-07 17:18     ` Dave Taht
2012-05-07 17:27     ` Rick Jones
2012-05-07 17:34       ` Eric Dumazet
2012-05-07 17:52         ` Dave Taht
2012-05-07 18:01           ` Eric Dumazet
2012-05-07 18:09             ` Eric Dumazet
2012-05-07 18:15               ` Eric Dumazet
2012-05-07 18:32           ` Jim Gettys
2012-05-07 18:44             ` Dave Taht
2012-05-07 18:50               ` Jim Gettys
2012-05-07 19:16                 ` Eric Dumazet
2012-05-07 19:36                   ` Jim Gettys
2012-05-07 20:03                     ` Eric Dumazet
2012-05-07 20:55                       ` dave taht
2012-05-08  1:15                       ` Jim Gettys [this message]
2012-05-08  1:20                         ` Andrew McGregor
2012-05-08  1:45                           ` Jim Gettys
2012-05-08  2:16                             ` Rick Jones
2012-05-08  3:14                               ` Jim Gettys
2012-05-08  3:32                                 ` Rick Jones
2012-05-08  3:40                                   ` Kathleen Nichols
2012-05-08  4:14                                   ` Jim Gettys
2012-05-08  5:10                                     ` Eric Dumazet
2012-05-08 10:25                                       ` Jim Gettys
2012-05-08 13:57                                         ` Kathleen Nichols
2012-05-08 14:04                                           ` Jim Gettys

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://lists.bufferbloat.net/postorius/lists/codel.lists.bufferbloat.net/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4FA873A0.40803@freedesktop.org \
    --to=jg@freedesktop.org \
    --cc=codel@lists.bufferbloat.net \
    --cc=dave.taht@bufferbloat.net \
    --cc=edumazet@google.com \
    --cc=eric.dumazet@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox