RE: Quick review of ECN for QUIC: draft-johansson-quic-ecn-03

Ingemar Johansson S <ingemar.s.johansson@ericsson.com> Tue, 04 July 2017 13:13 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 B5A5C129B64 for <quic@ietfa.amsl.com>; Tue, 4 Jul 2017 06:13:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.21
X-Spam-Level:
X-Spam-Status: No, score=-4.21 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, 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 Fzq89F9PpNrT for <quic@ietfa.amsl.com>; Tue, 4 Jul 2017 06:13:51 -0700 (PDT)
Received: from sesbmg22.ericsson.net (sesbmg22.ericsson.net [193.180.251.48]) (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 248FB129B29 for <quic@ietf.org>; Tue, 4 Jul 2017 06:13:50 -0700 (PDT)
X-AuditID: c1b4fb30-703ff70000001664-a9-595b948d6faf
Received: from ESESSHC015.ericsson.se (Unknown_Domain [153.88.183.63]) by sesbmg22.ericsson.net (Symantec Mail Security) with SMTP id 60.83.05732.D849B595; Tue, 4 Jul 2017 15:13:49 +0200 (CEST)
Received: from EUR03-DB5-obe.outbound.protection.outlook.com (153.88.183.145) by oa.msg.ericsson.com (153.88.183.63) with Microsoft SMTP Server (TLS) id 14.3.352.0; Tue, 4 Jul 2017 15:13:48 +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=U5hu4J1gf/pmN7YYSAjACGNygN5WEe09YHCqHz9cS4w=; b=I7E77BLrNTWhMUJmQtHQbv7qd12QA4de5uCAfNv7gFSVLRgjmEFezpPkUIR2RLthK3FAIt8BIv67FzHMXu2YexV2Nv6xU5Df4oR7zo2useBd8Lk2dAcyqmn/FX0hs/JvoVizjy8BVZjKk2BOa2w/j83P9dz78/+1nZj1FUiGpRU=
Received: from DB4PR07MB348.eurprd07.prod.outlook.com (10.141.234.148) by DB4PR07MB0639.eurprd07.prod.outlook.com (10.141.43.154) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1240.6; Tue, 4 Jul 2017 13:13:47 +0000
Received: from DB4PR07MB348.eurprd07.prod.outlook.com ([fe80::4ce9:7bec:5be9:91b5]) by DB4PR07MB348.eurprd07.prod.outlook.com ([fe80::4ce9:7bec:5be9:91b5%18]) with mapi id 15.01.1240.010; Tue, 4 Jul 2017 13:13:47 +0000
From: Ingemar Johansson S <ingemar.s.johansson@ericsson.com>
To: Bob Briscoe <ietf@bobbriscoe.net>
CC: QUIC IETF mailing list <quic@ietf.org>, Ingemar Johansson S <ingemar.s.johansson@ericsson.com>
Subject: RE: Quick review of ECN for QUIC: draft-johansson-quic-ecn-03
Thread-Topic: Quick review of ECN for QUIC: draft-johansson-quic-ecn-03
Thread-Index: AQHS7gsvdP/sazXU60Kiru14WhrlQ6JDZ3mw
Date: Tue, 04 Jul 2017 13:13:46 +0000
Message-ID: <DB4PR07MB348EFBE3B5A9F023AAAD12BC2D70@DB4PR07MB348.eurprd07.prod.outlook.com>
References: <0062c1c4-254c-651f-c091-7f85fc1a28fa@bobbriscoe.net>
In-Reply-To: <0062c1c4-254c-651f-c091-7f85fc1a28fa@bobbriscoe.net>
Accept-Language: sv-SE, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: bobbriscoe.net; dkim=none (message not signed) header.d=none;bobbriscoe.net; dmarc=none action=none header.from=ericsson.com;
x-originating-ip: [192.176.1.90]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; DB4PR07MB0639; 7:ROCIv313LLYukoJeta5Tm4eyWhRQbUvqfDiw7XRkpmDr+aRt2M9Cluxj1SebntkVmrzHoevdVpjfxKz+QvfMnGGkR00NazUIC4mCsTMpNfRaiNInc6017jDmth4xCG9S4u+aFUsSkwv9WmbdeDuYeMa4z45hk/qRvkEikSQYU2UqzCQFYJe+VFZg44+xaqVmcvP9TNh3tpb0HdvF6cO6tsz62e+AkOl0gdqYGdSYCcuJbx4ivTghqel7DJPl+Oiia/c59bqrXUIVtowkVQ+yfC2cNBg7kKL2Afejy4kxedmeHUTsv4W1MM+HYB6Da5MYbIWq2yXl0MsBupjTUng8LY8o+c9EMHuGm51zu2xOSeeUDgsZEa819IMNGEnHBE6rZDamgnJhN65ZnRirOFgYRcFbD2Y/NKecAhFPYSOK5KbOeGE/lnV94zVfvfnUHoOG65Jp/PjwWvimi3iWQSJylKM44d08fUMzSVcUeLPwhKHNXk5du/eR5u2OkadABA971lcyBIOMZaGEpa5UDIEAraoYI2CtVyMwWddc5r9JR5PiZF1XGhfJ140YW3qHvcSCD3LQT46Y/r7xd3oaQktdM6KFGHaom2JkMelPX1TILsi3s52d05TKt4cU3sw+KhS3vFJrq2wveTlIEcdmTN9INe55bZfyWlqBrAQPxzZy+5QAM7Nc99Soz3KlXibJtRn4kC3YzjhfZVOP5UyOYaLtG2vOlN+6MjpFPZ6s5Y7SXBCfl8vI+q2zDtX3L0lC5zVT18KFPuXXiY13GunnP502eyoWwuH/DomH8AB4GycvXRc=
x-forefront-antispam-report: SFV:SKI; SCL:-1SFV:NSPM; SFS:(10009020)(39400400002)(39410400002)(39860400002)(39850400002)(39840400002)(39450400003)(51914003)(24454002)(76176999)(50986999)(54356999)(9326002)(3280700002)(6506006)(53546010)(5660300001)(6436002)(2900100001)(2906002)(6916009)(2950100002)(7696004)(4326008)(230783001)(5250100002)(86362001)(66066001)(229853002)(74316002)(966005)(81166006)(8936002)(6116002)(8676002)(790700001)(102836003)(14454004)(6246003)(3846002)(107886003)(53376002)(606006)(33656002)(110136004)(38730400002)(478600001)(99286003)(55016002)(25786009)(54906002)(3660700001)(7736002)(6306002)(54896002)(53936002)(189998001)(236005)(9686003); DIR:OUT; SFP:1101; SCL:1; SRVR:DB4PR07MB0639; H:DB4PR07MB348.eurprd07.prod.outlook.com; FPR:; SPF:None; MLV:sfv; LANG:en;
x-ms-office365-filtering-correlation-id: 04ab5468-3208-4c29-0125-08d4c2de8119
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(2017030254075)(300000503095)(300135400095)(2017052603031)(201703131423075)(201703031133081)(201702281549075)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:DB4PR07MB0639;
x-ms-traffictypediagnostic: DB4PR07MB0639:
x-microsoft-antispam-prvs: <DB4PR07MB06399775191E760252DAFE7DC2D70@DB4PR07MB0639.eurprd07.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(151999592597050)(37575265505322)(133145235818549)(26388249023172)(236129657087228)(48057245064654)(148574349560750)(21748063052155)(167848164394848)(247924648384137);
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(8121501046)(5005006)(93006095)(93001095)(3002001)(10201501046)(100000703101)(100105400095)(6041248)(20161123564025)(20161123560025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123558100)(20161123562025)(20161123555025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:DB4PR07MB0639; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:DB4PR07MB0639;
x-forefront-prvs: 0358535363
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: multipart/alternative; boundary="_000_DB4PR07MB348EFBE3B5A9F023AAAD12BC2D70DB4PR07MB348eurprd_"
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Jul 2017 13:13:46.8322 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 92e84ceb-fbfd-47ab-be52-080c6b87953f
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB4PR07MB0639
X-OriginatorOrg: ericsson.com
X-Brightmail-Tracker: H4sIAAAAAAAAA02Se0iTURTAud9jfluNrnPmwZR0KJjga/iH1CiVLCECwQidf+TMz0fqlM1E i0gRS3yAxoJciUONmFDaMhJLpaHZzBcTMQSbtpGaCb5tvmjbt8D/fuec3733nMNlSJGe9mVy lcWsSqnIl/AEVFPKh0th9Zq01Mh1i2/M0IKOjqnTnYglEn9bJunE9nY7kUTIBbJMNj+3hFVF XEwX5IyWP6OLxg9RqXXhOVWO/u6gGsRnAEdDxccuBwsYER5E0PdI7w6GEVSv2VwWhetJKK+h uMJTAvr2DO5gHsHU0abL4mEZ6I27DmYYMQ4G/eMgJ5I4EzTL952GF74CY0MbLluMr0LlrI3m WArVfS89uLeCwD6zRDhZiOVgGP9KOlmE42Cz285zXsnH8TDQXORMI+wPlt0flJNJ7AOzthaC GwxD+6cJkmNvWLYe0c6OEW5yDDnwxtUl4ACon5Jzjj+YW2pdswOe58FE3wbNBXU82LGvUZx1 HQbmtARX+EnAYM8+jyuEws7rLreUB8vTw25pEkHbl2b3vUYaDHtW9wk/GH3fSDagUO2x3jku hKGJCqR1rcATTE02Suva5Dno7I3glEDQ1C54cBwCVS+aPY7ndcijA3mrWXVGQbZUGs6qcm+r 1YXKcCVbbECOD/S5ez+yBy0vxhkRZpDkpPDbw7RUEa0oUZcVGBEwpEQsbK51pISZirJ7rKrw lupuPqs2ojMMJfERxvVPpohwtqKYzWPZIlb1v0owfN9yJI38LhuoClFMF1tvZowEHs69C/BK 77dcjuLdCbaYk8bObg2KYjW9B69kWTULgVvtKyOm2KyoaHnCfIO4NestX3yzNaHR09SZLC39 NSvXeKWuXtMfLLUYeNuL609SH/jLVzu2deFt5zvJ02ZF5UpyWH/8BZvJ/OfUHhvgd2NmRUKp cxRRoaRKrfgHss7tGTwDAAA=
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic/rHQahJe2RKYQlUfZ1NVenkOPDrE>
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: Tue, 04 Jul 2017 13:13:55 -0000

Hi
Thanks for the review , comments inline

/Ingemar

From: Bob Briscoe [mailto:ietf@bobbriscoe.net]
Sent: den 26 juni 2017 01:31
To: Ingemar Johansson S <ingemar.s.johansson@ericsson.com>
Cc: QUIC IETF mailing list <quic@ietf.org>
Subject: Quick review of ECN for QUIC: draft-johansson-quic-ecn-03

Ingemar,

As just promised (on tcpm - pasted below) here's a rushed write-up of the high order bits of my review of your draft-johansson-quic-ecn-03.
This is purely a list of my immediate reactions to sentences in the draft. I will need longer to think about the protocol as a whole, whether this is the best approach, whether there might be a better approach, and the open issues you list.

2.1
It would be useful to first describe how the protocol would work across a network without Byzantine middlebox behaviour and without hobbled operating systems that cannot access the ECN field of IP packets. Then separately describe fall-back in the face of various ECN failures separately.
[IJ] OK


Preferably, let's try to think of a way to support ECN on the very first QUIC connection setup datagrams (see comments pasted below about copying the techniques in draft-bagnulo-tcpm-generalized-ecn, which depends on draft-ietf-tcpm-accurate-ecn for this capability).
[IJ] Yes, that can be a good idea. The original intention was to be conservative and avoid that ECN negotiation in QUIC “black-holes” the connection setup. But given the discussion around draft-bagnulo-tcpm-generalized-ecn it is quite possible that one can do ECN negotiation already at setup.


In a similar vein, you might want to look at (and even cite) RFC7860 for requirements about ECN feedback (it was specifically about TCP, but there is stuff there relevant to QUIC too).
[IJ] Hmm, do you mean some other RFC ?


2.1.1
The argument for sending an ECN negotiation frame in a packet on its own only only makes sense if loss is more likely for packets with a non-zero IP-ECN field. Therefore, this should not necessarily be a long-term requirement on the protocol.
[IJ] Agree, wrote up presentation slides for the QUIC interim (did not get air time then to present it). One question was actually if one should move ECN negotiation to the QUIC connection setup.

Why always use CE to test traversal of the IP-ECN field? Setting the ECT codepoint that will be used throughout the connection also tests for zeroing the ECN field, without risking losing visibility of a CE marking introduced in the network.
[IJ] Admit, that I selected CE for lack of better knowledge, ECT(0) or ECT(1) (depending on ECN experimental use) may be better.


Define "a failed challenge/response phase". Can't it fail for a half-connection, not necessarily for the whole connection?
[IJ] In some cases a challenge reponse can fail for one half-connection, still it should be possible to  use ECN in one data direction. This needs some extra consideration and clarification.


2.1.2
The mode mechanism of RFC6679 needs to be described, not just referenced. Note that draft-ietf-tsvwg-ecn-experimentation intends to update RFC6679 in this respect (removing the use of the ECN nonce).
[IJ] Yes, added this without thinking, more work is needed.


2.3
Nit: You assign the names E1 and E2 for the fields for the length of each encoding of ECT(0) and ECT(1). It would be less illogical if they were called E0 and E1.
[IJ] Yes, you are right :-), will correct this.

The feedback gives the number of marked bytes. It needs to specify which headers are (not) included in the byte count. And if a datagram with zero bytes is ECN-marked, how do you propose to feed that back (in AccECN it feeds back marked packets and marked bytes)?
[IJ] Yes, this is not clear, the same ambiguity is also in draft-ietf-quic-recovery-04 as sent_bytes is not explained.



It says 1 octet overhead if ECN is not supported. Can't the ends send no ECN feedback at all if they have disabled ECN during the challenge response?
[IJ] Yes it is a possibility to include the ECN byte count even if ECN is not supported as the format is self-contained, this should be clarified.


2.4
It suggests using a given pattern to detect the need for fall-back. That's a good idea. I think any particular connection should only need to include two IP-ECN codepoints in the pattern: the relevant ECT codepoint and CE.

You might also want to look at this expired I-D: draft-moncaster-tcpm-rcv-cheat which uses CE randomly to verify that the receiver feedback is not cheating. You might be able to integrate that into the path traversal testing, although I accept that a deterministic pattern allows the remote peer to detect problems, whereas a random one doesn't.

It suggests a generic ECN fall-back draft. It is hard to describe fall-back independent of any specific protocol.
[IJ] Thanks, this section needs more work.


2.6
Nit: s/remark/re-mark/ because remark means something different.
[IJ] OK



A couple of months ago, we were discussing using timestamps on feedback, so that fewer ACKs could be sent without losing timing info. Are you planning to include that idea in this draft?
[IJ] Support for detailed timstamps is already available in the QUIC protocol ACKs


That's it for now.



Bob


-------- Forwarded Message --------
Subject:

Re: Re : Working group acceptance call draft-bagnulo-tcpm-generalized-ecn-04

Date:

Sun, 25 Jun 2017 23:17:42 +0100

From:

Bob Briscoe <ietf@bobbriscoe.net><mailto:ietf@bobbriscoe.net>

To:

Ingemar Johansson S <ingemar.s.johansson@ericsson.com><mailto:ingemar.s.johansson@ericsson.com>, tcpm@ietf.org<mailto:tcpm@ietf.org> <tcpm@ietf.org><mailto:tcpm@ietf.org>

CC:

tcpm-chairs@ietf.org<mailto:tcpm-chairs@ietf.org> <tcpm-chairs@ietf.org><mailto:tcpm-chairs@ietf.org>, marcelo bagnulo braun <marcelo@it.uc3m.es><mailto:marcelo@it.uc3m.es>



Ingemar,



The draft already says this work shoul be transferable to SCTP. I might

also add a note that it could also benefit QUIC, altho I'd like to see

some detail before presuming this will work.



Coincidentally, I just read your ECN in QUIC draft yesterday. And, also

coincidentally, one of my main comments was going to be that it seems

disappointing that it only "sends an ECN negotiation frame when

connection setup is completed." Retransmission timeouts have to be

conservative during connection set-up whatever the protocol. So the

background level of congestion loss will then lead to unnecessarily

protracted intermittent delays, which will particularly hit short QUIC

flows. So I was going to suggest that you might be able to protect QUIC

connection setup from random congestion loss by an approach similar to

ECN++.





I cannot guarantee that I will have time to write up the other comments

from my review in time for you to use it before the IETF deadline (I am

about to take a week off, returning on 3 Jul). But I will try to do a

quick summary for the QUIC list now.







Bob



On 25/06/17 19:03, Ingemar Johansson S wrote:

> Hi

>

> I support this work.

> In addition, parts of the findings and recommendations in this TCP generalized ECN work may also be useful for the specification of the ECN support in QUIC, currently outlined in (https://tools.ietf.org/id/draft-johansson-quic-ecn-03.txt ).

>

> Regards

> Ingemar Johansson

>



--

________________________________________________________________

Bob Briscoe                               http://bobbriscoe.net/