Re: ECN in QUIC

Jana Iyengar <jri@google.com> Wed, 27 September 2017 19:18 UTC

Return-Path: <jri@google.com>
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 8C57F134F19 for <quic@ietfa.amsl.com>; Wed, 27 Sep 2017 12:18:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 2.3
X-Spam-Level: **
X-Spam-Status: No, score=2.3 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, GB_SUMOF=5, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=google.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 d569CHyxgwri for <quic@ietfa.amsl.com>; Wed, 27 Sep 2017 12:18:20 -0700 (PDT)
Received: from mail-yw0-x232.google.com (mail-yw0-x232.google.com [IPv6:2607:f8b0:4002:c05::232]) (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 56549134F1C for <quic@ietf.org>; Wed, 27 Sep 2017 12:18:20 -0700 (PDT)
Received: by mail-yw0-x232.google.com with SMTP id q80so10017545ywg.2 for <quic@ietf.org>; Wed, 27 Sep 2017 12:18:20 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=lSEzQmjHqXfM/faLKID1Uv8mt7cheg3Il42mYlTT5dA=; b=wEKG+akM7lDXF5HEY6AJj0qwl6QuA7bg4ZMlPq236PwRu5XFT40TV5ppqCIf0ynMWX 6KoMniic9I08UF3Q+/nU7kyMS9eSErB5iI1Et/U662fY7HYxKXIaMvbozMLDIjOkvBDC nRsQTSbJxF53QiR5i4GxhndsHnm4MS7a532nIxaNAtSfPf2IYDsgeIL5mHbmnD0qjswF eR8p/mzvhkFG3zXoM6voxyo8UDNm1kzJwbhbOnyZAcKfkfaaH+qNyeH1bcVgp39m5zXA 5j1W0EzyP22QHXZ852hSIy8d4yN93kOoE/gCMv6K4dDzD3NM43Tldkvs10B1lNLhST4E L9OA==
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=lSEzQmjHqXfM/faLKID1Uv8mt7cheg3Il42mYlTT5dA=; b=HEUdI9/OTyQytTT/qssdf8iy1olgiVihH0oscioh+7DY9LzPu/tj5imDl8IA56uL8h WzrIhF4ijvc/Ppf77VOpN4FUPaVX/o/zAah0GcNoMxMiQcTi3srZSJr4BCa376m3QqiI WTKe5m7Q/o8G9vHFK8eg9ZHGg4aSiZglU5c5hFTL2vy1Kobl7H9d2ofoACs9LESCfMoA ljvxVi0T+jmGtN7/nZepg0XL55hEahgaMlT7dKrsfGLDBVVGgI+kZaJgHGX5unWXk5Xy 53tCcXHA9OqobpsgBhCwKQs/tHakox43FHzUN/UzPRMqP8XjVdzI7ZQHbWKcOa+Alc1D qqDg==
X-Gm-Message-State: AHPjjUideGkbZT01YwTy8g9OCZgjtH3+ryT1gTgH8S1jxe2WWxK1htL/ QIGNT0SQ+LEbPzb9HHFO1HiPjxAP5KmjCsGs2Q63kg==
X-Google-Smtp-Source: AOwi7QAiXNu6tvWz5EEzmtG6B5O6YVFPuD2HPLi/Wbn4vZdJY2CZG6ufgB4LVopkEkPqozerPI++SuOKMmiriCVZZaE=
X-Received: by 10.129.145.214 with SMTP id i205mr1746894ywg.73.1506539899205; Wed, 27 Sep 2017 12:18:19 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.37.118.133 with HTTP; Wed, 27 Sep 2017 12:18:18 -0700 (PDT)
In-Reply-To: <DB4PR07MB3482CFE0ACA8D52124918D6C2780@DB4PR07MB348.eurprd07.prod.outlook.com>
References: <AM3PR07MB34048E916A7B18695313171C2820@AM3PR07MB340.eurprd07.prod.outlook.com> <8E718F38-88DB-4E1D-BC1B-1C0F0E9E5C34@csperkins.org> <DB4PR07MB348F7E2CFAF1574F838ED8CC2610@DB4PR07MB348.eurprd07.prod.outlook.com> <CAKcm_gMbxEMcq4UaQ9R_iGgXSpKJHzA67VMg2ZXDg2K1OhdUNA@mail.gmail.com> <DB4PR07MB348D95672E48A338758E32DC2610@DB4PR07MB348.eurprd07.prod.outlook.com> <CAD3dRjoz7XNPZB3HY2tHL6iJvqKf=0EgVCmc20nFkB0F914jkA@mail.gmail.com> <59C27B81.2020609@erg.abdn.ac.uk> <DB4PR07MB348D2FAD4DCE09BA3E2166AC2610@DB4PR07MB348.eurprd07.prod.outlook.com> <61205221-b042-b0ef-7fb0-dac655b43ff2@huitema.net> <88460A72-DFEF-4CD8-8A41-C8684EC65C09@tik.ee.ethz.ch> <59C8E900.20409@erg.abdn.ac.uk> <DB4PR07MB3482CFE0ACA8D52124918D6C2780@DB4PR07MB348.eurprd07.prod.outlook.com>
From: Jana Iyengar <jri@google.com>
Date: Wed, 27 Sep 2017 12:18:18 -0700
Message-ID: <CAGD1bZbjG9c7Wv2yKCE8596+f1vp03Zov-6urU2H-Nn+9+=sZw@mail.gmail.com>
Subject: Re: ECN in QUIC
To: Ingemar Johansson S <ingemar.s.johansson@ericsson.com>
Cc: "gorry@erg.abdn.ac.uk" <gorry@erg.abdn.ac.uk>, Mirja Kühlewind <mirja.kuehlewind@tik.ee.ethz.ch>, "quic@ietf.org" <quic@ietf.org>, Christian Huitema <huitema@huitema.net>
Content-Type: multipart/alternative; boundary="94eb2c0941c288f8bc055a30a7ea"
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic/1_7Pdj1EHIEKRqTnxty9F_0h8Jw>
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: Wed, 27 Sep 2017 19:18:22 -0000

>
> General question. Is this Ok to discuss on this list or should we have the
> discussion on the tracker ?
>

We should have something on the tracker. Would you open an issue?


> To summarize.. I can make the following observations :
>
> 1) ECN in ACK frame or dedicated ECN frame : Proponents of a dedicated ECN
> frame argue that adding extra ECN info in the ACK frame can increase the
> complexity of the ACK frame encoding and parsing. Ian Swett however as a
> very strong point in  his remark that ECN in a separate frame can give
> additional issues in the congestion control functionality, in other words,
> what we save (in complexity) in one part of the chain can cause extra cost
> and in the worst case incomprehensible code in another part of the chain.
> My takeaway is that it is best to have ECN in the ACK frame.
>

