Re: [tsvwg] Re: Robustness to packet reordering
David Schinazi <dschinazi.ietf@gmail.com> Thu, 06 February 2025 23:14 UTC
Return-Path: <dschinazi.ietf@gmail.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 B005FC31A604; Thu, 6 Feb 2025 15:14:43 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.107
X-Spam-Level:
X-Spam-Status: No, score=-2.107 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FaYJzOyliVP2; Thu, 6 Feb 2025 15:14:41 -0800 (PST)
Received: from mail-ej1-x632.google.com (mail-ej1-x632.google.com [IPv6:2a00:1450:4864:20::632]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id DAB00C2FEE1F; Thu, 6 Feb 2025 15:14:41 -0800 (PST)
Received: by mail-ej1-x632.google.com with SMTP id a640c23a62f3a-aaec61d0f65so332771166b.1; Thu, 06 Feb 2025 15:14:41 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1738883680; x=1739488480; darn=ietf.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=U5sL9UQausvfKg474OElL5p8tN8C0fsCs67kcd7Wmw0=; b=lydTONiOwkWYO5+glJEsHT5gv9nejs3y46Ne2f093AKhJ6JiKKDjNKwLe/BfZfew1N QWz7UURo05MA39DfYEy2NaPMcvJFLsPQiYOyTooPG5YLWqjS2Db0Pi0XcjYRdUG5hZo+ 4HElS/BybNGcX9LOUmlD3SWnuQNFOTWYet1JweFLa3PxaZfYGQ9vSOnOCfbXYyv1qcq4 VC8WAdVeQoXnbgKgBLr2+lH5obm5E2lxf2qOH2HKavVLhtjjelhzgbgus5Tt0G73fYm7 t7FgghGzlNYvgcrdtU3iKJGyG3T0FCTF2jzEfPq7lOK7vNxlvqt/Bx4dbDHEOe7gBcAU pNfQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1738883680; x=1739488480; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=U5sL9UQausvfKg474OElL5p8tN8C0fsCs67kcd7Wmw0=; b=m92vEMeyL0y5VlF2Dy4MDFHOD0ZLoYDpnxYuhwSXpyas+glEVVFL9alBFCarWWSh6C Xh5j4KU8E9GSHrWujzTQFFBOhAsir7IpBXZft/SvPy3P49BsHi6WkAwyEI1lqBBE7glX sLjeXNg/fM2A6hYHHuHb7BEXl4OPspSFnTdsbIG34qjn14rO4fqPCUoTBEIrlnqbs81D +Sr4704E6lzcZjrlSzStSNhPq8R2fWHwaNI73mfiJBM5ziNBz5Aybj0Ibg78C8azLplF VaEwtc8oLdYXiXRf4H85MIJxQWFP7C8rXxQkziJjatWyLmZCJ7wWA3gbZV9GBMKYu50B 0olQ==
X-Forwarded-Encrypted: i=1; AJvYcCUzTdKZj338msfVm61VWNBnu1e6G6qPyLZFyLyq/W3DF3LjqLEkrjLDqLjnbbjcBatMnsEE8UI=@ietf.org, AJvYcCVjQdx7v3rJVVZdua7kGfPS99xu/4ghZnilyURK6gIkEhnJKZtzJtEwLLY+i7r4sGf+Nv7Z@ietf.org
X-Gm-Message-State: AOJu0YxT5dcX8GeTtnD7Ekkx7WzNTMHU0WvBvLRIYv5ju8mtjpCqZpmr Gb3kPkPHRcxFEBBQckF892aUjYYdX+xNFBDLnF9LcneGKwkys3PWnRiAKvfm4wsHmAI/O3Q7kl6 p+d5+6aqDPABQii+oHrYqoZLAY5l2uw==
X-Gm-Gg: ASbGncsd4FFxpTC3s2Coy8pKScy1AlL9EgjZ4kBr/FY/IXU4wvk/6AGSlAMFOtWo703 LQGJVfEKHT9IzmIfDfCzsgLNKqlvMdam5EIpl1yRLpxdK9JOcaTyVY2sh1PJgpEXbAiU0JH23Eb c=
X-Google-Smtp-Source: AGHT+IF0erCGnloG50okpMM/Ai76fKf6cU1mRXmAJlcZEAuVJCALx3kk2t/TTc/aoUr4VtithMhnEezCQJP9o8uhl7g=
X-Received: by 2002:a17:907:7fac:b0:ab6:d799:d113 with SMTP id a640c23a62f3a-ab789c0a1aamr86063266b.34.1738883679959; Thu, 06 Feb 2025 15:14:39 -0800 (PST)
MIME-Version: 1.0
References: <AM8PR07MB81375E2D3CA840AEDA0F7E63C2F72@AM8PR07MB8137.eurprd07.prod.outlook.com> <38891fa7-b188-4767-8364-ae0a10c318b2@huitema.net> <AM8PR07MB81370760A8293580DDDB386BC2F62@AM8PR07MB8137.eurprd07.prod.outlook.com> <537f0095-68a3-43d5-a2f0-f91b4499017d@huitema.net> <AM8PR07MB81377C0A967260302A687113C2F62@AM8PR07MB8137.eurprd07.prod.outlook.com> <5C5E0FCB-1725-4775-9421-F4F5F687D051@CableLabs.com> <df289f06-2e00-463c-b9f5-bb67a34d9b43@betaapp.fastmail.com> <23eae943-7744-45e9-9fbc-f1581eaecac2@huitema.net>
In-Reply-To: <23eae943-7744-45e9-9fbc-f1581eaecac2@huitema.net>
From: David Schinazi <dschinazi.ietf@gmail.com>
Date: Thu, 06 Feb 2025 15:14:28 -0800
X-Gm-Features: AWEUYZml3io-g6Oumj22tdMv1elWErqoo4kELoS8cfnPaDxJzy1XS4uE6KmlHOw
Message-ID: <CAPDSy+4avaqjO1LH4beiiaS8ahd55KnEPj=m1uJXi_jDYYVTnA@mail.gmail.com>
Subject: Re: [tsvwg] Re: Robustness to packet reordering
To: Christian Huitema <huitema@huitema.net>
Content-Type: multipart/alternative; boundary="0000000000000cc5b5062d81685f"
Message-ID-Hash: HNEWJ36ET4XNADB2I2NLK5FEEJ5NFIK2
X-Message-ID-Hash: HNEWJ36ET4XNADB2I2NLK5FEEJ5NFIK2
X-MailFrom: dschinazi.ietf@gmail.com
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-quic.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: Martin Thomson <mt@lowentropy.net>, Greg White <g.white=40CableLabs.com@dmarc.ietf.org>, Ingemar Johansson S <ingemar.s.johansson=40ericsson.com@dmarc.ietf.org>, "quic@ietf.org" <quic@ietf.org>, "tsvwg@ietf.org" <tsvwg@ietf.org>
X-Mailman-Version: 3.3.9rc6
Precedence: list
List-Id: Main mailing list of the IETF QUIC working group <quic.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic/gWQ45Q08VqR_-q-C0YUIA3KLQDw>
List-Archive: <https://mailarchive.ietf.org/arch/browse/quic>
List-Help: <mailto:quic-request@ietf.org?subject=help>
List-Owner: <mailto:quic-owner@ietf.org>
List-Post: <mailto:quic@ietf.org>
List-Subscribe: <mailto:quic-join@ietf.org>
List-Unsubscribe: <mailto:quic-leave@ietf.org>
Having the link-layer delay packets to provide them in-order to the transport layer was helpful multiple decades ago when TCP implementations had more naive algorithms and were very resource-constrained. Given how modern implementations work, reordering at the link-layer is almost always harmful. TCP and QUIC stacks can handle reordering well, thanks to both protocol features and implementations having more memory to work with. The delay induced by this reordering will generally cause more harm than good. Furthermore, one of the biggest motivators for QUIC was to break head-of-line blocking and allow out-of-order delivery to the application layer. We have large bodies of data showing that this improves performance. Please disable reordering at the 5G layer. David On Thu, Feb 6, 2025 at 2:15 PM Christian Huitema <huitema@huitema.net> wrote: > > On 2/6/2025 12:55 PM, Martin Thomson wrote: > > > > On Fri, Feb 7, 2025, at 04:59, Greg White wrote: > >> This is an important topic relating to the expectations and > >> requirements that transport protocols place on layer 2 protocols. In > >> layer 2 standards bodies that I've been involved in, it has been > >> understood that "the upper layers" expect in-order delivery, > > As far as QUIC goes, it is sensitive to reordering in the network. Some > reordering will be interpreted as damage (Christian cited the relevant > parts) and performance suffers in a few minor way when things arrive out of > order (ACKs are less efficient, data needs to be held, memory accesses are > less likely to be contiguous, etc...). > > > > However, the idea that the network might seek to "fix" these problems, > when doing so necessarily involves extra work and delays, is not a good > trade. Stuff that is delayed to "fix" a reordering that happened might > delay signals that the QUIC stack could use, even if some data needs to be > held at the endpoint. QUIC packets contain many things, some of which > don't need to be strictly ordered to be useful. > > Applications that are sensitive to delays will break their traffic into > multiple QUIC streams. In case of packet loss, only one of those streams > will be blocked, the others will be delivered without "head of queue > blocking". Implementing L2 correction will make the response worse, not > better, because all the streams will be delayed for the duration of the > L2 correction instead of just one. > > -- Christian Huitema > >
- Robustness to packet reordering Ingemar Johansson S
- Re: Robustness to packet reordering Christian Huitema
- RE: Robustness to packet reordering Ingemar Johansson S
- Re: Robustness to packet reordering Christian Huitema
- RE: Robustness to packet reordering Ingemar Johansson S
- RE: Robustness to packet reordering Floris Bruynooghe
- Re: Robustness to packet reordering Christian Huitema
- Re: Robustness to packet reordering Greg White
- Re: [tsvwg] Re: Robustness to packet reordering Joe Touch
- Re: [tsvwg] Re: Robustness to packet reordering Tom Herbert
- Re: Robustness to packet reordering Martin Thomson
- Re: Robustness to packet reordering Christian Huitema
- Re: [tsvwg] Re: Robustness to packet reordering David Schinazi
- Re: [tsvwg] Re: Robustness to packet reordering Neal Cardwell
- Re: [tsvwg] Re: Robustness to packet reordering Martin Thomson
- Re: [tsvwg] Re: Robustness to packet reordering Christian Huitema
- RE: [tsvwg] Re: Robustness to packet reordering Ingemar Johansson S
- RE: [tsvwg] Re: Robustness to packet reordering Koen De Schepper (Nokia)
- Re: [tsvwg] Re: Robustness to packet reordering Neal Cardwell
- Re: [tsvwg] Re: Robustness to packet reordering David Schinazi
- RE: [EXTERNAL] [tsvwg] Re: Robustness to packet r… Overcash, Michael (CCI-Atlanta)
- Re: [tsvwg] Re: Robustness to packet reordering Ryan Hamilton
- Re: [tsvwg] Re: Robustness to packet reordering Joe Touch
- RE: [tsvwg] Re: Robustness to packet reordering Vasilenko Eduard
- Re: [tsvwg] Re: Robustness to packet reordering Greg White
- Re: [tsvwg] Robustness to packet reordering touch@strayalpha.com
- Re: [tsvwg] Robustness to packet reordering Roland Zink
- Re: [tsvwg] Robustness to packet reordering Greg White
- Re: [tsvwg] Robustness to packet reordering touch@strayalpha.com
- Re: [tsvwg] Re: Robustness to packet reordering Sebastian Moeller
- Re: [tsvwg] Robustness to packet reordering touch@strayalpha.com
- RE: [tsvwg] Robustness to packet reordering Ingemar Johansson S
- Re: [tsvwg] Robustness to packet reordering Sebastian Moeller
- Re: [tsvwg] Re: Robustness to packet reordering Michael Eriksson
- Re: [tsvwg] Robustness to packet reordering touch@strayalpha.com
- Re: [tsvwg] Robustness to packet reordering touch@strayalpha.com
- Re: [tsvwg] Re: Robustness to packet reordering Christian Huitema
- Re: [tsvwg] Robustness to packet reordering Sebastian Moeller
- AW: [tsvwg] Re: Robustness to packet reordering Ruediger.Geib
- Re: [tsvwg] Robustness to packet reordering Bill Gage
- Re: [tsvwg] Robustness to packet reordering Greg White
- draft-smith-quic-receive-ts and packet reordering Chris Box
- Re: draft-smith-quic-receive-ts and packet reorde… Ian Swett
- Re: [tsvwg] Robustness to packet reordering Sebastian Moeller