Re: [Ecn-in-quic] ECN ACK, bytes or packets

Spencer Dawkins at IETF <spencerdawkins.ietf@gmail.com> Fri, 01 December 2017 15:53 UTC

Return-Path: <spencerdawkins.ietf@gmail.com>
X-Original-To: ecn-in-quic@ietfa.amsl.com
Delivered-To: ecn-in-quic@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D5411124B09 for <ecn-in-quic@ietfa.amsl.com>; Fri, 1 Dec 2017 07:53:42 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.01
X-Spam-Level:
X-Spam-Status: No, score=-0.01 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, HTTPS_HTTP_MISMATCH=1.989, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
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 ptTg4_JR89Cd for <ecn-in-quic@ietfa.amsl.com>; Fri, 1 Dec 2017 07:53:39 -0800 (PST)
Received: from mail-yb0-x229.google.com (mail-yb0-x229.google.com [IPv6:2607:f8b0:4002:c09::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id BA919126C25 for <ecn-in-quic@ietf.org>; Fri, 1 Dec 2017 07:53:39 -0800 (PST)
Received: by mail-yb0-x229.google.com with SMTP id s46so4158935ybi.8 for <ecn-in-quic@ietf.org>; Fri, 01 Dec 2017 07:53:39 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=tWL7s18GpCLE0Fq7YJCOVmxedkXSVeX7bEjGrQBw6Cs=; b=cogGGZAk7NmLspBAMxvKBJxrFrH3ec4sSKRQwsuI5Y5qX0BOTDTOK94EdkZZNhrryW nazbQ/W3sSPbR1inD9tS2+bENRIQijDL26cDHc6BpOmWGNkYvlfgXoshszC7069LRf4s 9hvPOIyCNAcsaz7OmtecufnKz5OSSrL7AQnc7OmczFqOwRShtmf/nQmDH5Cf5vyia8d6 QB2fdA5yscoVNkzglDGUrkewDptW/aGNNDAMPezMGyA6hNZ/IDsj/xjpSJ1PSalnNi// A30dxwImW1XFBeFYT98UjZw+yc7V1cScMzlUpsWgGgI9KjnPlVY7sy4McidDgHv7aIqN YjnQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=tWL7s18GpCLE0Fq7YJCOVmxedkXSVeX7bEjGrQBw6Cs=; b=OpvH+Z48rlPj8Jz8xbhLbbINRgCEJN2A1fa/Y+y+vYRSTsK4u4ywp2gFMbarTvFoVT ENZyYzMszfCySReErlOXXkfLlMm2Cl/t9o/OWJJPnb4IYp+aJ6r17mHf1b8ROb/fmTIq Yt9H53TxVXTxfkYF349voPoyB0elJM0Rv0s+TTNsDn3d9a+43LgXObhySYcZnkVO7/Pc Q9U28rCIP/S8dUgavkA/8+Ek6cXDfEl04IjbVhlZ8/TzlPuGNn5xUZbyrzBvWdTyihVt apx/PmDeUvrJZyOuwZL77LQMhjbZTWH3qco+e+HT12Wyp9X57cQKvKZ3zvAcxzU9bTOF FEmg==
X-Gm-Message-State: AJaThX6p3l9IdPcx80UgA/wkC6TX0iX3Orzns7WaCblcha/MkqAmT2Fc HmtfFBxxyhWxGs3uW3ip+kCzNHSY/8TfPkzCgu8=
X-Google-Smtp-Source: AGs4zMZXQeND0P+Ez1ESQ9AQWqxCxMY5OtxhyLNBCueOUuupW4v4RDSY4BvEj+3fR6cOzfusEAGWAAnav/m1jNi06Es=
X-Received: by 10.37.252.5 with SMTP id v5mr4164772ybd.518.1512143618481; Fri, 01 Dec 2017 07:53:38 -0800 (PST)
MIME-Version: 1.0
Received: by 10.37.135.75 with HTTP; Fri, 1 Dec 2017 07:53:38 -0800 (PST)
In-Reply-To: <58d0757662f14d2298c4d4c71e32aebc@usma1ex-dag1mb5.msg.corp.akamai.com>
References: <DB4PR07MB3483D43052B690A6B2ADC24C2390@DB4PR07MB348.eurprd07.prod.outlook.com> <E13FA54B-5411-471D-BB92-5D6B73A660DC@netapp.com> <DB4PR07MB348E532123C1AEC5C5ED4C4C2390@DB4PR07MB348.eurprd07.prod.outlook.com> <58d0757662f14d2298c4d4c71e32aebc@usma1ex-dag1mb5.msg.corp.akamai.com>
From: Spencer Dawkins at IETF <spencerdawkins.ietf@gmail.com>
Date: Fri, 01 Dec 2017 09:53:38 -0600
Message-ID: <CAKKJt-eJ1Du8tMuVANFTczGUHdKyDpkhm0Z1MjPFb=BkYNZe1g@mail.gmail.com>
To: "Lubashev, Igor" <ilubashe@akamai.com>
Cc: "lars@netapp.com" <lars@netapp.com>, "ingemar.s.johansson@ericsson.com" <ingemar.s.johansson@ericsson.com>, "ecn-in-quic@ietf.org" <ecn-in-quic@ietf.org>
Content-Type: multipart/alternative; boundary="f403045db63e3aa431055f495f55"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ecn-in-quic/JTPzCN5Qor7lpjDdjoGLKBATiKg>
Subject: Re: [Ecn-in-quic] ECN ACK, bytes or packets
X-BeenThere: ecn-in-quic@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "ECN in the QUIC protocol discussion list." <ecn-in-quic.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ecn-in-quic>, <mailto:ecn-in-quic-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ecn-in-quic/>
List-Post: <mailto:ecn-in-quic@ietf.org>
List-Help: <mailto:ecn-in-quic-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ecn-in-quic>, <mailto:ecn-in-quic-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 01 Dec 2017 15:53:43 -0000

Hi, Igor,

On Fri, Dec 1, 2017 at 7:04 AM, Lubashev, Igor <ilubashe@akamai.com> wrote:

> I was thinking of doing my own cut at a draft, but I keep not finding a
> sufficiently large block of time for it. :-( So here are some thoughts I
> had.
>
> 1. We should neither report bytes nor packets for CE. Instead, we should
> have a frame ACK-WITH-CE which is just like ACK frame but also includes a
> bitmap to indicate which packet groups being ACKed had CE markers and which
> did not. That frame would only be used if any packets had CE makings.
>

Speaking as the AD for TSVWG - I sent
https://datatracker.ietf.org/doc/draft-ietf-tsvwg-ecn-experimentation/ to
the RFC Editor three days ago, along with
https://datatracker.ietf.org/doc/status-change-ecn-signaling-with-nonces-to-historic/.
These two actions mean that the original meaning of ECT(1) in RFC 3168 as
"same as ECT(0)" has been deprecated. I'm betting that some QUIC folk have
noticed that, and others may have not.

Asking as an individual - Ingemar was pretty careful in his note to
distinguish between packet groups marked with ECT(0) and packet groups
marked with ECT(1).  I'm reading "a bitmap" in your thought 1. and
wondering if you meant "two bitmaps".

I'm not the one doing the work on ECN experiments (that's being handled by
competent people), but my understanding is that we're likely to end up with
standards-track interpretations of ECT(1) that aren't the same as the
current interpretation of ECT(0), after an appropriate amount of
experimenting, so I'd think it's better to track them separately in QUIC,
from the beginning, if you're going to track them in QUIC.

Thanks,

Spencer, who is furiously trading hats while typing ....

>
> 2. For each new path, we emit a new frame bash to that path that confirms
> that ECN makings were present in the first packet from that path. That
> could be in the same packet as the "path probe". If suddenly we receive a
> packet with ECN bleached from a path that used to have ECN makings, we emit
> a frame to that effect.
>
> It does not look like much of anything else is needed. The byte counts are
> not needed on the wire, since the endpoints know packet sizes they sent, so
> simply by knowing which packets had CE makings, they can compute bytes, if
> they desire. Also, the end points may wish to know when they can reply on
> ECN feedback and when not (ECN bits are reaching the other endpoint
> reliably or not). I doubt that we need to report that 37% of ECN packets
> are being bleached -- this is a highly unlikely situation and can be
> treated as a single bit "ECN is not reliable here" piece of information.
>
> - Igor
>
> -----Original Message-----
> *From:* Ingemar Johansson S [ingemar.s.johansson@ericsson.com]
> *Received:* Friday, 01 Dec 2017, 7:46AM
> *To:* Eggert, Lars [lars@netapp.com]
> *CC:* ecn-in-quic@ietf.org [ecn-in-quic@ietf.org]
> *Subject:* Re: [Ecn-in-quic] ECN ACK, bytes or packets
>
> Hi
>
> Yes, my intention was to highlight the use of variable-length integer
> encoding. Obviously it was not that clear 😊
>
> /Ingemar
>
>
>
> *From:* Eggert, Lars [mailto:lars@netapp.com]
> *Sent:* den 1 december 2017 11:23
> *To:* Ingemar Johansson S <ingemar.s.johansson@ericsson.com>
> *Cc:* ecn-in-quic@ietf.org
> *Subject:* Re: [Ecn-in-quic] ECN ACK, bytes or packets
>
>
>
> On 2017-12-1, at 11:02, Ingemar Johansson S <ingemar.s.johansson@ericsson.
> com> wrote:
>
> + If the two tweaks above are possible then we would end up with something
> like
>
>   + 1 byte for ECT(0), with the special 2 bit encoding we are then able to
> encode a delta of [0…63] ECT(0] marked packets
>
>   + 1 byte for ECT(1), same encoding as above.
>
>   + 2 or 4 bytes for CE, the most likely encoding that makes it possible
> to encode a delta of [0..16383] CE marked bytes or [0...2*30-1], the latter
> is more likely used with large MTU sizes and in some cases also when
> packets are densely marked (L4S)
>
>
>
> We are going to varint encoding almost everywhere in QUIC; see
> https://quicwg.github.io/base-drafts/draft-ietf-quic-
> transport.html#rfc.section.8.1
> <https://urldefense.proofpoint.com/v2/url?u=https-3A__quicwg.github.io_base-2Ddrafts_draft-2Dietf-2Dquic-2Dtransport.html-23rfc.section.8.1&d=DwMGaQ&c=96ZbZZcaMF4w0F4jpN6LZg&r=Djn3bQ5uNJDPM_2skfL3rW1tzcIxyjUZdn_m55KPmlo&m=d15wMtMOmTxCnIazi4Jr0lWZR5Sz177mQ0wArW6A8nQ&s=aEFjIdCcgpaiWFkXrFryTqGXWCXKM5bvupRpY1ffvaU&e=>
>
>
>
> Lars
>
>
>
> _______________________________________________
> Ecn-in-quic mailing list
> Ecn-in-quic@ietf.org
> https://www.ietf.org/mailman/listinfo/ecn-in-quic
>
>