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

Jonathan Morton <chromatix99@gmail.com> Thu, 07 July 2022 15:27 UTC

Return-Path: <chromatix99@gmail.com>
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 37743C13CF76 for <tsvwg@ietfa.amsl.com>; Thu, 7 Jul 2022 08:27:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.859
X-Spam-Level:
X-Spam-Status: No, score=-6.859 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, 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 hvXFMEMC6FrA for <tsvwg@ietfa.amsl.com>; Thu, 7 Jul 2022 08:26:55 -0700 (PDT)
Received: from mail-lj1-x235.google.com (mail-lj1-x235.google.com [IPv6:2a00:1450:4864:20::235]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id EE1EFC13CF74 for <tsvwg@ietf.org>; Thu, 7 Jul 2022 08:26:55 -0700 (PDT)
Received: by mail-lj1-x235.google.com with SMTP id bx13so22695176ljb.1 for <tsvwg@ietf.org>; Thu, 07 Jul 2022 08:26:55 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=3ZDVJYgansYCC8Q7E2DVYjKyKBHeenc7X7++c5QzHMk=; b=oX3m8855DOfTKSooozNTkr6Rh/TJUYCdseBaFYFw/2OkUEnacF0LF9q/oeK7RL49Ip 6hjRlEQflxwfVAgUdl/vsfTL5+9aGipCfB52kOfuIUkgwwYDQ2XTrlcazrsvLHTb5t3i cY7ESW5v2hyNBPB5RoG8WEp/r97Wq2rFwXo2Swn6U0zL8JyWjBo/lqmSU7seVqhXsxXV KODIKnjG2A7RvpZLs2V2EsKiYvkxDumZZWR0yGeMg4BNUW/en5KDVbcPwWaVz0lj4CO8 GPRs1KRX64jIPgfpyzllZQ5KHq2afoHrdQzD+nRDnyDUv3QKDUT4q+rWdnWde885HqpS Ld6w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=3ZDVJYgansYCC8Q7E2DVYjKyKBHeenc7X7++c5QzHMk=; b=QhL4MDnJPFhH1sz4WXHVU7uyILarJSLvkj5cfO65Fr4vRwqlcNtmvOgk2Sv5GHAvrH H+nKrLQEdD9colzS9zS/jkwDWBMYdys+haV1VQ/ZC85PxYflgqFlHLbynZMNHBDaWBkN zO31UCSXx3F7z3LkP6UjhI5Q53QygiolBYKhCUibF1jyb7KAIncXZgKvM214GXJcdyH7 KmxLRhGeyCLHypqYKCHgwujufWwnFICroK+dKCS/C/sc9iI08LIXNT5pzi2/kz4Xsg0o CWpDF7k2OV95zlRwmHsihCYfMeYnzWBR96OBjeXRhkxiie1ylwA1RPtFOqHeBkc7Q+AW x/5g==
X-Gm-Message-State: AJIora9BhmVEpYNojjwYibE5/OY94hN0QYZrWU00CkqSKD0kfHLVAG5V HxPVYwRJLo5ufX7xr5YR26s=
X-Google-Smtp-Source: AGRyM1up+tupazlCfnlQepf8WfsYiRJ2k+XahXRs6AIAhlx2WVsiW0As4zMaOGFIH1VlsvM6hYpy6Q==
X-Received: by 2002:a2e:9847:0:b0:25a:9ffe:da8 with SMTP id e7-20020a2e9847000000b0025a9ffe0da8mr28648638ljj.516.1657207613935; Thu, 07 Jul 2022 08:26:53 -0700 (PDT)
Received: from smtpclient.apple (178-55-113-151.bb.dnainternet.fi. [178.55.113.151]) by smtp.gmail.com with ESMTPSA id w16-20020a194910000000b0047f6e07ded3sm6862947lfa.152.2022.07.07.08.26.52 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 07 Jul 2022 08:26:53 -0700 (PDT)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.100.0.2.22\))
From: Jonathan Morton <chromatix99@gmail.com>
In-Reply-To: <MN2PR19MB404570543C9B3BD975E43DE083809@MN2PR19MB4045.namprd19.prod.outlook.com>
Date: Thu, 07 Jul 2022 18:26:51 +0300
Cc: "tsvwg@ietf.org" <tsvwg@ietf.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <0F09E1D1-E76F-44DA-A920-51C1488C1D24@gmail.com>
References: <MN2PR19MB404570543C9B3BD975E43DE083809@MN2PR19MB4045.namprd19.prod.outlook.com>
To: "Black, David" <David.Black=40dell.com@dmarc.ietf.org>
X-Mailer: Apple Mail (2.3654.100.0.2.22)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tsvwg/LhZYgDgZh1mwcJuDVmutZ6CrEuA>
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 15:27:00 -0000

> On 6 Jul, 2022, at 8:13 pm, Black, David <David.Black=40dell.com@dmarc.ietf.org> wrote:
> 
> 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).

My position is that preserving the "proportion" of any particular quantity is a fool's errand.  It is more useful and robust to attempt to preserve the absolute number of congestion signals applied, within the limits of feasibility, and in particular it is easier to implement that approach in a way that propagates such signals "immediately".  I believe I've given sufficient reasoning for that previously.

In terms of alternative 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.

   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.
   Mechanisms which satisfy this property include:

   - Every IP PDU which is reassembled, in whole or in part, from an L2
     frame which is marked with a congestion signal, should have that
     signal propagated to it.

   - Every IP PDU whose ECN field falls within an L2 frame which is
     marked with a congestion signal, should have that signal
     propagated to it.

   - Every L2 frame which is marked with a congestion signal, should
     propagate that signal to one IP PDU which is reassembled, in whole
     or in part, from it.  If multiple IP PDUs meet this description,
     the choice may be made arbitrarily but should be consistent.

   - Every L2 frame which is marked with a congestion signal, should
     propagate that signal to one IP PDU which is decapsulated from
     the same L2 link, as soon as is feasible.

   The number of L2 frames may be generally higher (eg. ATM), similar to,
   or lower than (eg. 802.11 aggregation) the number of IP PDUs, and this
   distinction may influence the choice of mechanism.  The above list is
   not exhaustive.

Each of the four mechanisms described above has immediately obvious implementation techniques, and it is relatively unlikely that an implementer choosing one of them would inadvertently get it wrong.  I believe they are also sufficiently analogous to RFC-3168 to admit to similar robustness analyses.

 - Jonathan Morton