I agree with Ian's argument -- having ECN in a separate frame would make
things harder for congestion control.

2) Detailed ECN marking info (2 bits/packet) or ECN marked bytes : I see
> some preference to implement something like what is suggested for RMCAT, I
> am not convinced that one need to impose the limitations of AccEcn as the
> latter is given by the limitations by TCP. Fig 2 and 3 in
> *https://tools.ietf.org/id/draft-johansson-quic-ecn-01.txt*
> <https://tools.ietf.org/id/draft-johansson-quic-ecn-01.txt> suggests two
> formats, my preference is the version presented in figure 3 (alt 2), it is
> padded at the end of the ACK frame. I copy the necessary parts below, it is
> not intended as a take it or leave it.
>

 I think we'll need to think carefully about framing, but let's do that on
the issue.

- jana



>       0                   1                   2                   3
>       0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
>      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>      |              First Ack Block Length (8/16/32/48)            ...
>      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>      |  [Gap 1 (8)]  |       [Ack Block 1 Length (8/16/32/48)]     ...
>      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>      |  [Gap 2 (8)]  |       [Ack Block 2 Length (8/16/32/48)]     ...
>      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>                                   ...
>      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>      |  [Gap N (8)]  |       [Ack Block N Length (8/16/32/48)]     ...
>      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>      |ECE|ECE|... variable length, padded to full octets           ...
>      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>
>    The ECE field requires two bits encoding per
>       frame.  The additional overhead amounts to ceil(N*2/8) octets
>       where the N is the sum of the ACK block lengths.
>
> /Ingemar
>
>
> > -----Original Message-----
> > From: Gorry Fairhurst [mailto:gorry@erg.abdn.ac.uk
> <gorry@erg.abdn.ac.uk>]
> > Sent: den 25 september 2017 13:31
> > To: Mirja Kühlewind <mirja.kuehlewind@tik.ee.ethz.ch>
> > Cc: Christian Huitema <huitema@huitema.net>; quic@ietf.org
> > Subject: Re: ECN in QUIC
> >
> > +1
> >
> > DCTP is not IETF standard - it's documenting a solution that is deployed
> in
> > data centres - as it says - my hope is QUIC receives wider deployment.
> >
> > I suggest you start from AccECN, or examine the feedback discussed in
> > RMCAT - which I think strove for equivalence to this.
> >
> > Gorry
> >
> > On 25/09/2017, 12:26, Mirja Kühlewind wrote:
> > > There is Accurate ECN (draft-ietf-tcpm-accurate-ecn) in tcpm that
> changes
> > the feedback defined in RFC3168 because we believe more accurate
> > information in needed in future.
> > >
> > > Mirja
> > >
> > >
> > >> Am 20.09.2017 um 21:02 schrieb Christian
> > Huitema<huitema@huitema.net>:
> > >>
> > >>
> > >>
> > >> On 9/20/2017 9:51 AM, Ingemar Johansson S wrote:
> > >>> Detailed info about which packets are ECN marked can be useful but
> are
> > not stricktly necessary. One alternative, that is presented in the
> ECN-QUIC
> > draft is to count number of marked bytes.
> > >>> That said, some like the detailed packet-level information type
> better. I
> > have not yet been convinced that that this level of detail is necessary
> though.
> > >> The problem is whether you can define a one size fit all ECN
> > >> processing, that if possible should be compatible with ACK
> > >> compression. There are at least two:
> > >>
> > >> * RFC 3168 says, echo ECN=1 if at least one of the acked packets had
> > >> ECN set.
> > >>
> > >> * draft-ietf-tcpm-dctcp-10 suggests setting ECN so that the fraction
> > >> of packet acked with ECN in 1RTT is the same as the fraction of
> > >> packets with ECN set.
> > >>
> > >> So, which one?
> > >>
> > >> --Christian Huitema
> > >>
> >
>
>
>