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

"Eggert, Lars" <lars@netapp.com> Fri, 01 December 2017 10:23 UTC

Return-Path: <lars@netapp.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 4CED8127337 for <ecn-in-quic@ietfa.amsl.com>; Fri, 1 Dec 2017 02:23:33 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=netapp.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 kOFpzo9jv3yq for <ecn-in-quic@ietfa.amsl.com>; Fri, 1 Dec 2017 02:23:31 -0800 (PST)
Received: from mx142.netapp.com (mx142.netapp.com [IPv6:2620:10a:4005:8000:2306::b]) (using TLSv1.2 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7042F127333 for <ecn-in-quic@ietf.org>; Fri, 1 Dec 2017 02:23:31 -0800 (PST)
X-IronPort-AV: E=Sophos;i="5.45,344,1508828400"; d="asc'?scan'208,217";a="225588468"
Received: from vmwexchts02-prd.hq.netapp.com ([10.122.105.23]) by mx142-out.netapp.com with ESMTP; 01 Dec 2017 02:23:30 -0800
Received: from VMWEXCCAS06-PRD.hq.netapp.com (10.122.105.22) by VMWEXCHTS02-PRD.hq.netapp.com (10.122.105.23) with Microsoft SMTP Server (TLS) id 15.0.1320.4; Fri, 1 Dec 2017 02:23:30 -0800
Received: from NAM01-SN1-obe.outbound.protection.outlook.com (10.120.60.153) by VMWEXCCAS06-PRD.hq.netapp.com (10.122.105.22) with Microsoft SMTP Server (TLS) id 15.0.1320.4 via Frontend Transport; Fri, 1 Dec 2017 02:23:30 -0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netapp.onmicrosoft.com; s=selector1-netapp-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=IjYkPFvJ/JtuqVNclXJQjGKrvb3uACRB1EOvKe3Qe5U=; b=CKUv1cKC/8DKA32CXy+/3yhdttei2tfs1atSF1kVpXri/YU+Q3t3PadKQVUOKxNotFGsQm9ElMyQrj4WqumahcBbNhn10o8+SQEwPiAFwkpMaOnZ+diqS1Wk9QwmlcKPgscxHWa25FjanH+M1g58Y6sa4y6YnCCW36Hvf3P6apo=
Received: from BLUPR06MB1764.namprd06.prod.outlook.com (10.162.224.150) by BLUPR06MB1763.namprd06.prod.outlook.com (10.162.224.149) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.282.5; Fri, 1 Dec 2017 10:23:28 +0000
Received: from BLUPR06MB1764.namprd06.prod.outlook.com ([10.162.224.150]) by BLUPR06MB1764.namprd06.prod.outlook.com ([10.162.224.150]) with mapi id 15.20.0282.007; Fri, 1 Dec 2017 10:23:28 +0000
From: "Eggert, Lars" <lars@netapp.com>
To: Ingemar Johansson S <ingemar.s.johansson@ericsson.com>
CC: "ecn-in-quic@ietf.org" <ecn-in-quic@ietf.org>
Thread-Topic: [Ecn-in-quic] ECN ACK, bytes or packets
Thread-Index: AdNqhd/7J2ff7yARQUuuWTyqQ+SPBAACIz+A
Date: Fri, 01 Dec 2017 10:23:27 +0000
Message-ID: <E13FA54B-5411-471D-BB92-5D6B73A660DC@netapp.com>
References: <DB4PR07MB3483D43052B690A6B2ADC24C2390@DB4PR07MB348.eurprd07.prod.outlook.com>
In-Reply-To: <DB4PR07MB3483D43052B690A6B2ADC24C2390@DB4PR07MB348.eurprd07.prod.outlook.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator:
x-mailer: Apple Mail (2.3445.4.7)
authentication-results: spf=none (sender IP is ) smtp.mailfrom=lars@netapp.com;
x-originating-ip: [2001:a61:3614:8001:8039:60bc:db7d:af3e]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; BLUPR06MB1763; 6:IRh94gQM4ExaD2EeNWVBfpq3Popiy70BU67c+jIY/uiaYaArIqoE0K8kCLIVCE4/z2xLDmuiOgCc2YsS8qmZJv8msTfH5vZYOPk9fPG7IB/3h/wLSZft0kMTN6ukTrpUGmwifYE9I0N9085JrMUcREdmBRT8XnnG+nQVfy4dYe7uTxjMUJp79HyJnJom9d89Usi29AolzuDhK9eM4xhtKUkqcs6INOczTJVJEwuaSuXq+b2ijrQxV/jUkzqSycV3NhGbF/uGvaSit6XirrknBSZpjxg3sCoOLl62LeB+LtxTYCvrNtK0AP5FrZOtmRZ2AA4QLSVH4An7HMjcxiGtBUkATGCIPSGPJb0JmqjO+v0=; 5:5xeYPSq1FQV/AjmIz6506iDRlwm3LzxQcrSZQtfA9ZxC21qh9ehTJa6pxDqGSFEB1/mWs6MhoGlfe4BZXYyKwxcL9EUk7Puj+U4Fasj4SKkpP5Ev2cYvYEXaL/9a/+X3j6UD3/IEcwdk5qkJhB2OkN0jHksYhmV/Lc2bsr2p9fo=; 24:VfRn0Z0T2i7dftC80kJkcIeg3BFMl/fLj9aX5u8sn8TJBQtb+gI+SOdCXLXN9zQEsEoMeFirMivhp8tD48PnRSfl1MMIlvnHF9jQCPNZjwU=; 7:CDYdQ8kYemBl7jA4xeejzr2MTnxuv8MEKEDa1x+tnJKqKBtCZTeyWQBEzXE5KP7qWoJHwHNZLY4bWkCa0xfYdiwNXeeMor0EIdoJZlrt5mtpc/Opd91QyYzcx/Ef6Ai8Iva0RsACcyzJpdOR84DU6Ie+jRlyWvMhCrdC5uJOYbfzGVWINMhgMHjeMYX8MEm3eykDkaxoQqSlg0Ohyf2K44YJn7xZp4/meo4wRLy70/BbH3GgRqo2axBQ4te9Iy5A
x-ms-exchange-antispam-srfa-diagnostics: SSOS;
x-ms-office365-filtering-correlation-id: 13603f2f-821d-47f8-8764-08d538a59013
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(4534020)(4602075)(4627115)(201703031133081)(201702281549075)(5600026)(4604075)(2017052603286)(49563074); SRVR:BLUPR06MB1763;
x-ms-traffictypediagnostic: BLUPR06MB1763:
x-microsoft-antispam-prvs: <BLUPR06MB1763A51BDACC6EDAF8FFB9F5A7390@BLUPR06MB1763.namprd06.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(37575265505322);
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(102415395)(6040450)(2401047)(8121501046)(5005006)(10201501046)(3002001)(93006095)(93001095)(3231022)(6055026)(6041248)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123560025)(20161123558100)(20161123564025)(20161123562025)(20161123555025)(6072148)(201708071742011); SRVR:BLUPR06MB1763; BCL:0; PCL:0; RULEID:(100000803101)(100110400095); SRVR:BLUPR06MB1763;
x-forefront-prvs: 05087F0C24
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(346002)(366004)(376002)(39860400002)(377424004)(24454002)(199003)(189002)(25786009)(236005)(3660700001)(2900100001)(3280700002)(83716003)(2906002)(478600001)(5660300001)(57306001)(6306002)(53546010)(606006)(76176011)(53936002)(81166006)(8676002)(81156014)(102836003)(6512007)(6116002)(7736002)(54896002)(82746002)(36756003)(106356001)(33656002)(105586002)(6486002)(6246003)(6436002)(6506006)(86362001)(229853002)(4326008)(101416001)(99936001)(99286004)(14454004)(97736004)(2950100002)(6916009)(77096006)(4001150100001)(316002)(8936002)(50226002)(189998001)(68736007)(230783001)(966005); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR06MB1763; H:BLUPR06MB1764.namprd06.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en;
received-spf: None (protection.outlook.com: netapp.com does not designate permitted sender hosts)
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: multipart/signed; boundary="Apple-Mail=_6D7B7C79-80CB-4BA0-8467-4841783E3A84"; protocol="application/pgp-signature"; micalg="pgp-sha512"
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: 13603f2f-821d-47f8-8764-08d538a59013
X-MS-Exchange-CrossTenant-originalarrivaltime: 01 Dec 2017 10:23:27.9032 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 4b0911a0-929b-4715-944b-c03745165b3a
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR06MB1763
X-OriginatorOrg: netapp.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/ecn-in-quic/G1_hfd8MVbHckvRqqTzrf9zFVWo>
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 10:23:33 -0000

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://quicwg.github.io/base-drafts/draft-ietf-quic-transport.html#rfc.section.8.1>

Lars