CoDel AQM discussions
 help / color / mirror / Atom feed
From: Jim Gettys <jg@freedesktop.org>
To: Rick Jones <rick.jones2@hp.com>
Cc: Eric Dumazet <edumazet@google.com>,
	Dave Taht <dave.taht@bufferbloat.net>,
	codel@lists.bufferbloat.net
Subject: Re: [Codel] [PATCH 1/2] codel: Controlled Delay AQM
Date: Mon, 07 May 2012 23:14:49 -0400	[thread overview]
Message-ID: <4FA88FA9.7030804@freedesktop.org> (raw)
In-Reply-To: <4FA881F6.9080808@hp.com>

On 05/07/2012 10:16 PM, Rick Jones wrote:
> On 05/07/2012 06:45 PM, Jim Gettys wrote:
>> On 05/07/2012 09:20 PM, Andrew McGregor wrote:
>>> Sure... but making the Linux codel ECN capable, and even on by
>>> default with no configuration, will have no effect if the clients
>>> don't use ECN.  So there's no need to even make it optional, let
>>> alone default to off.
>>>
>>>
>> The problem is that the client may be managing it's outbound queue with
>> codel.  So you have to negotiate ECN and if you start marking, you may
>> run into trouble.
>
> Are the odds really all that high that when the admin of the client
> set tcp_ecn = 1 (or its non-Linux equivalent) that codel running on
> his system would be the only thing actually marking and so "the"
> reason for trouble?  I'm inclined to agree with Andrew.  If the client
> is going to have trouble with ECN, it will have it once it sets
> tcp_ecn = 1, codel being there or not.

There are three cases here:

 1.   you initiate a TCP session;
 2.   you receive a TCP session;
 3.   you mark a packet in transit through a system (you are routing).

Case 2 is known safe, and is deploying rapidly in the Internet.  Linux
defaults to 2): if you talk to it asking for ECN, it responds.

The problem is that some networks screw up the ecn bits.  And worse yet,
there at least used to be some hardware out in the great internet that
would go belly up if it saw marked packets.

So it's 1 and 3 that we might get in trouble about.  There is some way
to turn on 1( in Linux already; using ECN is negotiated as part of the open.

But we better not do 3) (mark for ECN rather than drop) without knowing
if it "safe" to do so.  Steve Bauer and his collaborators have more
understanding than anyone yet on this list.
                - Jim



  reply	other threads:[~2012-05-08  3:14 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
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 [this message]
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=4FA88FA9.7030804@freedesktop.org \
    --to=jg@freedesktop.org \
    --cc=codel@lists.bufferbloat.net \
    --cc=dave.taht@bufferbloat.net \
    --cc=edumazet@google.com \
    --cc=rick.jones2@hp.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