RE: ECN in QUIC

Ingemar Johansson S <ingemar.s.johansson@ericsson.com> Fri, 26 January 2018 07:44 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 460E712D871 for <quic@ietfa.amsl.com>; Thu, 25 Jan 2018 23:44:21 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.321
X-Spam-Level:
X-Spam-Status: No, score=-4.321 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, 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
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=ericsson.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 Xsa0z7ivyHM1 for <quic@ietfa.amsl.com>; Thu, 25 Jan 2018 23:44:18 -0800 (PST)
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 722A312D860 for <quic@ietf.org>; Thu, 25 Jan 2018 23:44:18 -0800 (PST)
X-AuditID: c1b4fb25-48bff7000000341b-2b-5a6adc50372d
Received: from ESESSHC015.ericsson.se (Unknown_Domain [153.88.183.63]) by sesbmg23.ericsson.net (Symantec Mail Security) with SMTP id E4.EB.13339.05CDA6A5; Fri, 26 Jan 2018 08:44:16 +0100 (CET)
Received: from EUR03-VE1-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; Fri, 26 Jan 2018 08:44:15 +0100
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericsson.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=CSo7z3DYvIG9dV/Zn9vgAf1PqbKgSiQsIjBQDINY9OI=; b=YECdy0beUqPMNA+RhV4pyVEiWUPGgrZzTPW4V5DCRmPVCl+BwcFoizZ7cG9nEauo/fwGzKpblkNhrUXVPKwQxbQf/fXI3UP4wvCCNpoeDrZLvgiVnyUbyLWEl5VquPKIL2Gwi5feoZwru3lw7BfzY0AZnQfW+7WuuTL/uVYLvvE=
Received: from HE1PR0702MB3625.eurprd07.prod.outlook.com (52.133.6.23) by HE1PR0702MB3644.eurprd07.prod.outlook.com (52.133.6.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.464.6; Fri, 26 Jan 2018 07:44:14 +0000
Received: from HE1PR0702MB3625.eurprd07.prod.outlook.com ([fe80::8468:8225:cde3:850c]) by HE1PR0702MB3625.eurprd07.prod.outlook.com ([fe80::8468:8225:cde3:850c%13]) with mapi id 15.20.0444.016; Fri, 26 Jan 2018 07:44:14 +0000
From: Ingemar Johansson S <ingemar.s.johansson@ericsson.com>
To: Christian Huitema <huitema@huitema.net>, "De Schepper, Koen (Nokia - BE/Antwerp)" <koen.de_schepper@nokia-bell-labs.com>, "Lubashev, Igor" <ilubashe@akamai.com>, "Brian Trammell (IETF)" <ietf@trammell.ch>
CC: QUIC WG <quic@ietf.org>, "Bob Briscoe (research@bobbriscoe.net)" <research@bobbriscoe.net>
Subject: RE: ECN in QUIC
Thread-Topic: ECN in QUIC
Thread-Index: AdOU5RXtZ09Jc7GvQAiw71TPDqLU5QATWZUQAAeBn1AAAsI1AAACpr+AAA8DdQAAAO0UgAAGEbDQABrQR4AAE461EA==
Date: Fri, 26 Jan 2018 07:44:13 +0000
Message-ID: <HE1PR0702MB36259484086A6B3F15D5F80AC2E00@HE1PR0702MB3625.eurprd07.prod.outlook.com>
References: <HE1PR0702MB3625F6E2C399F7E6F187C883C2E20@HE1PR0702MB3625.eurprd07.prod.outlook.com> <660743ab697443f4ac5500e649a80285@usma1ex-dag1mb5.msg.corp.akamai.com> <HE1PR0702MB3625648A6943055201D46DCEC2E20@HE1PR0702MB3625.eurprd07.prod.outlook.com> <26dd29d9-ce96-e858-078b-cc867990e8c5@huitema.net> <26b97168c48047018d1dfe6400a36b16@usma1ex-dag1mb5.msg.corp.akamai.com> <A4AE8394-0568-4C56-A4C3-02866E12DA8C@trammell.ch> <a05e899c3b7b45d38e6e4440e5196304@usma1ex-dag1mb5.msg.corp.akamai.com> <VI1PR0701MB212651DA603F0A147895161DB9E10@VI1PR0701MB2126.eurprd07.prod.outlook.com> <3809b20a-a141-f6fc-64de-785593cd9bf1@huitema.net>
In-Reply-To: <3809b20a-a141-f6fc-64de-785593cd9bf1@huitema.net>
Accept-Language: sv-SE, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=ingemar.s.johansson@ericsson.com;
x-originating-ip: [192.176.1.92]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; HE1PR0702MB3644; 7:XVmj0txXnjcWadkbz4dJX/RbeX/lCnqrf98vlQGWeIMQXqehfkNux6qaSMK6dve7JtPPqoN4rpuU+z/L+t0tjHmGZUPEOzOT5t4/qRewgLIFPhZC4tX4QrxGYBkO9Nee4qZPl98IPUwQW1MkfS8RCuhW9Bep/SJ9VgEpHHaw244zcT31KZH/bhF1UIWC8mwMtz896w0YkFbFrMQQeVxnAho3kYlk9hygGoeDzJS+EBq1kpkBTIVwgUQqi0HLXHBD
x-ms-exchange-antispam-srfa-diagnostics: SSOS;
x-ms-office365-filtering-correlation-id: 1e29f41a-6780-4423-b1bf-08d56490988b
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(4534165)(4627221)(201703031133081)(201702281549075)(5600026)(4604075)(3008032)(2017052603307)(7153060)(7193020); SRVR:HE1PR0702MB3644;
x-ms-traffictypediagnostic: HE1PR0702MB3644:
x-microsoft-antispam-prvs: <HE1PR0702MB3644F92558AF1542298CB2F9C2E00@HE1PR0702MB3644.eurprd07.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(37575265505322)(120809045254105)(166708455590820);
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040501)(2401047)(8121501046)(5005006)(3231023)(2400081)(944501161)(3002001)(10201501046)(93006095)(93001095)(6041288)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123562045)(20161123560045)(6072148)(201708071742011); SRVR:HE1PR0702MB3644; BCL:0; PCL:0; RULEID:; SRVR:HE1PR0702MB3644;
x-forefront-prvs: 05641FD966
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(396003)(39380400002)(39860400002)(346002)(376002)(366004)(13464003)(199004)(189003)(86362001)(33656002)(66066001)(102836004)(5660300001)(7116003)(2906002)(316002)(2950100002)(53546011)(6506007)(76176011)(59450400001)(3846002)(6116002)(74316002)(305945005)(7736002)(14454004)(93886005)(478600001)(966005)(97736004)(186003)(26005)(68736007)(99286004)(110136005)(54906003)(81156014)(8676002)(55016002)(3480700004)(8936002)(81166006)(53936002)(9686003)(6306002)(6436002)(229853002)(2900100001)(105586002)(106356001)(25786009)(7696005)(4326008)(3280700002)(3660700001)(6246003)(5250100002); DIR:OUT; SFP:1101; SCL:1; SRVR:HE1PR0702MB3644; H:HE1PR0702MB3625.eurprd07.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en;
received-spf: None (protection.outlook.com: ericsson.com does not designate permitted sender hosts)
x-microsoft-antispam-message-info: O6u+5O7yA9xIS5wecOLUNfX3/+sJ9fKRi1ayRnRUtOvTfXDRraezxsxrZAtHOqo77vUqHbRXjwiNnn959W9DBA==
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: 1e29f41a-6780-4423-b1bf-08d56490988b
X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Jan 2018 07:44:13.8590 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 92e84ceb-fbfd-47ab-be52-080c6b87953f
X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0702MB3644
X-OriginatorOrg: ericsson.com
X-Brightmail-Tracker: H4sIAAAAAAAAA02SbUhTURjHOffe3V2Xq7Ol+WSJNbLUfOvlwwjJ/OTEBC1BG4EuvTjnnLaZ aGHYMDLNcGo2zbdqaQaRiamZZM4QX4rCJHBKZpqyMikxRyXRbndB337P//yf8z/Pw2FIaZvA m8nQ5bJ6nUoro0VUbVJ3RHDctEYZ1mINkldduCGUPyxepuXGorukfGjtDiG/0rxBPltjREdo RdXzZlLxaea1QGEzj1IKi+UHoTCu3aIV8/21VBytFIWnsdqMPFYfejhFpP5sNKEcS2D+RJGd LkLmgFLkxgA+CPdnq+lSJGKkeBBByTcHxRfDCPrrloVcQeEVAswViwTXIsU1BHwdk/C8iGCx XcgxjcOhzepAHHvgCQSV9RqOSZwCJtMkxfFmDNA8VEnwnq2wvHqR4lkDFY6rAo4p7Acll/v/ 6mJn782ldpLPKhHA7T4nM4wbjoDxpihORtgHZhzvKD7KC2zzTQQ/GQZL3yuSZ0+wz/0W8P5U WJksF/D6Dlgf/0Dz7OO8sgzx3EVAb1khzyHwyPTFpceCo+q6gNsJ4FEExqlKV1gQWJ/YKJ6z Yc0+JeT5JMw1XEN8Qz0Ji9PDLtN2sHfZqAoUWvffw+ucs5E4AB70uuSdUF02K6z7uwoJjNTO U82Iuoc8DazhVFb6/gMhrD4j1WDI1oXo2NwO5PxAA52//HrQm6VIK8IMkrmLA7s0SqlAlWco yLIiYEiZh1gS7JTEaaqCs6w+O1l/RssarGgbQ8m8xCPRYqUUp6ty2UyWzWH1/04Jxs27CO3F MT3K9Bf1Af5h6gL/456D0gly9VLmiaTGhF2NvguP1b7PNKdtC9+7pYnrW0bHugYCYuyp+a0W ydvI6E3Cwigfv8Lo2fz4RFPn7vM/y/MbWhVae6wm/qX7xrTijqfn5mzv96gTgtvyFmQfjw4l H6KTSrSS9jWzutXaAlF5xxwyyqBW7Qsk9QbVHy5I37Y8AwAA
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic/eENYCIfE-OMIdq1z4m0NmmrJMoo>
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: Fri, 26 Jan 2018 07:44:21 -0000

