RE: ECN in QUIC

Ingemar Johansson S <ingemar.s.johansson@ericsson.com> Thu, 28 September 2017 12:37 UTC

Return-Path: <ingemar.s.johansson@ericsson.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 70DAA134706 for <quic@ietfa.amsl.com>; Thu, 28 Sep 2017 05:37:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.781
X-Spam-Level:
X-Spam-Status: No, score=0.781 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, GB_SUMOF=5, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=ericsson.onmicrosoft.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 BK6I3GQEVjDB for <quic@ietfa.amsl.com>; Thu, 28 Sep 2017 05:37:16 -0700 (PDT)
Received: from sessmg22.ericsson.net (sessmg22.ericsson.net [193.180.251.58]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 8A9AA134684 for <quic@ietf.org>; Thu, 28 Sep 2017 05:37:15 -0700 (PDT)
X-AuditID: c1b4fb3a-9e1d49c0000051a3-2d-59ccecf94285
Received: from ESESSHC003.ericsson.se (Unknown_Domain [153.88.183.27]) by sessmg22.ericsson.net (Symantec Mail Security) with SMTP id EA.56.20899.9FCECC95; Thu, 28 Sep 2017 14:37:13 +0200 (CEST)
Received: from EUR01-DB5-obe.outbound.protection.outlook.com (153.88.183.145) by oa.msg.ericsson.com (153.88.183.27) with Microsoft SMTP Server (TLS) id 14.3.352.0; Thu, 28 Sep 2017 14:36:52 +0200
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericsson.onmicrosoft.com; s=selector1-ericsson-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=qkTCo6ftM7WelPWAK9zK+JZcefRGbeoyMES5TS2whLQ=; b=Zgx9NyzwFbzuTv23tBUp8KqRmC3fAXOpl67nosjWdta31Av85BC8oeB3E8EIFwcH5cAfYdtjn6EKukWllDIelVZfpcuzuVjwk4PRJYhRY2s3XkoAu4wyQGzVcgQTbL6ANDY1uLC7QXl0q0LKiRlzSiZcNo8xBhH1poTYNJEDyVk=
Received: from DB4PR07MB348.eurprd07.prod.outlook.com (10.141.234.148) by DB4PR07MB348.eurprd07.prod.outlook.com (10.141.234.148) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.77.5; Thu, 28 Sep 2017 12:36:51 +0000
Received: from DB4PR07MB348.eurprd07.prod.outlook.com ([fe80::ac05:1040:f4fc:784]) by DB4PR07MB348.eurprd07.prod.outlook.com ([fe80::ac05:1040:f4fc:784%15]) with mapi id 15.20.0077.016; Thu, 28 Sep 2017 12:36:51 +0000
From: Ingemar Johansson S <ingemar.s.johansson@ericsson.com>
To: Jana Iyengar <jri@google.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>
Subject: RE: ECN in QUIC
Thread-Topic: ECN in QUIC
Thread-Index: AdMWaIZN+ofkuQeuQOGGa2om9/ikzaLIbk0g3XpLZgD//t4mIA==
Date: Thu, 28 Sep 2017 12:36:50 +0000
Message-ID: <DB4PR07MB34831F4312F8880628C9C47C2790@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> <CAGD1bZbjG9c7Wv2yKCE8596+f1vp03Zov-6urU2H-Nn+9+=sZw@mail.gmail.com>
In-Reply-To: <CAGD1bZbjG9c7Wv2yKCE8596+f1vp03Zov-6urU2H-Nn+9+=sZw@mail.gmail.com>
Accept-Language: sv-SE, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=ingemar.s.johansson@ericsson.com;
x-originating-ip: [192.176.1.91]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; DB4PR07MB348; 6:3H+zVVnmJ1RX9SZtfSoB9Du1j7Bz/vfUlDwr98Um9H4Q4yiY25jvc7l/f1N4Gveqb2o14Unabkp6JfEZj/CJjbSQmPMH4CdNINNgu17ypCbRII7oqQqsuZ1OYgmQXjeFjjOoKywuY00CcS3r5BW5TjddUa7H+5UbFTNm3e+i9JPT6+dt0OvQ/2cm9MzZTgCQzT4eftxkeAifEcSFnxS1/rF8QvE/akF+C5NbVFyEM+fi9VT46shlmIXPjuY0AJKXP7gtk7Qcmj36c8iEuFJr9vwuZ85Q4Kw3aVmbAs8ppbuM2bQcVj3Uwpde24B8QzfmyFTBwfkuAX0hMciUlBwg9Q==; 5:ERffbx+gBycFOI3kg/RaGVRXYV8quRD/G9V5MFtXAf/dXE3SA8HnItW0Wl8aT6ZKJKzlS0+djp7RmrGfiWyyFyL9XrVq50ePHSMA1wcsJTVPUNZmUczO7DSDTtfBfFkP4ykpIcibVuOKpiBRmH8KAQ==; 24:6v5lmIa8aowUlUHVnq271aw76PoYTHIYiDey0nQnPCfrcg3bYO1DgqgZ/vLVrejXyn15ohV98EPEgQIETkRIfNnAJqkuF8GLNTsC0V10YjY=; 7:Ixk6kca5OxH9jkYr6uVnbmlq9NAc23LHLMvJXwu6wen8StMYhBCQWYbqDnKRu5thHtybtS6JD3gOoGlv0udnNRLCg6kTeoOG//LVjMNFbSLWUPzWUQMRrdRJ2XQh1gU3O8JuteeBohvEwAwPn9HQDFKjwxa37YdJkNiucYujS1Kvo6g9ucWGP8a/esjmbtlp1jQY3Sbg9QNvTRFddIK/wwT0WHxW0Pma2F0f5DqtWmE=
x-ms-exchange-antispam-srfa-diagnostics: SSOS;
x-ms-office365-filtering-correlation-id: 5889c22c-0c48-49f9-a4f3-08d5066d97cc
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030254152)(2017052603199)(201703131423075)(201703031133081)(201702281549075); SRVR:DB4PR07MB348;
x-ms-traffictypediagnostic: DB4PR07MB348:
x-exchange-antispam-report-test: UriScan:(37575265505322)(166708455590820)(211936372134217)(21748063052155);
x-microsoft-antispam-prvs: <DB4PR07MB348DF800313BDA0795A7DDCC2790@DB4PR07MB348.eurprd07.prod.outlook.com>
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(2401047)(8121501046)(5005006)(3002001)(93006095)(93001095)(100000703101)(100105400095)(10201501046)(920507026)(6041248)(20161123555025)(20161123562025)(20161123558100)(20161123560025)(20161123564025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:DB4PR07MB348; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:DB4PR07MB348;
x-forefront-prvs: 0444EB1997
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(346002)(39860400002)(376002)(199003)(189002)(13464003)(377454003)(24454002)(9686003)(2900100001)(81166006)(14454004)(6306002)(19609705001)(8676002)(86362001)(966005)(4326008)(316002)(7696004)(478600001)(34040400001)(2906002)(5250100002)(97736004)(6246003)(2950100002)(6916009)(102836003)(99286003)(54906003)(55016002)(53936002)(93886005)(3660700001)(68736007)(6116002)(106356001)(66066001)(236005)(3280700002)(3846002)(105586002)(25786009)(551984002)(76176999)(54356999)(53546010)(50986999)(81156014)(189998001)(8936002)(54896002)(790700001)(74316002)(101416001)(606006)(3480700004)(5660300001)(7116003)(6436002)(7736002)(33656002)(6506006)(229853002); DIR:OUT; SFP:1101; SCL:1; SRVR:DB4PR07MB348; H:DB4PR07MB348.eurprd07.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en;
received-spf: None (protection.outlook.com: ericsson.com does not designate permitted sender hosts)
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: multipart/alternative; boundary="_000_DB4PR07MB34831F4312F8880628C9C47C2790DB4PR07MB348eurprd_"
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Sep 2017 12:36:50.9360 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 92e84ceb-fbfd-47ab-be52-080c6b87953f
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB4PR07MB348
X-OriginatorOrg: ericsson.com
X-Brightmail-Tracker: H4sIAAAAAAAAA02SbUhTURjHObv3btfV4rQUn3yBHAQuyrf6MErEimhEUfohVAQbetHRnLKr oiVhlFrqRE3Nl5xGg0zNxLeyluYqdWoqUiw139hCMxuiiaggud0Ffvs9/+d//s85D4cmxCbK g1aqUxiNWqGS8IVkZcRrzxOby8ORATadn+x3TjWSPbpbLZCVfH5KyloaS0lZQd2+UEpesLbI k9e1psonKwZJuV6/yZP3razzr1FRwuA4RqVMYzT+ITeECcXL22TyzApKt5hHiSzUvoTykAsN +BSsNa2SeUhIi/EnBMWNixRXDCAoazA7ChJrCRgZK+JxnTIetNlGnLZZBDPWPMoexsfB8MK4 4Qh2xT7wc3NdYDcRuB/BwtKyw3QIA9T1lfA402Gw/c0mOT4H1oIKh07io7CZu0DYWYSjQDs1 zeemTfPhuylXYG+44DAwFs45TAh7w+zGjCOIwO4waa3lcc/DoDeMEhy7wS/LDsX5Y2F1Qktx +hGYet5PcuwN47X5yD4McLYADNlm52E/6Cj+49zZFWgev+/kGgS6HjHHUuiq3XAGqWDrnVbA sRLKzVaSC/1KgaF52mnygqzxarIIHa/ac3GOk2C0J4eocmzgIJgqrWQVond1Kbx6689ZfKA0 f17AsS9kP6kR7NXrkKABubEMyybGBwX5MRplLMsmqf3UTEor2v1gve3bp9+g3oWzRoRpJNkv 6rYMR4opRRqbkWhEQBMSV5FqaVcSxSkybjGapBhNqophjciTJiXuotDusQgxjlekMDcZJpnR /O/yaBePLKRXxEkD+U3h0TlDmRmBGR3P1FjaVs2kD0w0SXe0V8MCXOora7SXTakBQriQarhY vnXpm/eBCJ/4Cq/RBF2Lqd4S3WVK89LN/7g9SOsi5zofq2zXG1Zj9Oc/hgx+Se8s/GB4eScz 0iI98/5h5lp31JCvdJg1Mw/Wwk/Gjxeb7klINkEReIzQsIp/MIqVg1wDAAA=
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic/Yq1pkBLcvpl2d21AVXLhgzsmq0U>
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, 28 Sep 2017 12:37:18 -0000

The two discussion points are now posted as issue (https://github.com/quicwg/base-drafts/issues/804 ) and (https://github.com/quicwg/base-drafts/issues/805 )

/Ingemar

From: Jana Iyengar [mailto:jri@google.com]
Sent: den 27 september 2017 21:18
To: Ingemar Johansson S <ingemar.s.johansson@ericsson.com>
Cc: gorry@erg.abdn.ac.uk; Mirja Kühlewind <mirja.kuehlewind@tik.ee.ethz.ch>; quic@ietf.org; Christian Huitema <huitema@huitema.net>
Subject: Re: ECN in QUIC

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 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]
> Sent: den 25 september 2017 13:31
> To: Mirja Kühlewind <mirja.kuehlewind@tik.ee.ethz.ch<mailto:mirja.kuehlewind@tik.ee.ethz.ch>>
> Cc: Christian Huitema <huitema@huitema.net<mailto:huitema@huitema.net>>; quic@ietf.org<mailto: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<mailto: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
> >>
>