Re: [Ecn-in-quic] ECN in QUIC, quick review input wanted

Ingemar Johansson S <ingemar.s.johansson@ericsson.com> Mon, 18 December 2017 19:39 UTC

Return-Path: <ingemar.s.johansson@ericsson.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 630F912D860 for <ecn-in-quic@ietfa.amsl.com>; Mon, 18 Dec 2017 11:39:41 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.31
X-Spam-Level:
X-Spam-Status: No, score=-2.31 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, 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, T_KAM_HTML_FONT_INVALID=0.01] autolearn=ham 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 nTjHHc_fDuSA for <ecn-in-quic@ietfa.amsl.com>; Mon, 18 Dec 2017 11:39:38 -0800 (PST)
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 10C3B120454 for <ecn-in-quic@ietf.org>; Mon, 18 Dec 2017 11:39:37 -0800 (PST)
X-AuditID: c1b4fb3a-90dff7000000028c-0e-5a381977a880
Received: from ESESSHC002.ericsson.se (Unknown_Domain [153.88.183.24]) by sessmg22.ericsson.net (Symantec Mail Security) with SMTP id 93.A5.00652.779183A5; Mon, 18 Dec 2017 20:39:36 +0100 (CET)
Received: from EUR01-HE1-obe.outbound.protection.outlook.com (153.88.183.145) by oa.msg.ericsson.com (153.88.183.24) with Microsoft SMTP Server (TLS) id 14.3.352.0; Mon, 18 Dec 2017 20:39:35 +0100
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=zU/nz/xL6MCjSWkzGXcp2Flt1SMU4a+oL5bwiL+8B34=; b=N+kUBIUhhSbPF04eNbcf1h8VRAMLvYTe72flWTh7DbEcLleDEGT+WOxjNOGmET8oU+x9JK9KkBNIarjP+hKCNGS73Qx+ECOb42bBcOpGChpsGZBtpAnHqCFBzZSGfli91fWhMPoRaridrsVOIMbwrzcT3KkP+v+LG7EEapxwl6Q=
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.345.10; Mon, 18 Dec 2017 19:39:33 +0000
Received: from DB4PR07MB348.eurprd07.prod.outlook.com ([fe80::cce3:1dd0:46c6:afb4]) by DB4PR07MB348.eurprd07.prod.outlook.com ([fe80::cce3:1dd0:46c6:afb4%17]) with mapi id 15.20.0323.011; Mon, 18 Dec 2017 19:39:33 +0000
From: Ingemar Johansson S <ingemar.s.johansson@ericsson.com>
To: Magnus Westerlund <magnus.westerlund@ericsson.com>, "ecn-in-quic@ietf.org" <ecn-in-quic@ietf.org>
CC: "Jana Iyengar (jri@google.com)" <jri@google.com>, Ian Swett <ianswett@google.com>
Thread-Topic: [Ecn-in-quic] ECN in QUIC, quick review input wanted
Thread-Index: AdN3PPa/yvr2NyHsRX2EXd9I8ZoH0wAzji0AAAhOMvA=
Date: Mon, 18 Dec 2017 19:39:33 +0000
Message-ID: <DB4PR07MB348EF452B60915233547546C20E0@DB4PR07MB348.eurprd07.prod.outlook.com>
References: <DB4PR07MB348DBDA0FC9745E39C15435C2090@DB4PR07MB348.eurprd07.prod.outlook.com> <a4cac890-941c-571c-7317-eafdce3bdf68@ericsson.com>
In-Reply-To: <a4cac890-941c-571c-7317-eafdce3bdf68@ericsson.com>
Accept-Language: sv-SE, en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator:
x-originating-ip: [83.226.2.151]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; DB4PR07MB345; 6:L759oekZGFb9ImYCDwpQpKmSFgaSZuXDUTgqlwR7F1JqsNMJHVKxT7bEt50ZJvx+7Sw2SymOiQJmNYg0j8b1urnab49ZctUmgoO1GL2Fk0t2MSwxbzWtIr/pEA67EtoyZ0j+5eoU+4ykpVqNLKNad6L50ZWj9uDXja8KCnJLSTzy8YCYP7f9zvl2ZkN4A/osB+jANQO5Ify4GZ3VBQBiaNTZaIxFVkBOlMTu00sT/J6prtZ+bXk6PuAJJOj2uXcRbU0dZr9M3TQVzJqfWMH+bMk1qIsfznUGRa/zdilG/Y3BB/l1PkOVIYNIy77jmODNs7nqD4By3Cjp14hKffpzQ6qgM8ReVZxPS66AzNfd0V0=; 5:vIfEXuuKSo6ptnNe8UZwk1nAnerzajdFNHJb6HzUTSiHkB3FmpfoKIqcYA0xfy0228gG62Vi/Uk+SPuXgFldJ+wWI5voXjhhgGu1+WV/jqRkOhpK6qH8DSV1qqTlA4Y5gFJTCV7QU6OQP+DpIqK1zA/TBLwZ5NcDmRtKdwSQ14o=; 24:LO/m6lYDBKRn3zGvBvSAmpV5O9uIFhI7XptnrJUMWewW8vM2lLexn8uf1iEFX7TeOBFucT+Y5ZpQ+K/YapLGaJ5p/KgjqkTBzhOyM3pAHXM=; 7:gNbuzgWyv00hHf7W73fJk+BAEONR4xtJ09H3dFtO8dkvshooZQZnspEuA/NYrTj8Ej69EUgIl+XGVYY/VYk8TgkzGJzhuoRXkBul04Qo7WO3mL3G5PJJJOkLI7O8T2GlIqMbYmQSF3KeCqWR78Qp2K8isEq0ST9YpeUby8ku6SbUSGvEfKL+T7uqLn9fAfkZAsxdN887C9zAfCM8xj2iMIjNJDwnS/BSulNeT5w9lebGIyi3CqQgJMNajhc1i2Tl
x-ms-exchange-antispam-srfa-diagnostics: SSOS;
x-ms-office365-filtering-correlation-id: 53c2dd75-2a6c-446b-c0b0-08d5464f105c
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(5600026)(4604075)(4534020)(4602075)(4627115)(201703031133081)(201702281549075)(2017052603307)(7153051)(49563074); SRVR:DB4PR07MB345;
x-ms-traffictypediagnostic: DB4PR07MB345:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=ingemar.s.johansson@ericsson.com;
x-microsoft-antispam-prvs: <DB4PR07MB345E84EDADE07E31EEEFA8DC20E0@DB4PR07MB345.eurprd07.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(37575265505322)(166708455590820)(211936372134217)(202460600054446)(153496737603132)(21748063052155)(211171220733660);
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(102415395)(6040450)(2401047)(8121501046)(5005006)(10201501046)(93006095)(93001095)(3231023)(920507027)(3002001)(6041248)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123560025)(20161123555025)(20161123558100)(20161123562025)(20161123564025)(6072148)(201708071742011); SRVR:DB4PR07MB345; BCL:0; PCL:0; RULEID:(100000803101)(100110400095); SRVR:DB4PR07MB345;
x-forefront-prvs: 0525BB0ADF
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(396003)(366004)(376002)(39860400002)(346002)(189003)(199004)(377424004)(33656002)(6506007)(5660300001)(3660700001)(561944003)(76176011)(229853002)(81156014)(81166006)(4326008)(230783001)(8676002)(2900100001)(7736002)(74316002)(6246003)(7696005)(97736004)(6306002)(966005)(9686003)(54896002)(55016002)(106356001)(236005)(2950100002)(606006)(53546011)(66066001)(86362001)(14454004)(99936001)(105586002)(2501003)(5250100002)(34040400001)(59450400001)(6436002)(99286004)(6116002)(3846002)(102836003)(68736007)(790700001)(110136005)(54906003)(8936002)(25786009)(9326002)(53936002)(3280700002)(316002)(2906002)(478600001)(4001150100001); DIR:OUT; SFP:1101; SCL:1; SRVR:DB4PR07MB345; H:DB4PR07MB348.eurprd07.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A: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/signed; protocol="application/x-pkcs7-signature"; micalg="SHA1"; boundary="----=_NextPart_000_016F_01D37840.4DDE4A10"
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: 53c2dd75-2a6c-446b-c0b0-08d5464f105c
X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Dec 2017 19:39:33.2574 (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: H4sIAAAAAAAAA2WSa0hTYRjHe3fOtqM1eJ2KT16ihoEmXlEcaqkVtD4kfQiMqeTSg5o6ZWeK Rh8UMSWTpimpRZth4rxQOi/5QcOloYlm9cFLNPGGmKZZiK6k2vFdEPTt93/+D//3eR5ehpJu CN2ZDLWW1ahVWTKRI11/tQ/8C47KlUHTvyl5cVmrWG619Avl1SONdAylMHTlKZqarILLAqVj VCqblZHPagLPJDumD+gmRLmGu4IC3UopKkJFW+gOcmAAh0KVpcfGjowUv0LQ19giImIUQXX7 IMULGldSYP2+QxHngQD2p2eERCwgeNheQfFhIhwFRvOuLYxhXHAamF5G82UKx4Nx+4OQZ2cc CyN12wfsgs/C041eRDgCZsxzYp5pfBLWmvuEfIwEK+GtPokvS7EOQc39SJ4dcAzU7lppnhH2 gvldC02ecoO5Zb2ArOYCC+/GRYRdYW3pl5DwcfhUbbCzF7zXVxysD3hIDG09JWJiBEBP1Rf7 jS7B151FAWnqRdC0OE4RwxcWdXsUmSIFvs1W2lMzwGoct6fqEZgaysVEdFPQYvloj/WEpeEK Wof8G/4ZvcHWR+FKBKVvimnekGAnGKtftjFjMxJgeimR9AfBvLlcSNgPmhvXKcKBcPt1G/V/ PRLqfgyJCJ+AmooFMeEwWB/ZRgZ0uBW5cizHZaeFhASwmowUjstRB6hZbRey/buh7p8RL9DQ aqwZYQbJjkhugVwpFaryucJsM/K25Sw+b5tC7rQ6R83KXCRxE+FKqSRVVXiT1eRc0+RlsZwZ eTC0zE0ydlGilOI0lZbNZNlcVvPXFTAO7kUobrCWDV+OlWgTpjY7fDa3nFKoBJMuzTNrPqq+ ZDbs2XzS9Zn9R0umYzqfzEOde2Wnx/qL/GIT1Z87L0Q7r+n93B+7xfsmOHl4T17pvyd12G0X KYZXJtl2y5PkvN5Na0fZSpsx2Dn8/LkbpUqzQhCzmtj3OK521MSITbL60IEIGc2lq4JPURpO 9QetPKtMfwMAAA==
Archived-At: <https://mailarchive.ietf.org/arch/msg/ecn-in-quic/VFtzhEo5pjsLqWiHShKj6SFNgcA>
Subject: Re: [Ecn-in-quic] ECN in QUIC, quick review input wanted
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: Mon, 18 Dec 2017 19:39:41 -0000

Hi

 

Comments on most of the comments, marked [IJ]. 

/Ingemar

 

From: Magnus Westerlund 
Sent: den 18 december 2017 15:19
To: Ingemar Johansson S <ingemar.s.johansson@ericsson.com>;
ecn-in-quic@ietf.org
Cc: Jana Iyengar (jri@google.com) <jri@google.com>; Ian Swett
<ianswett@google.com>
Subject: Re: [Ecn-in-quic] ECN in QUIC, quick review input wanted

 

Hi, 

I have done a review. I did edit in some editorial corrections. My comments
are:

1. Requirement R.5 Editorial

I did change this requirement to what I assumed it meant to say. "must not
be able" didn't make sense in the below.

* R.5 A QUIC implementation may not be able to verify ECN support in the OS
network stack. The capability check should cover this case similar as if the
network does not support ECN (see R6).

[IJ] OK, makes sense.

2. Comment on below note

"[In case duplicates are asked in QUIC: Once peer A receives the ACK frame
it verifies that the number of ECT marked bytes(or packets) is equal to or
greater than the number of transmitted ditto [ED note, "equal to or larger"
in case duplicates are counted]"

This appear to be an issue we need to work through more. Using byte or
packet counter where duplication sneaks in without making clear the level of
duplication creates uncertainties in interpretation. At the same time
suppressing a CE mark in a duplicated packet is also not without issues. The
correct congestion response is knowing the actual number of delivered bytes
and how much was congestion marked. 

[IJ] Based on an earlier discussion on the tracker (see Ian´s comment in
https://github.com/quicwg/base-drafts/issues/805 ) it is possible that this
is not an issue. But it needs to be verified in the transport draft that
this is indeed the case.

3. Clarification of IETF QUIC 1.0 minimal requirements.

## QUIC v1.0 limitation
Subsequent packets (after the 1st) should set the ECN bits to Not-ECT. This
because v1.0 will only verify that the ECN capability exchange and the
ACK+ECN frame operates correctly.  

Should this be clarified, that initial capability exchange and acking with
ECN information is proposed to be MUST be implemented. Where after initial
exchange the setting of ECT is OPTIONAL. If a sender sets the ECN field to
ECT after the initial one the sender MUST implement a congestion response to
ACKs indicating ECN-CE marked packets. It is expected that future QUIC
profiles will define if ECN sender capability is mandated. 

[IJ] Yes, definitely a +1 one on this, unless somebody objects, I can add
this

4. ECN Feedback.

Frankly I don't quite understand why ACK and ECN must be in the same Frame.
Yes, they need to be in the same IP packet, and have corresponding
information coverage to make them useful. But, that I don't see require
combined frames. What am I missing? Is it the case of retransmitting ACK
frames, where one may have multiple ACK Frames from different times in the
same frame alternatively, need to re-encode the corresponding ACK interval
into one new frame? 

[IJ] I leave this as a separate discussion topic.

5. ECN Feedback: 

I think the text should clarify that the ECN fields covers exactly the same
packets that are included in the ACK. Thus these field will normally report
on a relative small number of received packets between each ACK.
Retransmission of an ACK frame requires corresponding ECN information to be
retransmitted to, or is this case simply re-encoded to cover previous non
ackwlodeged ACKs + new received packets that are ACKed?

[IJ] The idea is that the ECT(0),ECT(1) an CE deltas are stored for each
transmitted ECN feedback. If one ECN feedback is indicated as lost, then the
deltas are added to the next transmitted ECN feedback.

6. Editorial inconsistency in ECN Feedback.

"The wire specification below only address the ACK+ECN frame and assumes
bytes marked as report metric."

Then alternative 1 is assumed and counts in packets. 

[IJ] Right, I will correct

7. ECN Feedback alt 3.

"All in all this alternative would mostly encode the ECN block as 3 octects
and sometimes as 4 or 6 octets."

Shouldn't this alternative result in 4 bytes or more. 2 bytes for ECT, 1
byte for the non used ECT codepoint, and 1 byte for CE when nothing is
marked. Then larger ACK blocks results in additional bytes for CE and/or
ECT(Value Used). 

[IJ] Yes, you are right, will correct this

8. Reduction of overhead

Isn't decoupling the ECN reporting from the actual ACK blocks problematic.
Then you don't know over which packets the ECN information maps to. 

[IJ] The rationale is that it is only strictly necessary with a prompt
transmission of ECN feedback when the CE counter increases. It is less
urgent to transmit ECN feedback  if the ECT(0) and ECT(1) counters increase
as these are only there to detect faults like bleaching. The proposal here
is to transmit ECN feedback at least once per RTT if either ECT(0) or ECT(1)
increases. In any case this is just an idea and it is possible that it
complicates the design more that its worth in overhead reduction.

The reasonable method to reduce for this initial phase is that zero values
for the counter corresponding to the ACK block, i.e. only Non-ECT marked
packets received are using regular ACK, not including the ECN frame. 

[IJ] Yes, that is a possibility

 

Cheers

Magnus

 

 

Den 2017-12-17 kl. 14:43, skrev Ingemar Johansson S:

Hi

I hope that we will be able to write up a draft that describes ECN in QUIC
before the Melbourne Interim, but it is getting short on time and the xmas
holiday is soon here.

 

I have now updated the ECN in QUIC wiki, based on my current best
understanding. Koen, Stuart and  Praveen have also worked on the wiki + some
extra input from experiments by Lars, many thanks!

 

Please read at your earliest convenience through the sections

https://github.com/quicwg/base-drafts/wiki/ECN-in-QUIC#ecn-capability-check

 

https://github.com/quicwg/base-drafts/wiki/ECN-in-QUIC#ecn-feedback-wire-for
mat (it is sufficient to just read about alternative 1)

 

https://github.com/quicwg/base-drafts/wiki/ECN-in-QUIC#handling-of-lost-acks

 

and 

 

https://github.com/quicwg/base-drafts/wiki/ECN-in-QUIC#reduction-of-overhead

 

Does this make sense ?

 

/Ingemar

==================================

Ingemar Johansson  M.Sc. 

Master Researcher

 

Ericsson Research

Network Protocols & E2E Performance

Labratoriegränd 11

971 28, Luleå, Sweden

Phone +46-1071 43042

SMS/MMS +46-73 078 3289

ingemar.s.johansson@ericsson.com <mailto:ingemar.s.johansson@ericsson.com> 

www.ericsson.com

 

The world is full of magical things patiently 

    waiting for our wits to grow sharper

               Bertrand Russell
==================================

 






_______________________________________________
Ecn-in-quic mailing list
Ecn-in-quic@ietf.org <mailto:Ecn-in-quic@ietf.org> 
https://www.ietf.org/mailman/listinfo/ecn-in-quic





-- 
 
Magnus Westerlund 
 
----------------------------------------------------------------------
Media Technologies, Ericsson Research
----------------------------------------------------------------------
Ericsson AB                 | Phone  +46 10 7148287
Torshamnsgatan 23           | Mobile +46 73 0949079
SE-164 80 Stockholm, Sweden | mailto: magnus.westerlund@ericsson.com
<mailto:magnus.westerlund@ericsson.com> 
----------------------------------------------------------------------