Re: [aqm] adoption call: draft-welzl-ecn-benefits

Dave Taht <dave.taht@gmail.com> Fri, 29 August 2014 15:26 UTC

Return-Path: <dave.taht@gmail.com>
X-Original-To: aqm@ietfa.amsl.com
Delivered-To: aqm@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 44DC21A04F8 for <aqm@ietfa.amsl.com>; Fri, 29 Aug 2014 08:26:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.101
X-Spam-Level:
X-Spam-Status: No, score=-0.101 tagged_above=-999 required=5 tests=[BAYES_40=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0FrVfW5EDIfa for <aqm@ietfa.amsl.com>; Fri, 29 Aug 2014 08:26:42 -0700 (PDT)
Received: from mail-ob0-x230.google.com (mail-ob0-x230.google.com [IPv6:2607:f8b0:4003:c01::230]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id AF8BC1A04F6 for <aqm@ietf.org>; Fri, 29 Aug 2014 08:26:42 -0700 (PDT)
Received: by mail-ob0-f176.google.com with SMTP id wn1so1884889obc.35 for <aqm@ietf.org>; Fri, 29 Aug 2014 08:26:42 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=swvPrrTtEuf4QDwU+TXIg7RaPpYUelIaEpy/LPckulY=; b=h5GXecMTyNNUQWyvRkEKBhtyHU5JHQI+D6QK0RmDy00YJqjxzwJxPltXakJEtymG1r Yy4JQ56rBtuYY3vySkJo5tfdzd1TBG9/M1/HnGzXFHIZKCIakpIUT+crTKSQIozES5e9 u58sqnyw1VLVIpevsjz86LUlSjR5nZ1ytI+FPkSyAiOOfvOZegAVENNxmLeVEw2FxWVL itLstfewdwjLvjcrnb3P5F1hVPSINaHgaqzuZ3j9dcIlxDNya5LneihI67tYVJqhAatA zqoVWQgMgPA23xWXyJ3sou6UOV1hPtYLc0SsFpJyY41NxjE+2QLw+veXEAQDDbL5wLFw YCwg==
MIME-Version: 1.0
X-Received: by 10.182.129.230 with SMTP id nz6mr11144233obb.16.1409326002074; Fri, 29 Aug 2014 08:26:42 -0700 (PDT)
Received: by 10.202.227.76 with HTTP; Fri, 29 Aug 2014 08:26:42 -0700 (PDT)
In-Reply-To: <53E9EB49.9040509@erg.abdn.ac.uk>
References: <53E8D7B0.9040007@mti-systems.com> <CAA93jw7ufoEdfGexKMwkSOGLj7LMYBq-nGVPGJt+5G+OHx+ayA@mail.gmail.com> <20140811233857.GL45982@verdi> <201408120943.s7C9hRvV024419@bagheera.jungle.bt.co.uk> <53E9EB49.9040509@erg.abdn.ac.uk>
Date: Fri, 29 Aug 2014 08:26:42 -0700
Message-ID: <CAA93jw7cc_a5bWw=vJ9jD_LVR0=xKdmvzPv-V7Gvof1xdXiVog@mail.gmail.com>
From: Dave Taht <dave.taht@gmail.com>
To: Gorry Fairhurst <gorry@erg.abdn.ac.uk>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: http://mailarchive.ietf.org/arch/msg/aqm/zQajLcXfF0crcEFliuupKv3vNB8
Cc: "aqm@ietf.org" <aqm@ietf.org>
Subject: Re: [aqm] adoption call: draft-welzl-ecn-benefits
X-BeenThere: aqm@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: "Discussion list for active queue management and flow isolation." <aqm.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/aqm>, <mailto:aqm-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/aqm/>
List-Post: <mailto:aqm@ietf.org>
List-Help: <mailto:aqm-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/aqm>, <mailto:aqm-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 29 Aug 2014 15:26:47 -0000

On Tue, Aug 12, 2014 at 3:24 AM, Gorry Fairhurst <gorry@erg.abdn.ac.uk> wrote:
> OK, so I have many comments, see below.
>
> Gorry
>
>
> On 12/08/2014 10:43, Bob Briscoe wrote:
>>
>> Wes, and responders so far,
>>
>> A doc on the benefits and pitfalls of ECN is needed. Personally I
>> wouldn't assign much of my own time as a priority for such work; I'd
>> rather work on finding the best road through the protocol engineering.
>> But I'm glad others are doing this.
>>
>> We need to be clear that this doc (at the moment) is about the benefits
>> of 'something like RFC3168 ECN'. I think that is the right direction. I
>> would not be interested in a doc solely about the benefits of 'classic'
>> ECN (we had RFC2884 for that).
>>
>> However, if it is about the benefits of some other ECN-like thing, it
>> will not be worth writing unless it is more concrete on what that other
>> ECN-like thing is. At present different and sometimes conflicting ideas
>> are floating around (I'm to blame for a few).
>>
>> In order to write about benefits, surely experiments are needed to
>> quantify the benefits?

+10

>> Alternatively, this could be a manifesto to
>> identify /potential/ benefits of ECN that the current classic ECN is
>> failing to give. I think at the moment it's the latter (and that's OK
>> given that's where we have reached today).
>>
> GF: If someone wishes to write this research paper, I'd be happy to join
> them, but it was not what I had in mind for this ID.
>
>
>> How about the title "Explicit Congestion Notification (ECN): Benefits,
>> Opportunities and Pitfalls" ?
>>
> GF: I could live with that, if the group wished this!

+1

>
>
>> We (in the RITE project) have agreed to start work on an 'ECN Roadmap'
>> in order to identify all the potential ideas for using ECN coming out of
>> research, and write down whether new standards will be needed for some,
>> whether they can evolve without changing standards, which are
>> complementary, which conflict, etc.

I'd like to see experiments done through the free.fr network as it's the
only one I know of with ecn enabled along the edge in their revolution
v6 product.

Presently cerowrt ships with ecn enabled on the inbound rate
limiter and disabled on the outbound, I have considered enabling
it by default on the outbound for connections > 4mbits.

(users can override these settings, of course)

>>
>> I don't know whether this ECN benefits doc ought to include this
>> detailed ECN roadmap work, but if it's going to talk about "something
>> like ECN" I believe it will have to include a summary of the main items
>> on such a roadmap to be concrete.
>>
>>
>> more inline...
>>
>> At 00:38 12/08/2014, John Leslie wrote:
>>>
>>>    (I have read Michael's reply to this, but I'll respond here.)
>>>
>>> Dave Taht <dave.taht@gmail.com> wrote:
>>> > On Mon, Aug 11, 2014 at 7:48 AM, Wesley Eddy <wes@mti-systems.com>
>>> wrote:
>>> >
>>> >> This draft has been discussed a bit here and in TSVWG:
>>> >> http://tools.ietf.org/html/draft-welzl-ecn-benefits-01
>>>
>>>    I do think this is the right place to discuss it.
>>>
>>> >> As I understand, the IAB has also discussed it a bit, and would
>>> >> be happy if this was something that an IETF working group
>>> >> published.  I believe the TSVWG chairs also discussed this and
>>> >> would be fine if the AQM working group adopted it.
>>>
>>>    Thus, I am in favor of adopting it, with the understanding that
>>> it will see significant changes during our discussion.
>>
>>
>> I think we can and should agree the direction of those changes in this
>> thread. I'd rather not agree to start on a doc and plan to meander.
>>
> GF: +1, we can add comments to the ID to align to this, personally I've
> already said that I'd like to see text on:
> - bleaching and middlebox requirements to deploy.
> - Need to verify the paths actually really *do support* ECN (sorry, but may
> be needed).

I agree that verifying that a path can take a congestion notification e2e
is important.

>
>
>> I don't think this will be a quick (6 months) job, because of the
>> problem of being clear about the "things like ECN" that it needs to talk
>> about.
>>
> GF: That depends also in part on whether these new mechanisms: will actually
> change the message to potential users of transports and people considering
> deployment. In my mind the definition of the protocol techniques does not
> HAVE to be the same document that tells people *HOW* to implement this in
> stacks or network devices. (My own choice would be to keep these to research
> papers and RFCs targeted at their respective communities).
>
>
>>
>>> > I don't share the relentless optimism of this document, and would
>>> > like it - or a competing document - to go into the potential negatives.
>>>
>>>    I think it should concentrate on what its name says: the benefits
>>> of ECN, both now and in an expected future; but that it should also
>>> at least mention downsides this WG sees: and that it should avoid any
>>> recommendation stronger than "make ECN available to consenting
>>> applications".
>>
>>
>> I agree it should be informative, rather than making too many detailed
>> recommendations.
>>
> GF: Any other bullets listing additional topics are most welcome!
>
>
>>
>>> > examples of this include the TOS washing problem bob alluded to
>>> > in one of the tsvwg meetings (the monday one),
>>>
>>>    This definitely deserves mention.
>>
>>
>> I agree it would be useful to write about deployment problems.
>> Specifically, a clear explanation of what the deployment problems have
>> been, which ones are no longer problems (if any), and which ones are
>> still problems, and how prevalent.
>>
> GF: +1

+1

>
>> Alternatively, folks doing ECN black hole experiments might want to
>> write them up in a separate draft, that this one can refer to (there are
>> already a few research papers documenting ECN deployment experiments). I
>> would be willing to help collect together the history that I have on this.
>>
> GF: I'm doing these experiments too, happy to work with others.

I have a couple tools for testing bursty loss and QoS and ecn e2e under
development, they are a little buggy, and all dependent on more
recent linux kernels (amusingingly IPv6 works better than IPv4 until
very recently),  and could be improved.

are there other tools available (scamper?)

>
>>
>>> > the impact on competing flows,
>>>
>>>    That might have to go into a companion document. I think this
>>> document could try to describe the bounds of such issues, but not
>>> the details.
>>
>>
>> +1
>>
> GF: +1, I see this as informing the Engineering, not the goals of this
> document.
>
>
>>
>>> > the problem of unresponsive agents or other misuse,
>>>
>>>    I'm not sure what Dave is alluding to here...
>>
>>
>> Dave is alluding to suppression of ECN in the feedback loop (e.g. by the
>> receiver) or the sender not responding (the problem space that ConEx and
>> the ECN Nonce target).
>>
> GF: I'd be glad to include something on this (not detailing a mechanism, but
> perhaps linked "how do we know the path supports ECN", and perhaps if the
> group is smart - how can the transport actually find this stuff out for
> itself? (sorry to keep returning to this)

For TCP it seems rather hard to fix in the field. I could see supplying the
syn/ack with a CE as one example. Newer protocols (quic/nada?) could
do something more robust and periodically probe...

>>
>>> > the deprecation (?) of the nonce mechanism,
>>>
>>>    I don't accept it as a given that the nonce should be deprecated;
>>> though I do think that discussion will come up.
>>
>>
>> It would also be useful to write about cheating problems.
>>
> GF: +1
>
>
>> However, an informational doc would not be the right place to deprecate
>> the ECN nonce. That needs to be in a doc that offers an alternative
>> mechanism (which is where draft-moncaster-tcpm-rcv-cheat is heading - we
>> have ideas on how to extend it to ECN cheating).
>>
> GF: - I'd be surprised if this document deprecates an EXP RFC (I've said
> this before), normally I'd expect this in the draft that defines the
> replacement technique.
>
>>
>>> > and how to properly switch between marking and dropping in an aqm.
>>>
>>>    I doubt this document will go into much detail there. Basically,
>>> IMHO, an AQM should mark well before dropping becomes necessary; and
>>> when dropping becomes necessary, ECN-capable packets should be dropped
>>> essentially as often as non-ECN-capable packets.
>>>
>>>    I'm not sure this document should say much about that, though...
>>
>>
>> This might be relevant if talking about how there could be benefits if
>> it were done differently from RFC3168. But otherwise, I agree this would
>> not be on-topic for this doc.
>>
> GF: This could be complicated, but probably depends on how far the WG has
> proceeded in other documents when this document is ready to publish?
>
>>
>>> > There are also the possibilities in new uses for ecn (for example, in
>>> > the original rmcat nada proposal), in usages on local links in routing
>>> > protocols, and in new protocols such as quic, etc.
>>>
>>>    Sounds like interesting reading, Dave -- do you want to send pointers?
>>
>>
>> <http://tools.ietf.org/html/draft-zhu-rmcat-nada-03>

I like the idea of protecting the main frame (P-frame? can never keep these
straight) with ecn, and allowing for loss on the deltas lacking ecn.

Also don't mind the idea of protecting all of a videoconferencing session
with ecn, and reacting to those congestion notifications appropriately.
(assuming that the other problems involving washing, etc, are licked)

>> I assume using ECN on local links in routing protocols is just something
>> Dave is saying that operators could do unilaterally.

A long running research project of mine (over 15 years running) has been to
find a routing protocol that worked well for wireless, and one more holy grail
has been to find one that reacted well to congestion and differences in
available bandwidth. Most routing protocols
stop at "reachability", and some conflate packet loss with that.

and: ecn marking bgp tcp sessions would be a good way of making sure ecn
worked right in the core. ;/

Please note that although I think I've got tantalizing hints towards
coming up with better routing metrics for wireless or congested
networks as an outgrowth of the bufferbloat work (examples - the new
babel-rtt metric, some improvements on minstrel algorithm's in-kernel
connectivity and bandwidth reporting, and the idea of throwing a
dropped or  marked packet up to user space where a routing daemon
might take a look at it and  it's path and do something smarter about
it) - I've been at it for a long time without much success and don't
want to hold up more productive research elsewhere.

> GF: The IETF has acknowledged alternate ECN semantics via setting the DSCP
> field (RFC4774, I recall some historical discussion of why and where), at
> least something could be said about this. I'd like to add at least a
> pointer.
>
>
>> Given QUIC includes FEC to hide losses, I guess it is a good example to
>> consider whether ECN still offers sufficient benefits over and above
>> just removing losses.
>>
> GF: And then, isn't the implication of AQM to significantly increase the
> number of "losses" unless we use ECN?

I routinely run two wired networks with fq_codel with nearly zero loss
using ecn marking. I am curious as to the mark/drop statistics from
other networks that have deployed ecn.

> Indeed, I have the impression we are confusing many on these points - ECN
> could change the reaction to congestion signal, and FEC (even opportunistic
> CC-friendly FEC) can also change the way things react to congestion signals.

I'd like to see more hard results from FEC from quic. I'd also love to
see someone trying ECN with bittorrent traffic,
adding it to an existing uTP client like utorrent or transmission
would be straightforward, and an easy way to experiment with ecn from
userspace, and explore the issues with deploying it outside of TCP.

>
>> Cheers
>>
>>
>> Bob
>>
>>
>>> --
>>> John Leslie <john@jlc.net>
>>>
>>> _______________________________________________
>>> aqm mailing list
>>> aqm@ietf.org
>>> https://www.ietf.org/mailman/listinfo/aqm
>>
>>
>> ________________________________________________________________
>> Bob Briscoe,                                                  BT
>> _______________________________________________
>> aqm mailing list
>> aqm@ietf.org
>> https://www.ietf.org/mailman/listinfo/aqm
>>
>
> Gorry
>
> P.S. My proposal is that if this thread converges I intend to parse a later
> version and see if my co-author and I can then add some comments to our
> draft to catalogue a set of issues that we expect to see added in future,
> and an appendix of those we think may be out of scope.
>
>
> _______________________________________________
> aqm mailing list
> aqm@ietf.org
> https://www.ietf.org/mailman/listinfo/aqm



-- 
Dave Täht

NSFW: https://w2.eff.org/Censorship/Internet_censorship_bills/russell_0296_indecent.article