Re: [tsvwg] Moving the ECN Encapsulation drafts forward ...

Sebastian Moeller <moeller0@gmx.de> Thu, 07 July 2022 08:19 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 C910AC15AD58; Thu, 7 Jul 2022 01:19:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.656
X-Spam-Level:
X-Spam-Status: No, score=-1.656 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_MSPIKE_H2=-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_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=gmx.net
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 mnqf9G_NUM3Y; Thu, 7 Jul 2022 01:19:24 -0700 (PDT)
Received: from mout.gmx.net (mout.gmx.net [212.227.15.19]) (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 536BCC15A737; Thu, 7 Jul 2022 01:19:24 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1657181962; bh=d3uxOrPaEF/6QKH9qVshzSSfzfsaAgSC1CMFrDCQKnI=; h=X-UI-Sender-Class:Subject:From:In-Reply-To:Date:Cc:References:To; b=H7RZMGVQTO2rNXsGxuLqNjd0BxI+F7UQgnB6pxdmR545O6iZ0Nj3n/s4IaRpHxV2T NOIZWYjKF8LHamtVEyc+FFo8mQUufifnZddaZqpcuGj/OZ4vYPMP9T8Y7trcTULvCv vur3u1J5fX7MGgrFwWjyOhawZPTqLIN8bKwcfKJI=
X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c
Received: from smtpclient.apple ([134.76.241.253]) by mail.gmx.net (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MbRk3-1ncVsm1sBF-00br1v; Thu, 07 Jul 2022 10:19:21 +0200
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.100.31\))
From: Sebastian Moeller <moeller0@gmx.de>
In-Reply-To: <MN2PR19MB404570543C9B3BD975E43DE083809@MN2PR19MB4045.namprd19.prod.outlook.com>
Date: Thu, 07 Jul 2022 10:19:19 +0200
Cc: "tsvwg@ietf.org" <tsvwg@ietf.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <A1F51641-CC8E-4B89-8CD7-5CBDEE48EB76@gmx.de>
References: <MN2PR19MB404570543C9B3BD975E43DE083809@MN2PR19MB4045.namprd19.prod.outlook.com>
To: "Black, David" <David.Black=40dell.com@dmarc.ietf.org>
X-Mailer: Apple Mail (2.3696.100.31)
X-Provags-ID: V03:K1:n5KddyTnWVvMdqkYieZWVJGyEAWd0aYB4UnHIQdVtZHSPv5Dl2J e8/hJ4eX+0nje14nqH9/4p1fGVC3kglyjJOBGxWkOxQjYbzGT3Z2Da/8yzOp4wogJ8XKS6F QEephQ7vB0HCS0W+qKtbj1k2yc0PH3aI2v2lTpbPbMnLcJzKV8KXmLwJGG+igiI6KiiCabj cqFfgipEXICBY8Eos5Ssw==
X-UI-Out-Filterresults: notjunk:1;V03:K0:nsMrWv6m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PrhX/cQWq4taoTc1mOfEI4V1ZDYvXdIZDYv3PA9vrmsb DE6HJJWFq6BJ51vrH8wfeL932hsnADNJbwUCZnvutQA2tVK+uta1fPBNw==
Archived-At: <https://mailarchive.ietf.org/arch/msg/tsvwg/BIYExoaNrpvAcSLhTo-YdnWkynw>
Subject: Re: [tsvwg] Moving the ECN Encapsulation drafts forward ...
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: Thu, 07 Jul 2022 08:19:28 -0000

Hi David,