Hi

I believe that I start to understand the issue. Still I don't believe that it is any problem with using packet counters. As Koen pointed out it can simplify processing and this was also stated when this question was raised on the tracker (see https://github.com/quicwg/base-drafts/issues/805 ).

Assuming that we tag which packet goes where it will be possible to track how many packets that gone in which direction. Also the ECT/CE counters indicate the count of ECT/CE marked packets when the packet with the highest known sequence number is received. So if we keep separate "congestion control and transmission list" context for the different path then it should work and the correct congestion control will be achieved regardless it is ECT(0) or ECT(1) based congestion control.
It will also be possible to detect ECN bleach along new paths with this. 
  
/Ingemar

> -----Original Message-----
> From: Christian Huitema [mailto:huitema@huitema.net]
> Sent: den 25 januari 2018 23:11
> To: De Schepper, Koen (Nokia - BE/Antwerp) <koen.de_schepper@nokia-
> bell-labs.com>; Lubashev, Igor <ilubashe@akamai.com>; Brian Trammell
> (IETF) <ietf@trammell.ch>
> Cc: Ingemar Johansson S <ingemar.s.johansson@ericsson.com>; QUIC WG
> <quic@ietf.org>; Bob Briscoe (research@bobbriscoe.net)
> <research@bobbriscoe.net>
> Subject: Re: ECN in QUIC
> 
> On 1/25/2018 12:10 AM, De Schepper, Koen (Nokia - BE/Antwerp) wrote:
> 
> > Some questions related to the remark of Christian: "We are heading
> towards a single packet sequence number space shared by multiple paths"
> > What is the rationale behind this?
> > Is the reason for this that there are currently no per path
> states/communications required? (because congestion control is currently
> out of scope, and it is currently the only per path processing required). In
> that case I understand why the current design of QUIC is optimizing itself
> towards application to application state, but we must make sure we don't
> make our live difficult if we have per connection state (when it is needed,
> like congestion control).
> 
> This is related to encryption options for multipath. I explained the design
> choices in https://datatracker.ietf.org/doc/draft-huitema-quic-mpath-req/.
> AEAD encryption requires that sequence numbers do not repeat for a given
> encryption context. For multipath, this requirement can be met by either
> having separate encryption contexts per path, or having a single encryption
> context for all paths and using the same sequence number space for every
> paths. This is also a requirement when multiple paths are used for
> connection migration.
> 
> We had that discussion in Melbourne, and the sense of the room was clearly
> that having separate encryption contexts per paths was too complicated.
> Having a single sequence number space and a single encryption context is
> significantly simpler. There is a privacy issue, linkability via the sequence
> numbers, but that privacy issue can be addressed by encrypting the
> sequence numbers, and we pretty much agreed to do that. Hence my
> statement that "We are heading towards a single packet sequence number
> space shared by multiple paths".
> 
> Of course we still need to maintain per path variables for RTT, PMTU and
> congestion control. As long as we only support migration, that could be
> finessed somewhat by resetting these variables to their initial state at the
> end of the migration. But when we do true multipath, there will be a need to
> associate congestion control signals with paths. If we have a single sequence
> number, the way to do that is to maintain associations between packets and
> path, e.g. having a path tag in the packet copy kept for retransmission
> purposes. That's sufficient for signals like ACK or losses, but it requires that
> ECN signals be tied to specific packets.
> 
> -- Christian Huitema
> 
>