Re: [tsvwg] Progress with draft-ietf-tsvwg-ecn-encap-guidelines

Sebastian Moeller <moeller0@gmx.de> Tue, 26 September 2023 06:45 UTC

Return-Path: <moeller0@gmx.de>
X-Original-To: tsvwg@ietfa.amsl.com
Delivered-To: tsvwg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D9985C14CF13; Mon, 25 Sep 2023 23:45:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.854
X-Spam-Level:
X-Spam-Status: No, score=-6.854 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_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmx.de
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 KSBPI-mAQauW; Mon, 25 Sep 2023 23:45:18 -0700 (PDT)
Received: from mout.gmx.net (mout.gmx.net [212.227.17.22]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0E585C151089; Mon, 25 Sep 2023 23:45:17 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.de; s=s31663417; t=1695710672; x=1696315472; i=moeller0@gmx.de; bh=fHf4S1qJNlfDT2oJdGN6EzRDASSkcBADvMtU7Lmk7Us=; h=X-UI-Sender-Class:Subject:From:In-Reply-To:Date:Cc:References:To; b=cwV597VPsYAcMsQ+GFvWn1DpiFr5tmwDbbgvYp30Ut0jL4mnxX0Uli6+INWjkLXbMgc4IuO7es0 yvwolmuxYTbyfF0F5eX3NQVt4EkE4ARcTnMbbyrMrMZZUvwT1nZJSAq0PFD/tMt0QBun7z100Zw6w 14sfdTEKlLWgqfPkulsOIR4/8/kfUwdt2qVar2dSRXdMtYyPi0RuyEdhGpoV93JHJ5uxOKS2AdlRk dOez983EoIaON8RULVXPDhV5YVmGSbCmdTIMTRmyMMmm59Nu2AyS5q1l+Z0FXCE7W+U8SITJfFiI5 0AH03PGgd7wj9a0vhRYN9lMu6B3dUtVrsH8g==
X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a
Received: from smtpclient.apple ([134.76.241.253]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MOREc-1r0sdK139i-00PuNu; Tue, 26 Sep 2023 08:44:32 +0200
Content-Type: text/plain; charset="us-ascii"
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.4\))
From: Sebastian Moeller <moeller0@gmx.de>
In-Reply-To: <PA4PR07MB73287A0B8266260F7E06E201B9C3A@PA4PR07MB7328.eurprd07.prod.outlook.com>
Date: Tue, 26 Sep 2023 08:44:31 +0200
Cc: Gorry Fairhurst <gorry@erg.abdn.ac.uk>, "tsvwg@ietf.org" <tsvwg@ietf.org>, Bob Briscoe <in@bobbriscoe.net>
Content-Transfer-Encoding: quoted-printable
Message-Id: <D5C1DDEA-618C-4371-A288-9345BF981AF9@gmx.de>
References: <D2E7D6FA-C39D-44B4-BC27-8897CE24145C@gmx.de> <84b03a20-b4a2-8411-add2-3b8541693b53@erg.abdn.ac.uk> <1d9ce305-cc0b-4dec-cb14-7fd95df8ba68@bobbriscoe.net> <c6ad1d71-e8c6-4fc7-edb0-05ef255af821@erg.abdn.ac.uk> <PA4PR07MB73287A0B8266260F7E06E201B9C3A@PA4PR07MB7328.eurprd07.prod.outlook.com>
To: "Koen De Schepper (Nokia)" <koen.de_schepper=40nokia-bell-labs.com@dmarc.ietf.org>
X-Mailer: Apple Mail (2.3696.120.41.1.4)
X-Provags-ID: V03:K1:ZERERqBtbv6EXhaDNbG5pAuSfzFT5vDPCWbMPSXikzpMVHbWQ/Y QU4UC9fP9TPCPUYGQu2tCkGtZNa0Wt3AsGQGno+jvvOTm42LpWUAjgUT2GvW8nQGWQfG3gr Vzou3ayaXo2kH0gEz5lTHYjd9LTtc2sy6nq63qm8THmECqXCVyX5M5WV9QosX5xZ+yG6CB1 8IPeZ6GAGeanJFZzJNgLA==
UI-OutboundReport: notjunk:1;M01:P0:Tft12xB0f0A=;Y1hskOZrI1QUpX4I6V5aSCGQisO 2XpVMZZ/IDrqHZQ+zUsbXjBxI3aXPK19AtBFjM0XcvnWnjaNY/OClLTBqAbhG10ppYbJnR20Y hSYj+JM2LI9R/BVe+2OJJyMmAEcvp0Ic76yUnEytAOCBaPPYKcgv05uuBHdy1Vg6iS3EtwFGa 1p7srpvS9AhbglHqVOrcClvjcNxyzZ9nsiuvzICcbJHCiA+etKmks3dx86cLsimlD3W83D9Bb FaovVFkTlUqh7L0neiqmXzwpnSrLLXCMBxMY4KQr0Wktk21YbdPQnLTAIL4c25YE29AmUGm0z xUBgScLKS1a/BR+PG9XJPKqd3xZ+5DtfIlyDHZCIq2llYuL5LV8Iby33PQul2qPZtWW+nUW7p PTt/0jmL2214FaOiL5cf6C3r291fghb5LS14G7smziiFmlgcInEeI5oT8G2VcGUEE00xRZ6He Uxvp8Z+MV8r2s2lkjLjTO7A7waFDVLNwO2jCakYqcdvDIudR5fxKXQSLMAKzDZU8PJy0EAbHr fupl6UjyV4S/2NMcUsW6Yay/xZWxZAoPwHyS4VoQGff81Ue/OzScIoP5CKfzH49K88D67uZTn jgUl0siZ599jtaMX1W6fkN/MD+aqRl+NwiH8N/PJSAXiS3PJe0yz68kLiEivIX+GNZWFSv3m4 Jo4dEkMJGGR1VbIvPHKSAdKB/6hdTxddWOa7trbs17hV58fZ0KL+v7yT4Pr/yLbSWFsh/r3vT sTIrqtl7LWF7Vd7u+Ck74NhYeSX0OX9VEhlsX98x4gFxV2N/IxSkf8drrOqV7kZD50BKbIiA1 8QqdjJ5Y8oPcvQqH6qSo63IIYISly3g9xRBupfJXUFqizvy0+ANQZkx5N1Lzp5lMCydZU47Po 4q8HALAtz4Zz8XRtXu7xgqhR+YQfvIJi83CSpY+bN1y9XXZniN7LU/DbA7VeYOFPq5XdD2FyU 4YGa3JH+TyRJT1Uci00ogLq6jCM=
Archived-At: <https://mailarchive.ietf.org/arch/msg/tsvwg/u0Z0izyulwoQAyKUPzt6YSjcG30>
Subject: Re: [tsvwg] Progress with draft-ietf-tsvwg-ecn-encap-guidelines
X-BeenThere: tsvwg@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: Transport Area Working Group <tsvwg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tsvwg>, <mailto:tsvwg-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tsvwg/>
List-Post: <mailto:tsvwg@ietf.org>
List-Help: <mailto:tsvwg-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tsvwg>, <mailto:tsvwg-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 26 Sep 2023 06:45:22 -0000

