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

Magnus Westerlund <magnus.westerlund@ericsson.com> Mon, 18 December 2017 14:16 UTC

Return-Path: <magnus.westerlund@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 53BEC1270A3 for <ecn-in-quic@ietfa.amsl.com>; Mon, 18 Dec 2017 06:16:39 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.32
X-Spam-Level:
X-Spam-Status: No, score=-2.32 tagged_above=-999 required=5 tests=[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=ham autolearn_force=no
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 Muln1e7xp5s7 for <ecn-in-quic@ietfa.amsl.com>; Mon, 18 Dec 2017 06:16:36 -0800 (PST)
Received: from sessmg23.ericsson.net (sessmg23.ericsson.net [193.180.251.45]) (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 5215312708C for <ecn-in-quic@ietf.org>; Mon, 18 Dec 2017 06:16:36 -0800 (PST)
X-AuditID: c1b4fb2d-f179c9c000007932-a3-5a37cdc2e0a8
Received: from ESESSHC007.ericsson.se (Unknown_Domain [153.88.183.39]) by sessmg23.ericsson.net (Symantec Mail Security) with SMTP id B8.3E.31026.2CDC73A5; Mon, 18 Dec 2017 15:16:34 +0100 (CET)
Received: from [147.214.162.81] (153.88.183.153) by smtps.internal.ericsson.com (153.88.183.39) with Microsoft SMTP Server (TLS) id 14.3.352.0; Mon, 18 Dec 2017 15:16:08 +0100
To: Ingemar Johansson S <ingemar.s.johansson@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>
References: <DB4PR07MB348DBDA0FC9745E39C15435C2090@DB4PR07MB348.eurprd07.prod.outlook.com>
From: Magnus Westerlund <magnus.westerlund@ericsson.com>
Message-ID: <a4cac890-941c-571c-7317-eafdce3bdf68@ericsson.com>
Date: Mon, 18 Dec 2017 15:19:16 +0100
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0
MIME-Version: 1.0
In-Reply-To: <DB4PR07MB348DBDA0FC9745E39C15435C2090@DB4PR07MB348.eurprd07.prod.outlook.com>
Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg="sha-256"; boundary="------------ms050606060003050209040106"
X-Originating-IP: [153.88.183.153]
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrMIsWRmVeSWpSXmKPExsUyM2K7uu6hs+ZRBtsP8Fs0tq9it/h5byer xaSjC1kcmD0WbCr1WLLkJ1MAUxSXTUpqTmZZapG+XQJXxqlJ7SwF+y8yVjRP3sDWwDhxA2MX IyeHhICJxL83B4FsLg4hgcOMEqfvvWUBSQgJbGaUWHORHcQWFnCUeHd2IVARB4eIQLbExNlM IGFmgXCJlR8vs0KUR0k83rgFrJxNwELi5o9GNhCbV8BeYsf/3WA1LAKqEg1b54HViArESBzu mc4KUSMocXLmE7C1nALREnO2fgW7h1mgm1Fi15GvbBALtCUamjpYIY5Wkrg+7zrLBEaBWUj6 ZyHrmQV2YJjEp+a7ULa4RNOXlawQtq3Enbm7mSFsbYllC19D2boSi7atYMcUt5aY8esg1BxF iSndD6FqTCVeH/3ICGEbSbzb08i+gJFnFaNocWpxcW66kbFealFmcnFxfp5eXmrJJkZg9B3c 8lt3B+Pq146HGAU4GJV4eNuAUSnEmlhWXJl7iFEFaM6jDasvMEqx5OXnpSqJ8KYWA6V5UxIr q1KL8uOLSnNSiw8xSnOwKInznvTkjRISSE8sSc1OTS1ILYLJMnFwSjUwhmlvFlJIWdl16m7j jHlSbzoPf9m+JI2/d2+nrYRMxp/+thMcDJwHLkn0nejxXbz8jdrn5BNH/k1Z923B3AjnuqBZ L9vi16Rb/T49caWHU+DhbdL9LqEPs1akvxZmvO22Q2Rj9y6nDQXl/9XZbUT011rdiBQuvLVA /M1WhT1cD21ur3qd8/j3LSWW4oxEQy3mouJEAOxA39DGAgAA
Archived-At: <https://mailarchive.ietf.org/arch/msg/ecn-in-quic/q0gtz5kiC--YJWL_9OJf35WZ-wo>
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 14:16:39 -0000

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

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.

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.

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?

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?

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.

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

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.

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.


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