[tsvwg] Re: Robustness to packet reordering -- draft-white-intarea-reordering
Gorry Fairhurst <gorry@erg.abdn.ac.uk> Wed, 12 March 2025 11:35 UTC
Return-Path: <gorry@erg.abdn.ac.uk>
X-Original-To: tsvwg@mail2.ietf.org
Delivered-To: tsvwg@mail2.ietf.org
Received: from localhost (localhost [127.0.0.1]) by mail2.ietf.org (Postfix) with ESMTP id BC8A5A594B7 for <tsvwg@mail2.ietf.org>; Wed, 12 Mar 2025 04:35:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at ietf.org
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level:
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_SBL_A=0.1] autolearn=unavailable autolearn_force=no
Authentication-Results: mail2.ietf.org (amavisd-new); dkim=pass (2048-bit key) header.d=erg.abdn.ac.uk
Received: from mail2.ietf.org ([166.84.6.31]) by localhost (mail2.ietf.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VmQVs3EEiM7Z for <tsvwg@mail2.ietf.org>; Wed, 12 Mar 2025 04:35:44 -0700 (PDT)
Received: from pegasus.erg.abdn.ac.uk (pegasus.erg.abdn.ac.uk [IPv6:2001:630:42:150::2]) by mail2.ietf.org (Postfix) with ESMTP id 4D9E8A594AB for <tsvwg@ietf.org>; Wed, 12 Mar 2025 04:35:44 -0700 (PDT)
Received: from [10.41.235.109] (unknown [77.241.232.22]) by pegasus.erg.abdn.ac.uk (Postfix) with ESMTPSA id 66E8D1B00E66; Wed, 12 Mar 2025 11:35:39 +0000 (GMT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=erg.abdn.ac.uk; s=default; t=1741779342; bh=bdVxDrtBWLfeMfIkG61XiMS9gXS/VJJtxLvWgSlHfzs=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=K/RYOfCd9KQMTXYxeH5ilYgPghnXKsp3kWVA+419pcuADPCsPT8rOPkRswfJrcrdC xEyD1v24oO8uL2M0uh958ApxXlnO39QtH7PNnoZ89SHkNi91c9wERBNJIDY0A6KgYE BnsTivRQV8FLPzSTJLc5N1wuaBfZD8P+sERkoCUFcstq6IXwSeY9xSKaMROvmIpIMd u2+2grD1F/V52TJQHahokIM1GFHvrXt2RgmbZqyi+CljqONsMqPk4Od5iSleSIn9GR jlgVp9j6L517pLfS2RnDkHQ5tLkDavK2NQH0g9iFwVDC/+b6S/x0/hMODC75x65Kp0 pf+M8qRocGyjA==
Content-Type: multipart/alternative; boundary="------------NvPST7QKcOYIrdn2459COVVd"
Message-ID: <6be55056-8445-4e04-8288-1031834232d0@erg.abdn.ac.uk>
Date: Wed, 12 Mar 2025 12:35:38 +0100
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Content-Language: en-GB
To: Greg White <g.white=40CableLabs.com@dmarc.ietf.org>
References: <CAJ_4DfQjNRd2k+JBFoR+=Y9D-Nvh4-Kw29nQP=tEYS4BY0B-BQ@mail.gmail.com> <FB1FD652-08EB-41BE-ADC0-C4704349DD5E@strayalpha.com> <43E6C2EC-F99E-4744-98E4-9A9239EAF86F@CableLabs.com> <1116DED7-2068-4566-A947-AC5B57A68FAB@strayalpha.com> <8ACD1AFA-CE02-4886-AC4D-5EA7AA0134E9@CableLabs.com> <AM8PR07MB8137A7C5A9DD4D1F3A38E622C2FC2@AM8PR07MB8137.eurprd07.prod.outlook.com> <C0926071-B3E0-4E8A-AB5E-F0289B614515@CableLabs.com>
From: Gorry Fairhurst <gorry@erg.abdn.ac.uk>
Organization: UNIVERSITY OF ABERDEEN
In-Reply-To: <C0926071-B3E0-4E8A-AB5E-F0289B614515@CableLabs.com>
Message-ID-Hash: RRD6LORNA6WP5CTE3D4UQVGSA2WZNNYQ
X-Message-ID-Hash: RRD6LORNA6WP5CTE3D4UQVGSA2WZNNYQ
X-MailFrom: gorry@erg.abdn.ac.uk
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-tsvwg.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: "tsvwg@ietf.org" <tsvwg@ietf.org>
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [tsvwg] Re: Robustness to packet reordering -- draft-white-intarea-reordering
List-Id: Transport Area Working Group <tsvwg.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/tsvwg/ZnGDIsz-1rrmSzNUca3W7G_fINQ>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tsvwg>
List-Help: <mailto:tsvwg-request@ietf.org?subject=help>
List-Owner: <mailto:tsvwg-owner@ietf.org>
List-Post: <mailto:tsvwg@ietf.org>
List-Subscribe: <mailto:tsvwg-join@ietf.org>
List-Unsubscribe: <mailto:tsvwg-leave@ietf.org>
Greg, et al. I read draft-white-intarea-reordering prior to the Bangkok IETF meeting. Thanks for starting this new I-D! I see this mentions that RFC3819 does mention work on TCP Reordering requirements. This I think became RFC3449. That talked about relaxing reordering, but the advice might need updated, because rates and protocols have changed. The document seems focussed on protocols like TCP and QUIC. Ir might be hard for lower layers to know the transport service being supported, e.g., when using a VPN. (Or any form of encaps/tunnel) and therefore I think it will be important to look to other upper layer protocol requirements! I note that IPsec replay protection has been discussed a number of times at the IETF, and I suggest also looking at this and other encaps. I note ROHC expectations have been discussed. Is there any implication for other compression methods? One common method in lower layers as far as I know is ti preserve ordering within an IP flow, not for all packets across a link. That approach seems to resemble the operation of Ethernet aggregation- perhaps you could also say a few words in the next revision? I do think it is a useful place to dig and document - time will show if this is WIT Area requirements for lower layers or the other way around as an INT Area spec. Best wishes, Gorry On 11/03/2025 19:44, Greg White wrote: > > FYI, we (Ingemar, Dibakar Das, and I) have put together a draft which > is on the agenda for Intarea on Monday evening next week. > > The current WIP can be found at: > https://gwhitecl.github.io/draft-white-intarea-reordering/draft-white-intarea-reordering.html > > There is also a version on the Datatracker, but the above version is a > bit more complete. > > -Greg > > *From: *Ingemar Johansson S <ingemar.s.johansson@ericsson.com> > *Date: *Wednesday, February 12, 2025 at 1:30 AM > *To: *Greg White <g.white=40CableLabs.com@dmarc.ietf.org>, > "touch@strayalpha.com" <touch@strayalpha.com> > *Cc: *Ryan Hamilton <rch@google.com>, Martin Thomson > <mt@lowentropy.net>, Greg White <g.white@CableLabs.com>, > "quic@ietf.org" <quic@ietf.org>, "tsvwg@ietf.org" <tsvwg@ietf.org>, > Ingemar Johansson S <ingemar.s.johansson@ericsson.com> > *Subject: *RE: [tsvwg] Robustness to packet reordering > > Hi > > I think a draft would be good. I can definitely help and add the 5G > specifics. > There is a cost aspect with large reordering buffers in UEs > (terminals) and network nodes for 5G as well and given that link > throughput increases so will also memory. But I think the main driver > behind my interest is to limit head of line blocking. > Historically, reordering buffers in 5G (and before) has been to > improve TCP performance. Now that TCP and other protocols have > potential to be more robust against packet reordering then I think > that it is time to reconsider how things are done. > > And with address to Sebasians and Joes discussion, yes, these are > relevant arguments and there is probably no “one shoe fits all”. I am > for instance not that keen to allow packets to go completely out of > sequence from 5G access as retransmissions on the MAC layer are quite > common, but that is perhaps more of concern for a number of transport > protocol stacks that do not work well when subject out of sequence > delivery. > > There is concern about performance for RoHC, RoHC is to day mainly > used for VoLTE and VoNR which has its own data radio bearer. I see > little utility with RoHC otherwise. > > > > One question, would this be a relevant discussion point at the next > IETF ?, and if so, which WG ?. > > /Ingemar > > *From:*Greg White <g.white=40CableLabs.com@dmarc.ietf.org> > *Sent:* Wednesday, 12 February 2025 00:38 > *To:* touch@strayalpha.com > *Cc:* Ryan Hamilton <rch@google.com>; Martin Thomson > <mt@lowentropy.net>; Greg White <g.white@CableLabs.com>; Ingemar > Johansson S <ingemar.s.johansson@ericsson.com>; quic@ietf.org; > tsvwg@ietf.org > *Subject:* Re: [tsvwg] Robustness to packet reordering > > I really think that https://www.rfc-editor.org/rfc/rfc3819#section-15 > is lacking. It doesn’t seem to me that it is a case of the advice > there not being heeded. The advice appears to be that you’d better > provide guaranteed in-order delivery unless you want to have terrible > TCP performance and broken header compression. It didn’t omit > mentioning that it is the header compression receiver’s responsibility > to handle reordering, it outright says that it is the subnetwork’s > responsibility. For a BCP, I think we need to be more clear. > > The fact that all 5G, Wi-Fi and DOCSIS gear (perhaps other links too) > on the planet have specialized protocol functions (frame sequence > numbering, resequencing buffers, multiple simultaneous resequencing > contexts, logic to handle sequence loss, etc.) to do this feature that > we mostly agree is objectively bad, is also evidence that we should be > more clear on this point. The DOCSIS spec for example has 52 pages of > text that discuss resequencing requirements, and every cable modem > (these are cost sensitive) is required to support 16 simultaneous > resequencing contexts (to handle multiple simultaneous service > offerings) each of which is required to support up to 13ms of data. > I’ve also been told that there was a recent proposal to eliminate > resequencing requirements in 802.11 for Wi-Fi 8, but it was abandoned. > > I don’t know about other sections in the document, but I do think we > should provide new clarity on the topic of packet reordering. I’ll > put together a strawman draft, but would welcome help. > > -Greg > > *From: *"touch@strayalpha.com" <touch@strayalpha.com> > *Date: *Tuesday, February 11, 2025 at 8:47 AM > *To: *Greg White <g.white@CableLabs.com> > *Cc: *Ryan Hamilton <rch=40google.com@dmarc.ietf.org>, 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> > *Subject: *Re: [tsvwg] Robustness to packet reordering > > Hi, Greg, > > On Feb 10, 2025, at 2:35 PM, Greg White <g.white@CableLabs.com> wrote: > > Joe, > > Thanks for pointing to that reference. I assume that is the most > definitive guidance that the IETF has given to L2 networks on the > topic, and any future changes to that guidance could take the form > of updates to RFC3819. > > I agree with you that the sentence you quoted seems reasonable, > but in the context of the rest of the text in that section in > RFC3819, it seems to me that the warnings about TCP performance > and header compression might undercut the recommendation. > > The warnings are about compression - and still apply. If the > compression algorithm includes dependencies between sequences of > packets, then those sequences have to be restored for the compressor > to work. Perhaps what isn’t said is that if the compressor has such > dependencies, then IT should perform the needed reordering, rather > than expecting the network to do so for it. The prior section > addresses the impact of loss on compression, but overlooked the impact > of reordering. > > I think many L2 designers consider TCP performance to be > important (even if they don’t know the details of current > implementations), and they also might not be willing to take the > risk that their link would break someone’s header compression > scheme (users do lots of different things!). > > Yes, but again this argues for the compressor to reorder, not L2. > > Is there value in updating that section? > > Certainly the entire doc could include more recent references and > could be subbed for omissions such as above, perhaps providing more > comprehensive advice up front, e.g.,: > > - whatever you expect L2 to do, do at the ends of L3 in or in front of > protocols that depend on those features > > - but do NOT engineer the entire L2 for any of those features > > But in a sense that’s just reinforcing the advice in the E2E paper, > which doesn’t need (IMO) to be revised simply to refer to more recent > examples. > > At a minimum we could point to RACK, L4S and the QUIC packet > reordering threshold along with whatever consensus we can develop > around the idea that transports that are interested in performance > already (or at least can) implement reordering tolerance, and that > the benefits of minimizing delay outweigh any slight benefits > provided to older transport implementations. That said, this > thread has seen several opinions (not all in agreement) so it > might be challenging to get consensus. > > And that’s part of the issue as well; to the extent that our docs lack > clear, direct advice, it can be the result of the consensus process. > > I don’t particularly think an update is warranted - IMO, what’s needed > is for the advice that’s there to be heeded. > > Joe > > -Greg > > *From:*Joe Touch <touch@strayalpha.com> > *Date:*Friday, February 7, 2025 at 3:18 PM > *To:*Ryan Hamilton <rch=40google.com@dmarc.ietf.org> > *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> > *Subject:*[tsvwg] Re: Robustness to packet reordering > > On Feb 7, 2025, at 2:12 PM, Ryan Hamilton > <rch=40google.com@dmarc.ietf.org> wrote: > > …. > > Let's not hobble the performance of modern protocols in order > to *potentially* provide minimal improvements to the > performance of obsolete implementations. > > Agreed. As I noted, RFC3819 still has imo the best advice: > > This suggests that subnetwork implementers should try to avoid > packet > > reordering whenever possible, but not if doing so compromises > > efficiency, impairs reliability, or increases average packet delay. >
- [tsvwg] Re: Robustness to packet reordering Greg White
- [tsvwg] Re: Robustness to packet reordering Tom Herbert
- [tsvwg] Re: Robustness to packet reordering Joe Touch
- [tsvwg] Re: Robustness to packet reordering Martin Thomson
- [tsvwg] Re: Robustness to packet reordering Christian Huitema
- [tsvwg] Re: Robustness to packet reordering David Schinazi
- [tsvwg] Re: Robustness to packet reordering Neal Cardwell
- [tsvwg] Re: Robustness to packet reordering Martin Thomson
- [tsvwg] Re: Robustness to packet reordering Christian Huitema
- [tsvwg] Re: Robustness to packet reordering Ingemar Johansson S
- [tsvwg] Re: Robustness to packet reordering Koen De Schepper (Nokia)
- [tsvwg] Re: Robustness to packet reordering Neal Cardwell
- [tsvwg] Re: Robustness to packet reordering David Schinazi
- [tsvwg] Re: [EXTERNAL] Re: Robustness to packet r… Overcash, Michael (CCI-Atlanta)
- [tsvwg] Re: Robustness to packet reordering Ryan Hamilton
- [tsvwg] Re: Robustness to packet reordering Joe Touch
- [tsvwg] Re: Robustness to packet reordering Michael Eriksson
- [tsvwg] Re: Robustness to packet reordering Greg White
- [tsvwg] Re: Robustness to packet reordering Vasilenko Eduard
- [tsvwg] Re: Robustness to packet reordering touch@strayalpha.com
- [tsvwg] Re: Robustness to packet reordering Greg White
- [tsvwg] Re: Robustness to packet reordering touch@strayalpha.com
- [tsvwg] Re: Robustness to packet reordering Sebastian Moeller
- [tsvwg] Re: Robustness to packet reordering touch@strayalpha.com
- [tsvwg] Re: Robustness to packet reordering Sebastian Moeller
- [tsvwg] Re: Robustness to packet reordering Ingemar Johansson S
- [tsvwg] Re: Robustness to packet reordering touch@strayalpha.com
- [tsvwg] Re: Robustness to packet reordering touch@strayalpha.com
- [tsvwg] Re: Robustness to packet reordering Christian Huitema
- [tsvwg] Re: Robustness to packet reordering Ruediger.Geib
- [tsvwg] Re: Robustness to packet reordering Sebastian Moeller
- [tsvwg] Re: Robustness to packet reordering Greg White
- [tsvwg] Re: Robustness to packet reordering -- dr… Gorry Fairhurst
- [tsvwg] Re: Robustness to packet reordering Sebastian Moeller