HI Koen,


> On Sep 26, 2023, at 03:16, Koen De Schepper (Nokia) <koen.de_schepper=40nokia-bell-labs.com@dmarc.ietf.org> wrote:
> 
> As L4S is the way forward


	[SM] That is certainly a valid subjective opinion, but so is my stance L4S is too little too late and the "experiment" will peter out inconclusively but will leave a legacy of increases RTT-bias over the internet... neither is objective fact.


> and is the dominant use of ECN,

	[SM] Again valid opinion, but too confidently "dressed" as a fact. Also by most meanings of "dominance" this seems to be incorrect (I see no hierarchy of ECN users/using signaling pathways). But humor me and explain how you came to that conclusion.
	I also note that L4S was apparently heavily inspired by DCTCP and its ECN signaling approach. In the "natuaral niche" DCTCP developed ultra-short RTT data centers however DCTCP seems not considered to be the end all of congestion signaling any more (if ever) evident in the ongoing work on more refined methods, seen in multiple IETF drafts on that topic like https://datatracker.ietf.org/doc/draft-ravi-ippm-csig/ or the poseidon work (https://www.usenix.org/conference/nsdi23/presentation/wang-weitao). These alternative methods tend to use unambiguous per packet congestion information that does not do L4S'/DCTCPs rate encoding of congestion severity into a stream of packets and hence will have different congestion mark propagation desires than rfc3168 or L4S (but since we are talking about ECN in this draft this just counters the "dominance" claim, for draft-ietf-tsvwg-ecn-encap-guidelines we certainly need to look at both current users of the ECN bitfield for ECN en-/de-framing, so L4S and rfc3168).


