Re: ECN in QUIC

"Brian Trammell (IETF)" <ietf@trammell.ch> Thu, 25 January 2018 06:03 UTC

Return-Path: <ietf@trammell.ch>
X-Original-To: quic@ietfa.amsl.com
Delivered-To: quic@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5D88112D860 for <quic@ietfa.amsl.com>; Wed, 24 Jan 2018 22:03:32 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level:
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 5qBKU9kE94dB for <quic@ietfa.amsl.com>; Wed, 24 Jan 2018 22:03:29 -0800 (PST)
Received: from gozo.iway.ch (gozo.iway.ch [212.25.24.36]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A6767120713 for <quic@ietf.org>; Wed, 24 Jan 2018 22:03:27 -0800 (PST)
Received: from gozo.iway.ch (localhost [127.0.0.1]) by localhost (Postfix) with ESMTP id BBA26340F46; Thu, 25 Jan 2018 07:03:24 +0100 (CET)
Received: from localhost (localhost [127.0.0.1]) by localhost (ACF/6597.30040); Thu, 25 Jan 2018 07:03:22 +0100 (CET)
Received: from switchplus-mail.ch (switchplus-mail.ch [212.25.8.236]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by gozo.iway.ch (Postfix) with ESMTPS; Thu, 25 Jan 2018 07:03:22 +0100 (CET)
Received: from [145.14.214.39] (account ietf@trammell.ch HELO [10.11.33.5]) by switchplus-mail.ch (CommuniGate Pro SMTP 6.1.18) with ESMTPSA id 43231853; Thu, 25 Jan 2018 07:03:22 +0100
From: "Brian Trammell (IETF)" <ietf@trammell.ch>
Message-Id: <A4AE8394-0568-4C56-A4C3-02866E12DA8C@trammell.ch>
Content-Type: multipart/signed; boundary="Apple-Mail=_0C3CFA65-3D79-46C4-AB46-C0ECB20600DE"; protocol="application/pgp-signature"; micalg="pgp-sha512"
Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\))
Subject: Re: ECN in QUIC
Date: Thu, 25 Jan 2018 07:03:22 +0100
In-Reply-To: <26b97168c48047018d1dfe6400a36b16@usma1ex-dag1mb5.msg.corp.akamai.com>
Cc: Christian Huitema <huitema@huitema.net>, Ingemar Johansson S <ingemar.s.johansson@ericsson.com>, QUIC WG <quic@ietf.org>, "Bob Briscoe (research@bobbriscoe.net)" <research@bobbriscoe.net>, "koen.de_schepper@nokia-bell-labs.com" <koen.de_schepper@nokia-bell-labs.com>
To: "Lubashev, Igor" <ilubashe@akamai.com>
References: <HE1PR0702MB3625F6E2C399F7E6F187C883C2E20@HE1PR0702MB3625.eurprd07.prod.outlook.com> <660743ab697443f4ac5500e649a80285@usma1ex-dag1mb5.msg.corp.akamai.com> <HE1PR0702MB3625648A6943055201D46DCEC2E20@HE1PR0702MB3625.eurprd07.prod.outlook.com> <26dd29d9-ce96-e858-078b-cc867990e8c5@huitema.net> <26b97168c48047018d1dfe6400a36b16@usma1ex-dag1mb5.msg.corp.akamai.com>
X-Mailer: Apple Mail (2.3273)
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic/SPw4exaQTQRKUK1N7S7AjQWfXr4>
X-BeenThere: quic@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Main mailing list of the IETF QUIC working group <quic.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/quic>, <mailto:quic-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/quic/>
List-Post: <mailto:quic@ietf.org>
List-Help: <mailto:quic-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/quic>, <mailto:quic-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 25 Jan 2018 06:03:32 -0000

> On 24 Jan 2018, at 23:53, Lubashev, Igor <ilubashe@akamai.com> wrote:
> 
> I think I like a per-packet bitmap.  If you are ACKing 30 packets, it is only 8 bytes.  The advantage of per-packet bitmap is that you do not need to split ACK Blocks – savings right there.

I'll also note that in the current Internet case (no L4S or DCTCP, sporadic deployment of CE-marking routers), there are opportunities for large savings with the bitmap approach through trivially simple compression (maybe even as simple as a special representation for "all of these packets were 0/ECT0/ECT1").

Cheers,

Brian

> 	• Igor
> 
> From: Christian Huitema [mailto:huitema@huitema.net]
> Sent: Wednesday, January 24, 2018 4:38 PM
> To: Ingemar Johansson S <ingemar.s.johansson@ericsson.com>; Lubashev, Igor <ilubashe@akamai.com>; QUIC WG <quic@ietf.org>
> Cc: Bob Briscoe (research@bobbriscoe.net) <research@bobbriscoe.net>; koen.de_schepper@nokia-bell-labs.com
> Subject: Re: ECN in QUIC
> 
> 
> 
> 
> On 1/24/2018 10:51 AM, Ingemar Johansson S wrote:
> Hi
> 
> Comment on “CE is not going to be a very common occurrence”.
> While that may be true for (almost) drop equivalent ECN (a.k.a. classic), it does unfortunately not hold at all for L4S. Typical values of ECN marking ratio with L4S is in the order of 10 to 50%. In addition the CE marks can be spread randomly (for instance with phantom queues).
> This means that the ACK blocks in the suggested format below can become very short, in the worst case representing only one packet per ACK block if we have an alternating ECT-CE-ECT-CE… pattern in the received packets.
> Yes.
> 
> 
> So my take is that if an ECN bit pattern is really necessary then it is better to have it as an bitmap that represents all packets that are listed in the ACK block. If one make an assumption that an ACK frame contains two ACK blocks that ACKs 5 and 7 packets then the ECN block will become (5+7)*2 = 24bits , i.e. 3 octets.
> Yes, we have to take that into account in the design.
> 
> 
> But with that said I am still not convinced that the packet counter approach is flawed (I’m am happy to be enlightened 😊) .
> Taking multipath as an example : Isn’t it the case that two connections are setup, each with its own congestion control context (I omit coupled CC for the moment). If that is the case then I don’t see any problem with the packet counters.
> 
> We are heading towards a single packet sequence number space shared by multiple paths. That means that we need precise per packet feedback. If a packet was marked with CE, you want to know on which path, and the way to know that is to find the "path" tag in the saved copy of the packet. You cant do that with counters.
> 
> 
> As regards to connection migration. One possible matter is that it can become tricky to detect ECN bleaching or ECN bit access problems in OS immediately , however during the course of 1 RTT or even less, this should be possible to detect as e.g. ECN bleaching will result in that the neither on the ECT(0),ECT(1) and CE counters increase. But I am fully aware that I may miss things here.
> 
> Again, there is no problem if we have precise per packet feedback, because we can find out which packets were bleached.
> 
> -- Christian Huitema
>