RE: Packet number spaces in multipath (was Re: What to do about multipath in QUIC)

Markus.Amend@telekom.de Wed, 02 December 2020 07:52 UTC

Return-Path: <Markus.Amend@telekom.de>
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 10F2A3A0D1E for <quic@ietfa.amsl.com>; Tue, 1 Dec 2020 23:52:51 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.117
X-Spam-Level:
X-Spam-Status: No, score=-2.117 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=telekom.de
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 BxoSOoLIUoW8 for <quic@ietfa.amsl.com>; Tue, 1 Dec 2020 23:52:47 -0800 (PST)
Received: from mailout41.telekom.de (mailout41.telekom.de [194.25.225.151]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B492F3A0B77 for <quic@ietf.org>; Tue, 1 Dec 2020 23:52:43 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telekom.de; i=@telekom.de; q=dns/txt; s=dtag1; t=1606895564; x=1638431564; h=from:to:cc:subject:date:message-id:references: in-reply-to:mime-version; bh=/0cQUyynoNb1KCYLue6iqN4bPiwEnB2E5SpHdMqFhH4=; b=rIwGHSLIlb9n+mctv/45fdBdsSHWhTBRZSPyO1Wmss/iB2nqNxl+gOzK EAItDSCiJ080wVimg71AzWTvsiE2FKNwgaNV0Lu/oADF1/Hl8Pinx7Lst YSLxGhQBBXLCkPAQKEdHW+8ssH8eS7nvEpFKghVAIVk5QjijEhVp+xT4+ Vi/FQw60DgBHBlIfhw1iJMSXuZfTYrmgI+ZJTWLigC+k4G0GrrESwphoD i/X6BE7UYUz1VeKDcUBSCpFclBjw6N86r4WUjLQ/sHDGA4fe4IQV0ePJK Fxc2Efat4YF52CevpUAM7f2OHMsQF00JcpWr7KXG9+LFFB9cX9ULIRhfx A==;
IronPort-SDR: 3zDAgbljHHbEPL3MgoUAMzgk1ZDaqDzGN6HE/5dLBtGej4RGj0bw7prhzdj4LUsoCJZVhaskji WIrzyAlJ8O5A==
Received: from qdefcs.de.t-internal.com ([10.171.254.41]) by MAILOUT41.dmznet.de.t-internal.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 02 Dec 2020 08:52:41 +0100
IronPort-SDR: ghsvuGIqZY5buOUcQBoXWftGCsizb5/NfNKMj6UQkVyVl6Fb5+hkAE6TVSXhYgJdXvs2UaU2aV 4I/ghh8zEBsGZ8qcMtDUcDm4VqRt6kM1k=
X-IronPort-AV: E=Sophos;i="5.78,386,1599516000"; d="scan'208,217";a="244097237"
X-MGA-submission: MDGb+gb1bgwohvzwuI39IHl9LIEteqQxWO2bVTAbrZSWOxEb0x4+XtktI15hllEFKuMw+nCDqNcWm4dnkWKiLdaFmZykJNeHCpjkQvANmUMuaDxEv22Nb1oPvsJOAEePk/ffofCX1lXYGmW/IlSKRyUELWO5oqhYW7XVsehB0xVVHw==
Received: from he105715.emea1.cds.t-internal.com ([10.169.118.51]) by QDEFCV.de.t-internal.com with ESMTP/TLS/ECDHE-RSA-AES128-SHA256; 02 Dec 2020 08:52:41 +0100
Received: from HE105709.EMEA1.cds.t-internal.com (10.169.118.41) by HE105715.emea1.cds.t-internal.com (10.169.118.51) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 2 Dec 2020 08:52:38 +0100
Received: from HE106564.emea1.cds.t-internal.com (10.171.40.16) by HE105709.EMEA1.cds.t-internal.com (10.169.118.41) with Microsoft SMTP Server (TLS) id 15.0.1497.2 via Frontend Transport; Wed, 2 Dec 2020 08:52:38 +0100
Received: from GER01-FRA-obe.outbound.protection.outlook.de (51.4.80.18) by O365mail01.telekom.de (172.30.0.234) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 2 Dec 2020 08:52:15 +0100
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YltoONv+FFYPBJEZE5sK9+iCBULl1AdY8dUjzRgxeu9H56VhFbFlSIvroXYfIQ/OX7mOcMjMcHRX1xQ2lCT7Je6AcxbvX6EoWCh7yIMwnsOSlhvCcliEb/BqadxyhPfiVFyDEosQOgTYMWZOdB7CVdDnvBgeyXYzYLAYoAGXBvSz9ovZn3SEZpKN5TvQKkaPOEq3hvNIHWyNFANpt9lxlSCSMp6HyreMGkGtQEE7WvzvMvnCkACfkhzKS2pD6DAkHLCHaej4lHRlFQ/FruexLbQFNXusROJ8CJU/DjYzwz53a/nbsIgMNQflrQxyHBasJ93ebJ24l69AN03VMxhuew==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=/0cQUyynoNb1KCYLue6iqN4bPiwEnB2E5SpHdMqFhH4=; b=hJpkONoWNhd5umbWwZ5kTmFEQysbz8hwxS0GOL0DpP+zvEG0jYKYEBiN1HC2qaY8KaI5+7VtQVoiPE06/FpvtVu4ci9eB49yER5BYxO+yu53tGe9JpnkNJnIr39IDmZogMo1Smb/St+c9PqMtdonoRX1AoE7QtQLFQor/p1QP+hXvTd7oWJ8Vf75dawcY6ISYQqHThf9Ql5CxumRKnoUTG3cktEjwddk3nM375dccDpG2AzPFRw9p2CPv+SGFpYFeyXJMhR8q5qEfEQuIzo4NwHN9Sgg5BA9u1OmFNR/qgFKIoeta73Fkij/qPjxKPlwIfImiqzTFn9JuG8uJJwHlg==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=telekom.de; dmarc=pass action=none header.from=telekom.de; dkim=pass header.d=telekom.de; arc=none
Received: from LEJPR01MB0635.DEUPRD01.PROD.OUTLOOK.DE (2a01:4180:c012:b::12) by LEJPR01MB0170.DEUPRD01.PROD.OUTLOOK.DE (2a01:4180:c012:8::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3632.15; Wed, 2 Dec 2020 07:52:19 +0000
Received: from LEJPR01MB0635.DEUPRD01.PROD.OUTLOOK.DE ([fe80::cd90:d2c4:eccf:600a]) by LEJPR01MB0635.DEUPRD01.PROD.OUTLOOK.DE ([fe80::cd90:d2c4:eccf:600a%5]) with mapi id 15.20.3632.016; Wed, 2 Dec 2020 07:52:19 +0000
From: Markus.Amend@telekom.de
To: fenix@fb.com, mikkelfj@gmail.com, jri.ietf@gmail.com, huitema@huitema.net
CC: quic@ietf.org, kazuhooku@gmail.com, Dirk.von-Hugo@telekom.de
Subject: RE: Packet number spaces in multipath (was Re: What to do about multipath in QUIC)
Thread-Topic: Packet number spaces in multipath (was Re: What to do about multipath in QUIC)
Thread-Index: AQHWwtwnQ4H66ua6O0G4It7kekk3ZKnaQ0eggABxG4CAAO9yQIAACCsAgAAFX4CABtsYgIAA4SUw
Date: Wed, 02 Dec 2020 07:52:19 +0000
Message-ID: <LEJPR01MB06350AFD1A362F98774844FCFAF30@LEJPR01MB0635.DEUPRD01.PROD.OUTLOOK.DE>
References: <538215d1-3b9e-4784-920d-03be4c3a503a.miaoji.lym@alibaba-inc.com> <CAHgerOGGyAkE=TbCSuTO=T6HK9EM_+m+ASwPRm=o33HBrx7p3Q@mail.gmail.com> <CANatvzz_KSBws_upnx00P7JK=MbgyDRrR5n2VJcr1_=y=P6dfQ@mail.gmail.com> <062fe812-8afb-d946-8336-1f4dc5ebeaaf@uclouvain.be> <7540ef46-9948-c76c-3617-5755be3cdf37@huitema.net> <CANatvzymE+XRXUMBH2quGi=VEUNXDR_Eoer+o6p9+nkD-KFisQ@mail.gmail.com> <3bb7f359-ebe5-7a54-0224-bb1f5f1754af@huitema.net> <CANatvzxyj3nXP+GrnMkexWV-VN7Og4EGXysq1o0W2e2JGWzDrw@mail.gmail.com> <651e0ae1-0a5e-89e9-55c0-c33439599da6@huitema.net> <CANatvzw4Yg9aX2qyaGfc9sS=oEFOHxp-ZLSLF0EYNa8t6uN-iA@mail.gmail.com> <4b96dbb8-e72c-7f99-0bb3-9ee27b7bda78@huitema.net> <CANatvzz_H205MPP67Vnuqp0mwhM0TUbHvA5CfVGeoivCLcUdgw@mail.gmail.com> <850c5bdd-948e-269a-1488-77a77843d5e6@huitema.net> <CACpbDccY3f2wMd5vFzK=NC=Me=EhgmFWMDS7TTBZFtG2bm=JSg@mail.gmail.com> <LEJPR01MB0635984DC5E548E2D7859A4EFAF90@LEJPR01MB0635.DEUPRD01.PROD.OUTLOOK.DE> <2c6150d9-968c-8c8b-af45-505e9529c910@huitema.net> <LEJPR01MB063529B45C6A1CFFCC8B2BB3FAF80@LEJPR01MB0635.DEUPRD01.PROD.OUTLOOK.DE> <CAN1APddO1SpBn_NOwXGyxNCoengcVio77McWLJLtaceG9n18Cw@mail.gmail.com> <CAN1APdcoGoGweq4rPaYvGuWLXziVgphVsmj36uNZY71ZPfRB-A@mail.gmail.com> <B5CED94D-E324-4377-906A-0E8A06ACE864@fb.com>
In-Reply-To: <B5CED94D-E324-4377-906A-0E8A06ACE864@fb.com>
Accept-Language: de-DE, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: fb.com; dkim=none (message not signed) header.d=none;fb.com; dmarc=none action=none header.from=telekom.de;
x-originating-ip: [212.201.104.11]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: f9f3e69e-7396-43a9-5fed-08d896973223
x-ms-traffictypediagnostic: LEJPR01MB0170:
x-ms-exchange-transport-forked: True
x-microsoft-antispam-prvs: <LEJPR01MB01701E1EC3FE66FED2C7226CFAF30@LEJPR01MB0170.DEUPRD01.PROD.OUTLOOK.DE>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: IgGBllDzEOcJ7WpiC5qa/Xf2TmlRFbzbSpdtcvjo/J6YKc5uNT8hMFevTWcz+X9eJdCgwH5vzn+YXPcO8IKzijng+3xt5b2EVCzwkMg6IqMYqHadxC6h6JAypVREjyd00t6x1CtvY7kg0IViDdesmxjAmkm4F6T0igeyxyib7va4eTV6Qk8/sw6W7+suWubo+0luVnd3akWRB+xT2xsaJX7Sa8Jjp8eSUcTob8eQUshNrg/mitqyvW/E9KBG4iBcB9LnjmsyBlSaUI3BKMKwtg6JpL/KaK+gMhKT2JgsMAZkVR+A3nSY4UlqPM+1n/qTBPy1qKjhzEVdJp8TSRzYjIuiwGWw+I3iFSqgGH+HBng=
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:LEJPR01MB0635.DEUPRD01.PROD.OUTLOOK.DE; PTR:; CAT:NONE; SFS:(396003)(376002)(136003)(39860400002)(346002)(366004)(33656002)(83380400001)(186003)(4326008)(478600001)(53546011)(966005)(66574015)(26005)(76116006)(64756008)(66556008)(66946007)(66476007)(8936002)(66446008)(54906003)(8676002)(5660300002)(316002)(107886003)(110136005)(2906002)(86362001)(7696005)(71200400001)(9686003)(30864003)(166002)(55016002); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata: 9ajznZtsN1bwzOZTPb9EbxjCeV2ztiuGbEZTHPFnGMWryl2SOFJmRw38AUJaHGxqZfgjNxZqvR8/XJadECuXOkQw+smkE9mkizSQgUGB3Tt7hic02eqgTyv53En8/lMDdT39C7X9P0fWBC/K0x9gz1/i4wz9MvSHsJWN/cG9+Z40ZycG/aenahKmjEdSxxMen4Oe+HSRik4OV0kTbGc5pEkdv/g/Pwb4hYNAbA5HuDygYbNgD9qfkhFRehZovH8YZQ2HzDxpFAWsSVnCzGgG8x7Gzd1sHXG1sge7HqSROiHlfCNGMGvDjZSZSlPoXXjfSohvndTbHZg095rrHwbsezdqiV666SK7yhtpqbt4S1I9sOeuCasHfQ63aVtCjNKIJrV6Ouuy5lGMOAdKZrVbnA0Iko4O0LW6uDmawfH3t9F9/MtR6ktyWFGTk61wa+EteW724SnHg9YHcwjFwR1NCcxxZMgM6qadJt5JCeXBAEZpqCZrY6iSPEnnQIunYJC9bAz9kbKdQ7hJYSTO1S48PR3GLkfLrRxLQVH+mZ+523xtjMHAfq88Fil5GV6K1xWg8B8Ju8VHV64yvrTEHlo546OKl+Cd/aKe/oU/OVyy3szEwCV7Z5/D+XQEm85E+BYYXSrSrL9hs/b/tOjFDQ4zpgqVvX7rkbx+D4yQe/Q5g/2kXpDQRZq3KGL4UWi8yFbgptJkXjnN/TgkNr1L7fICWWcU75xkT0Mi3E0y13ExLVp7dOGpjZGoaBPvE+whnByyC8dYTKabn4RtaElW1QEi4eUITyiZkt16JL903mOiXb7xXPRtos8sRkou4B15YUA3uekFWYirQLJbVWih26kSX2vvZvUucX27HPtlg/eyXYCi4PRZSRXZA1OfbBrthSBawJ7aYqD94jlfNMiQ9WDbOlcrnAy8+OOemXSrl/nVRiT0qukbKPQth8Egsi5gNbRy9mSWLwFxrR3/4LaitkWKyepFkTUWWOy+Q3hHGYHoXng=
Content-Type: multipart/alternative; boundary="_000_LEJPR01MB06350AFD1A362F98774844FCFAF30LEJPR01MB0635DEUP_"
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: LEJPR01MB0635.DEUPRD01.PROD.OUTLOOK.DE
X-MS-Exchange-CrossTenant-Network-Message-Id: f9f3e69e-7396-43a9-5fed-08d896973223
X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Dec 2020 07:52:19.6713 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: bde4dffc-4b60-4cf6-8b04-a5eeb25f5c4f
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: fV4ZMu2aPf+81SN65/iznWDScc+WDaYJdslmfPQd0iUR+X6cZ98L9llq4uBOQKk8njJ39EpL5VmTCtiFl30IOQ==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: LEJPR01MB0170
X-TM-SNTS-SMTP: E1CB5B6BA8DEE6588FBE3D13157054DC62B7C4141864258BB90D46F7F277C0862000:8
X-OriginatorOrg: telekom.de
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic/2kw21birTyVL_IHEbjdzm1X1RCM>
X-BeenThere: quic@ietf.org
X-Mailman-Version: 2.1.29
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: Wed, 02 Dec 2020 07:52:51 -0000

Hi Robert,

I believe, that reliability, partial reliability or no reliability can be easily implemented and I also think that concept is already proven with (PR-)SCTP, which covers exactly those three cases. However, finding well working re-ordering strategies on receiver side then is an additional topic. A simple “wait until arrive” as it is applied for strict reliability purposes or “wait for a fixed time” to cover partial/no reliability or to do nothing is maybe not the best approach. While applications which implements countermeasures against out-of-order delivery probably don’t need support, there might be others which do, because they rely on transport mechanism.

Especially for any QUIC tunneling approaches as discussed in MASQUE, which transports then plenty of services with different demands on in-order delivery, bringing packets (partially) in-order might be essential. Also path migration as part of QUICv1 can cause out-of-order delivery but moreover any future multipath-QUIC will cause an enormous out-of-order rate when latency differences between aggregated paths are given.

Br

Markus


From: Roberto Peon <fenix@fb.com>
Sent: Dienstag, 1. Dezember 2020 18:41
To: Mikkel Fahnøe Jørgensen <mikkelfj@gmail.com>; jri.ietf@gmail.com; huitema@huitema.net; Amend, Markus <Markus.Amend@telekom.de>
Cc: quic@ietf.org; kazuhooku@gmail.com; von Hugo, Dirk <Dirk.von-Hugo@telekom.de>
Subject: Re: Packet number spaces in multipath (was Re: What to do about multipath in QUIC)

Markus—
There are some drafts (IIRC, from Mike Bishop and Victor Lubashev) and other discussions around partial reliability that got shelved while getting people moving forward on QUICv1, so it could get done.
I do still believe that such a model is better overall, because you get basically all of the datagram goodness with all of the potential goodness of streams. *shrug*

“Ordered, but not necessarily in-order” was how we attempted to describe this in the past. I expect this kind of thing will be natively better for things like video or games, especially for multiparty scenarios.
QUIC has again proven, however, that anything can be done so long as you can route *something* (e.g. datagrams) between peers and allow them to insert data in those somethings.

-=R
From: QUIC <quic-bounces@ietf.org<mailto:quic-bounces@ietf.org>> on behalf of Mikkel Fahnøe Jørgensen <mikkelfj@gmail.com<mailto:mikkelfj@gmail.com>>
Date: Friday, November 27, 2020 at 12:59 AM
To: "jri.ietf@gmail.com<mailto:jri.ietf@gmail.com>" <jri.ietf@gmail.com<mailto:jri.ietf@gmail.com>>, "huitema@huitema.net<mailto:huitema@huitema.net>" <huitema@huitema.net<mailto:huitema@huitema.net>>, "markus.amend@telekom.de<mailto:markus.amend@telekom.de>" <markus.amend@telekom.de<mailto:markus.amend@telekom.de>>
Cc: "quic@ietf.org<mailto:quic@ietf.org>" <quic@ietf.org<mailto:quic@ietf.org>>, "kazuhooku@gmail.com<mailto:kazuhooku@gmail.com>" <kazuhooku@gmail.com<mailto:kazuhooku@gmail.com>>, "dirk.von-hugo@telekom.de<mailto:dirk.von-hugo@telekom.de>" <dirk.von-hugo@telekom.de<mailto:dirk.von-hugo@telekom.de>>
Subject: RE: Packet number spaces in multipath (was Re: What to do about multipath in QUIC)

I should perhaps clarify that QUIC does have packet numbers which may or may not be path specific in a multipath scenario. However, QUIC does not associate semantics with the packet numbering scheme with the exception that unacked sufficiently old packet numbers can be considered lost because it is not possible to track history indefinitely, and also because gaps can be introduced to detect false acknowledgments (optimistic ack attack). Specifically a multi-core QUIC engine and an endpoint with multiple hardware offloads, can send packets out of sequence as an optimisation, and later, the network can of course do the same.

Mikkel


On 27 November 2020 at 09.39.46, Mikkel Fahnøe Jørgensen (mikkelfj@gmail.com<mailto:mikkelfj@gmail.com>) wrote:
Hi Markus,

QUIC does not have connection sequencing, unlike TCP, that is one of the key points of QUIC. Only streams carry sequencing.

QUIC Datagram frames do not carry sequencing or even any kind of flow association. That was discussed, but it was found that the application could do that at least as well - with the subtle exception of multiple applications cooperating on the same QUIC connection.

Unreliable streams is something in between where there is stream association and sequence information, but no delivery guarantees, and probably no ordering either but the API could choose to offer that at the end point. Unreliable streams are so far only a concept that has not been fully explored but are expected to be important for video streaming and similar use cases.

So you are right that datagram frames can be harder to reason about on multiple paths, especially if an application makes assumptions based on the received order. For the QUIC engine, the problem of loss detection is the same for all QUIC packets and the problem of ordering within a stream gets more costly due to more reordering, but otherwise remains the same.



Kind Regards,
Mikkel Fahnøe Jørgensen


On 27 November 2020 at 09.20.08, markus.amend@telekom.de<mailto:markus.amend@telekom.de> (markus.amend@telekom.de<mailto:markus.amend@telekom.de>) wrote:
Hi Christian,

OK, good hint. From my understanding that will not change the general issue of out-of-order reception though.
For clarification, does this means, that a QUIC connection with DATAGRAM frames will not carry any sequence space or only one, the connection sequencing? And that using “unreliable” stream frame will provide two sequence spaces, a connection and a stream space?

Have not found anything about “unreliable” streams in the transport draft, is this exactly the same as with DATAGRAM, no HoL at all?

From: Christian Huitema <huitema@huitema.net<mailto:huitema@huitema.net>>
Sent: Donnerstag, 26. November 2020 18:54
To: Amend, Markus <Markus.Amend@telekom.de<mailto:Markus.Amend@telekom.de>>; jri.ietf@gmail.com<mailto:jri.ietf@gmail.com>
Cc: quic@ietf.org<mailto:quic@ietf.org>; von Hugo, Dirk <Dirk.von-Hugo@telekom.de<mailto:Dirk.von-Hugo@telekom.de>>; kazuhooku@gmail.com<mailto:kazuhooku@gmail.com>
Subject: Re: Packet number spaces in multipath (was Re: What to do about multipath in QUIC)


If you want to send unreliable data with sequencing information, it might be simpler to use STREAM frame in "unreliable" mode than to use Datagram frames.
On 11/26/2020 3:34 AM, Markus.Amend@telekom.de<mailto:Markus.Amend@telekom.de> wrote:
Dear all,

sry for hijacking this conversation. I’m not very familiar with the different multipath designs for QUIC, however I want to draw attention to multipath re-ordering which probably becomes important when multipath is combined with DATAGRAM.

As long as multipath QUIC is operated with strict reliability (similar to TCP), re-ordering on receiver side is a simple process known from MPTCP. Introducing unreliable DATAGRAM transmission makes it more challenging on receiver side to maintain the packet order, because it is not easy to differentiate between delayed and lost packets. To avoid HoL, a multipath re-ordering process may benefit from having connection and path sequencing. In https://tools.ietf.org/html/draft-amend-iccrg-multipath-reordering-01 we intend to describe this in section 5.6, how fast packet loss detection can be applied using these different packet sequence spaces. Still the description is meaningless und will be updated until next IETF, however we have successfully implemented this approach in a MP-DCCP prototype, which faces similar challenges in terms of re-ordering. That means, fast packet loss detection is very beneficial for the receiver re-ordering process to not lose time until an outstanding packet is assumed lost.


Br

Markus


From: QUIC <quic-bounces@ietf.org><mailto:quic-bounces@ietf.org> On Behalf Of Jana Iyengar
Sent: Mittwoch, 25. November 2020 04:35
To: Christian Huitema <huitema@huitema.net><mailto:huitema@huitema.net>
Cc: IETF QUIC WG <quic@ietf.org><mailto:quic@ietf.org>; Kazuho Oku <kazuhooku@gmail.com><mailto:kazuhooku@gmail.com>
Subject: Packet number spaces in multipath (was Re: What to do about multipath in QUIC)

(I'm taking Spencer's suggestion to spin off a new thread.)

Christian, Kazuho,

Slowly catching up on this, and apologies if I'm missing anything that was previously discussed in the centi-thread earlier.

If I understand the design correctly, it makes sense to me, and is very close to what we had implemented in Chromium a while ago.

Having thought about this problem several times in the past, I'd like to share a few points that come to mind.

First though, a point on terminology: the receiver maintains a separate "ReceivedPackets" for each CID, probably for each CID sequence number (CSN). Let's please not call this a SACK Dashboard, to avoid confusion.

On the question of sending more than 2^32 packets, I think that resetting the packet number (PN) is ok on new CIDs. I don't see why a sender would need to maintain continuity across multiple paths anyways, since the CC and loss recovery contexts are going to be different across paths. A sender _could_ still maintain these packets in the same "SentPackets" structure if it wants to, it would need an internal representation of CSN+PN to key off.

ACK Frames:
------------------
Kazuho pointed out that when acknowledging, the ACK frame format should include CSN. I agree. I would argue for a design where a receiver uses an ACK frame per CSN (and encodes the CSN explicitly). There are multiple values for doing this, the primary being that you benefit from compression when PNs are contiguous within a CSN.

Return Path:
-----------------
There are other ways to decide which return path to send an ACK on this, but I would propose that a receiver respond on the most recently active forward path. That is, the path on which a packet was most recently received. This has the natural effect that a sender that wants to distribute traffic in a particular way also causes ACKs to be distributed similarly across the corresponding reverse paths.

RTT measurements:
---------------------------
The return path for ACK frames will impact RTT measurements. That is fine. It is more important that information reach the sender as soon as possible than that it should not affect RTT measurements; we can fix the sender to measure and compensate as necessary. The estimated RTT statistics reflect the distribution of samples, and if both paths are being used, then the SmoothedRTT will reflect the expected value based on the traffic distribution across paths.

That said, it might be useful to track some new stats, especially about how much later is a "late ack" -- an ACK frame that contains no useful information -- is received. I'd have to think a bit more about this, but I think we can devise a stat here. This gives us useful information on the longest return path, which we can then explicitly use as part of the PTO computations, to compensate for the fact that the RTT is based on the shortest return path. (I would _not_ use this stat in the time-based loss detection timer,  but PTO ought to be fine.)

- jana

On Tue, Nov 17, 2020 at 9:42 AM Christian Huitema <huitema@huitema.net<mailto:huitema@huitema.net>> wrote:

I have been thinking about variations of that. I think we are making progress here.

If we follow your design, we get two constraints:

1) That the receive maintains an acknowledgement list based on the CID through which the packets are received.

2) That the senders guarantee that the same sequence number will not be used more than once with a specific CID.

The main implementation cost is for receivers. They have to allocate and maintain a "SACK Dashboard" in the context of each CID that they issue.

Senders have lots of control. For example, the "only once" condition is also met if a simple sender uses a single number space, as long as it does not send more than 2^32 packets. That makes the design reasonably easy to implement for constrained implementations.

Zero length CID are still possible, but that means the receiver supports only one PN space per sender. Multipath is not impossible, but you end up managing a single RTT and a single recovery structure. Not very good, but similar to what happens if multipath is implemented at the IP level.

There is still an issue for coordinating the take down of a path. Suppose that a client was using both Wi-Fi and LTE, and moves out of Wi-Fi range. The server will find out eventually that the packets sent to the Wi-Fi path are never acknowledged, but that may take some time. It would be better if the client could send a message saying something like "Abandon this path". That's not the same semantic as "retire this CID". We need a new frame for that.

"Abandon this path" is an extreme case. There are half-way steps, like manage the relative priority of a path.