> it should be clear to NW designers which 'alternative' is to be implemented for L4S and typical Classic AQMs, and which is recommended for Classic ECT(0) with CoDel AQMs (is there indeed broad consensus that the latter is necessary?).

	[SM] Let me remind you of the issue we are discussing here: 
a stream of IP packets is transmitted over a link that uses L2 frames that are not aligned with IP packet boundaries, so we have two situations:
	a) L2 frames > IP packets -> multiple IP packets per L2 frame
	b) L2 frames < IP packets -> fractional IP packet(s) per L2 frame

So clearly the number of marked L2-payload octests is not going to be naturally aligned with IP packets. And that IMHO is a problem that needs to be a solution that is at least "good enough".


> For L4S it is important that the marking probability is preserved (both in ratio of marked/total packets and bytes).

	[SM] But this applies only if the marking entity actually saw the same packet granularity as the end-points, and that is exactly not the case we are discussing. The IMHO real question you need to answer is:
How would the marking entity have marked, had it seen the actual IP packets individually. If the unequivocally answer to that is that the marking entity put meaning into the fraction of marked octets (over a sequence of frames) then extracting that information at reframing makes sense, if the marking entity did not do that however, then pretending it did does not really help congestion control (where I claim the goal needs to be to get as veridical an estimate about the real congestion situation as reasonably possible). This is the core of my objection to rfc7141 recommendations as well, inventing information that is not actually there does IMHO not lead to robust and reliable solutions.
	Also for fixed packet sizes ratio of marked/total packets and ratio of marked/total octets is essentially identical, for our example however it is not as the marking frequency per frame and per octets results in different outcomes at the de-framer, unless we know what the marking entity aimed for we DO NOT KNOW whether propagating the number of marks (goal 1) or the number of marked octets (goal 2) is the correct thing to do. Pretending method/goal 2 the the way forward makes assumptions that should IMHO be verified. As would be the actual difference in behavior between method 1 and method 2 propagation methods. My gut feeling is that method 2 will not result in significantly better congestion control signaling than method 1 but comes at a considerably higher implementation complexity, whether we "hide" some of that complexity by off-loading it to the en-framer does not really matter IMHO. I also note that Bob's pseudo-code was buggy (by trying to be too comprehensive and dealing with corner-cases instead of focussing on the main problem) supporting my view that we should aim at keeping things as simply as possible...



> Only one scheme supports this. The other will increase the probability for recomposed packets. So, if both schemes are included in the draft, then the above should be very clear for the readers.

	[SM] I am not convinced that the current draft is clear enough on that. If the argument is that this behaviour is intended to help with end to end L4S signaling the draft should state so explicitly and not argue that this behaviour is dictated by rfc7141. But see above why this assertion that method/goal 2 actually does help for L4S signaling is contested...


> 
> Koen.
> 
> -----Original Message-----
> From: tsvwg <tsvwg-bounces@ietf.org> On Behalf Of Gorry Fairhurst
> Sent: Thursday, August 31, 2023 11:44 AM
> To: tsvwg@ietf.org
> Cc: Bob Briscoe <in@bobbriscoe.net>
> Subject: [tsvwg] Progress with draft-ietf-tsvwg-ecn-encap-guidelines
> 
> 
> CAUTION: This is an external email. Please be very careful when clicking links or opening attachments. See the URL nok.it/ext for additional information.
> 
> 
> 
> Bob, & TSVWG,
> 
> Here is a follow-up on the above draft:
> 
> 1. We expect Bob to review the wording of his update, and especially whether the wording of the text needs to be improved following the feedback, and then to submit a revised ID as requested.
> 
> 2. In addition, the Chairs have noted that Sebastian raised concerns about the current relevance of RFC7141 (BCP 41) during the WGLC, his concerns were also described in a proposed Errata and in several emails sent to the list.  The WG did not decide to update BCP 41 at this time.
> We expect Sebastian's position to be noted in the working group write-up that we are now preparing.
> 
> We will continue the IETF process when the new revision is posted.
> 
> Best wishes,
> Gorry & Marten
> (TSVWG Chairs)
> 
>