> On Jul 6, 2022, at 19:13, Black, David <David.Black=40dell.com@dmarc.ietf.org> wrote:
> 
> Writing as a WG chair …
>  
> We (WG chairs) are getting reminded about moving the ECN encapsulation draft (https://datatracker.ietf.org/doc/draft-ietf-tsvwg-ecn-encap-guidelines/) onward, as it (along with the L4S drafts) is holding up another draft at the RFC Editor (https://www.rfc-editor.org/cluster_info.php?cid=C350).  With the L4S drafts now in the capable hands of our AD (and approaching completion of AD review), we need some compromise text for congestion indication propagation across resegmentation of layer-2 frames into IP packets (PDUs).  That is the only outstanding issue.
>  
> The text involved is in a couple of paragraphs in section 4.6.  The latest -16 version of the draft contains text that was my attempt to use RFC 7141 (Byte and Packet Congestion Notification) to settle this issue.  That did not work – the lack of WG rough consensus for that approach is clear from the resulting WG discussion.
>  
> So, we need to go back to the -15 text and try to make progress from there – the relevant -15 text (in Section 4.6) is:
>  
>    Where framing boundaries do not necessarily align
>    with packet boundaries, the following guidance will be needed.  It
>    explains how to propagate ECN markings from layer-2 frame headers
>    when they are stripped off and IP PDUs with different boundaries are
>    reassembled for forwarding.
>  
>    Congestion indications SHOULD be propagated on the basis that an
>    encapsulator or decapsulator SHOULD approximately preserve the
>    proportion of PDUs with congestion indications arriving and leaving.
>  
>    The mechanism for propagating congestion indications SHOULD ensure
>    that any incoming congestion indication is propagated immediately,
>    not held awaiting the possibility of further congestion indications
>    to be sufficient to indicate congestion on an outgoing PDU.
>   
> The simplest thing to do would be to delete the middle paragraph ("Congestion indications SHOULD be propagated …") and adjust the first paragraph accordingly, as I believe the WG has rough consensus that the last paragraph (on promptness of propagating congestion indications) is a "good thing" to do.
>  
> Beyond that, mentioning the two approaches that have been discussed without offering guidance could help implementers figure out "where to dig", so here's an initial attempt at replacement text:
>  
>    Where framing boundaries do not necessarily align
>    with packet boundaries, ECN markings SHOULD be propagated
>    from layer-2 frame headers to IP packets that may have different
>    boundaries as a consequence of payload segmentation and
>    reassembly for IP forwarding.
>  
>   Two possible implementation approaches to propagating congestion
>    indications are packet counting (e.g., proportion of IP PDUs sent with
>   congestion indications approximately matches the proportion of layer-2
>    frames received with congestion indications) and byte counting (e.g.,
>    number of payload bytes in IP PDUs that have congestion indications
>    is approximately equivalent to the number of bytes in layer-2 frames
>    received with congestion indications).
>  
>    The mechanism for propagating congestion indications SHOULD ensure
>    that any incoming congestion indication is propagated immediately,
>    not held awaiting the possibility of further congestion indications
>    to be sufficient to indicate congestion on an outgoing PDU.
>  
> Attempting to bound the discussion in the hope of getting to a conclusion:
> 	• Please do not debate packet-counting vs. byte-counting, even if you're absolutely certain that one of the two is the only thing that could possibly be the "right thing to do" – based on past experience, that debate appears to be intractable.
> 	• It's fine to take the position that neither implementation approach can readily be aligned with the SHOULD recommendation for prompt congestion indication propagation … BUT … it is incumbent on anyone who takes  that position to propose alternate text (which could be just that the paragraph on possible implementation approaches ought not to be included).


	[SM] Here is my go at it: 

"If framing boundaries do not align with contained IP packet boundaries all (ECT([0|1))* packets that are wholly or partly contained within the marked frame SHOULD be marked. However, if efficient processing requires only marking IP packets beginning inside a frame that is acceptable as well."


*) Assuming that flows that did not negotiate ECN will simply ignore any CE marks thet receive , the "all (ECT([0|1))" condition might be superfluous and could be dropped.


I accept that tunneling and encapsulations are important and that on core internet links processing cost needs to be minimized. Respectfully, if an entity wants tunneling AND "veridical" ECN signals it should simply avoid the situation by either not marking at the level of non aligned encapsulations or simply make sure one outer packet corresponds to one inner packet. This approach is both simple, predictable, and requires very little state keeping of the "de-framing" nodes. 
I also accept that this solution is probably "wrong" from both the packet-counting and byte-counting perspectives (as well as from other perspectives)...

Regards
	Sebastian




>  
> My goal is to get this resolved at the Philadelphia TSVWG meeting at the latest, preferably beforehand.
>  
> Thanks, --David
>  
> David L. Black, Sr. Distinguished Engineer, Technology & Standards
> Infrastructure Solutions Group, Dell Technologies
> mobile +1 978-394-7754 David.Black@dell.com