RE: ECN in QUIC

Ingemar Johansson S <ingemar.s.johansson@ericsson.com> Wed, 27 September 2017 09:38 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 0EECD1348E3 for <quic@ietfa.amsl.com>; Wed, 27 Sep 2017 02:38:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.78
X-Spam-Level:
X-Spam-Status: No, score=0.78 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] 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 Fgpe7ePKdgd7 for <quic@ietfa.amsl.com>; Wed, 27 Sep 2017 02:38:43 -0700 (PDT)
Received: from sesbmg23.ericsson.net (sesbmg23.ericsson.net [193.180.251.37]) (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 881F01348E1 for <quic@ietf.org>; Wed, 27 Sep 2017 02:38:42 -0700 (PDT)
X-AuditID: c1b4fb25-94fff70000005333-07-59cb71a0c4cc
Received: from ESESSHC021.ericsson.se (Unknown_Domain [153.88.183.81]) by sesbmg23.ericsson.net (Symantec Mail Security) with SMTP id C0.4A.21299.0A17BC95; Wed, 27 Sep 2017 11:38:40 +0200 (CEST)
Received: from EUR01-VE1-obe.outbound.protection.outlook.com (153.88.183.145) by oa.msg.ericsson.com (153.88.183.81) with Microsoft SMTP Server (TLS) id 14.3.352.0; Wed, 27 Sep 2017 11:38:39 +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=GA3BNeWPVRYDpWFUtUBkobnAVLUVYiLYBO9aV7YEIuY=; b=cPhuLtpfjqMj+u/WIiNY2oDN9zZcB9YemAVLMI6vf/a9wR2jay6zWcECvVdpMXMuPwllzLfwL0nxc7jOO6WLPlLV5chZJ0RPTvaHZr+Ty44Ek4mIpjWqjcYjE43mW+uPEHEp6IAH03vgAyex0XZJXMUgxuWqYnNf6zVwH9XpDPI=
Received: from DB4PR07MB348.eurprd07.prod.outlook.com (10.141.234.148) by DB4PR07MB345.eurprd07.prod.outlook.com (10.141.234.142) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.77.5; Wed, 27 Sep 2017 09:38:37 +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; Wed, 27 Sep 2017 09:38:37 +0000
From: Ingemar Johansson S <ingemar.s.johansson@ericsson.com>
To: "gorry@erg.abdn.ac.uk" <gorry@erg.abdn.ac.uk>, Mirja Kühlewind <mirja.kuehlewind@tik.ee.ethz.ch>
CC: Christian Huitema <huitema@huitema.net>, "quic@ietf.org" <quic@ietf.org>, Ingemar Johansson S <ingemar.s.johansson@ericsson.com>
Subject: RE: ECN in QUIC
Thread-Topic: ECN in QUIC
Thread-Index: AdMWaIZN+ofkuQeuQOGGa2om9/ikzaLIbk0g
Date: Wed, 27 Sep 2017 09:38:36 +0000
Message-ID: <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>
In-Reply-To: <59C8E900.20409@erg.abdn.ac.uk>
Accept-Language: sv-SE, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [192.176.1.91]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; DB4PR07MB345; 6:e/v7LeRaeG8Mp9JuPnbz62AByku1WJf5YtYJ4YDWruuyetADn0zg+djM0d97m1mPukLlhZZhARJz4q1bRvXW+gNP9RMJ/c5e5pIkocXlin6KQUTfnbYQkp/6BKcF/5zR2NoDOVlvmhqvK+ogCLWPGpshQBSLJYQ5NDqKylaFE25YdJID2alNaf9/owUXaFwjL69BBDnNEYcR0ExEK8uXWmrTNbB6s5oMxuCwy295i/X7Ec9zmX22gJzSsiT4o+IaVRO3D5Axgmt7hqyhLUVqNxdihXCU8UfrrNxlCmsZztU25r4Y/hrYt7LoPZq7fiG6iESJJjAjAAP94qWQ//awQQ==; 5:eGEmR+jZTwg85fXGEyD8JsLkqqLAnhJi+th8iZOC0kxs83Nh5XrBJJ/7ArtOPZDUc3yAZx3tljcRgdnZPMOlykZby3a1rqRUDTSGLi/LyxruX7T3qcAJluAOdEUxlNTBimr2KY/5zJClo4EFagxP+g==; 24:8tnuClSezbnh7Hz8IiQMMq+nw051N4eR4wmP4GlPxiHb4tLX0tMdQ+lHq4n4/90LYYvuK+pnsR+KrYXOOriBLElwijLBaoN2nZayRO+h0jg=; 7:qwjqKjOxZ+aEuP51oRJ5PFjTz1rkV08vSuslNRNzcV/6VCtXbzMvOAxj6gsoNeGZsrarqUX7RbBOBuch3PiMn2Xvk0H151ftthzXW8hu3yUbKzB0ccsg4YKitJHBfRUir6gQVoTXezEvimdUkCDMRG2+wzMb5tEC8eJy3hcpByIfg0rFxbU5ET/wJGrHynE5v3L+RWCNncfusjvZHuXxLVx+gu36NWI0JuQFvdB7Log=
x-ms-exchange-antispam-srfa-diagnostics: SSOS;SSOR;
x-forefront-antispam-report: SFV:SKI; SCL:-1; SFV:NSPM; SFS:(10009020)(6009001)(346002)(376002)(39860400002)(24454002)(199003)(377454003)(13464003)(189002)(102836003)(6116002)(2950100002)(6436002)(106356001)(6506006)(97736004)(3846002)(33656002)(4326008)(5250100002)(2906002)(6246003)(3480700004)(14454004)(2501003)(55016002)(105586002)(3660700001)(6306002)(99286003)(25786009)(2900100001)(53936002)(68736007)(107886003)(9686003)(66066001)(966005)(189998001)(551984002)(229853002)(93886005)(3280700002)(316002)(478600001)(8936002)(7736002)(74316002)(305945005)(54906003)(110136005)(81166006)(81156014)(7116003)(76176999)(8676002)(7696004)(101416001)(86362001)(50986999)(5660300001)(54356999); DIR:OUT; SFP:1101; SCL:1; SRVR:DB4PR07MB345; H:DB4PR07MB348.eurprd07.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en;
x-ms-office365-filtering-correlation-id: 3858fc80-5242-428f-7007-08d5058b8742
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030254152)(2017052603199)(201703131423075)(201703031133081)(201702281549075); SRVR:DB4PR07MB345;
x-ms-traffictypediagnostic: DB4PR07MB345:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=ingemar.s.johansson@ericsson.com;
x-exchange-antispam-report-test: UriScan:(21748063052155);
x-microsoft-antispam-prvs: <DB4PR07MB3452397E6B6045317A41D5CC2780@DB4PR07MB345.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)(12181511122)(3002001)(10201501046)(100000703101)(100105400095)(93006095)(93001095)(6041248)(20161123560025)(20161123558100)(20161123555025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123562025)(20161123564025)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:DB4PR07MB345; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:DB4PR07MB345;
x-forefront-prvs: 04433051BF
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_DB4PR07MB3482CFE0ACA8D52124918D6C2780DB4PR07MB348eurprd_"
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Sep 2017 09:38:36.9414 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 92e84ceb-fbfd-47ab-be52-080c6b87953f
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB4PR07MB345
X-OriginatorOrg: ericsson.com
X-Brightmail-Tracker: H4sIAAAAAAAAA02SaUhUURSAue/dN/OcGrhNikdDqiGJXEsLBjFRhFDE0ILcKJ30oaKO9p6J 1h/7ocQ0hqXihjiKWLmEmJWpaQ45k9kiGmKKCy6lKGEujUtIjm8C/33nfOfcc+7lsrSil3Fk kzWZHK9RpyolMlwe+TrcXX9rIOps+ZpStZRfiVRF9yqlqpbGYqzS6Q/54yDd2gIVNFb2EQfV 1W1RQcaVDUkYjpb5JnCpyVkc7+kXJ0uqyivEGVWa7PmfTXQuaryuRTYskPNQsdFAaZGMVZD3 CKqnO7AYfEBQU9NCWwJMCmioNA9aTQkF7yZ+0GIwhcCkLcWWwyTEF54ZzMjCtiQH2uo2GUsR TfIRLOwa94uOEgC98TElFjnAr/U8LLIXbG3/kVgYE2f4O7fIWFhOouHp0ph1wz4Gvnwa2m+2 IW6wXtVBWxgRJ5gyT+4fRBN7GJurpsTrEajr+kqLbAeLs7uMyCdg/IkJi+wEQ9UPkGUAkDwp fK6tlorCG7SFXYwo2iQws9NnFaHwaqSZEkUVgqGefKs4AzOFm9aV4mH1e4F1nA/cf2SycjLo Xy7TYvMIA6u527gQuVUcWF3kdOjs1uOK/Tc4Av3lc1jMe8BoSbFEZFeor1miRXaHsl0DPpjX I2kDshM44WZaope3B8cnxwtCusZDw2W2or2P1du249yOhpcDDIiwSHlYjiIGohSMOkvISTMg YGmlrfxi2l5KnqDOucPx6bH87VROMKBjLFbaywO6ByMVJFGdyaVwXAbH/7cUa+OYi2SbF76F BE8UlU6/nSg21T4nzuOxDgmB5tK7YUJIysn6COlkKz/q30jHmbV8c22ObkVmjHnoEs5y/ub+ lhi/G67xgfYeTR3lSt02tX11viP28nH12Kker4jZcMozRRHFDV6qnL+yNih1D9aFd7YPv8h9 Y/Ri4LRP6O9rhuxsJRaS1OdcaF5Q/wMtmIZRVAMAAA==
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic/DYZ_DoJA7DIeY48eueGvKqZate8>
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 09:38:45 -0000

Hi

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

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.

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.

      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>
> 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<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
> >>
>