[tcpm] AccECN: summary text about omitting unchanged fields

Neal Cardwell <ncardwell@google.com> Fri, 29 July 2022 18:29 UTC

Return-Path: <ncardwell@google.com>
X-Original-To: tcpm@ietfa.amsl.com
Delivered-To: tcpm@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id DD351C15A721 for <tcpm@ietfa.amsl.com>; Fri, 29 Jul 2022 11:29:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -17.605
X-Spam-Level:
X-Spam-Status: No, score=-17.605 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, ENV_AND_HDR_SPF_MATCH=-0.5, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_BLOCKED=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, USER_IN_DEF_DKIM_WL=-7.5, USER_IN_DEF_SPF_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=google.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 iSr_x88mnuxQ for <tcpm@ietfa.amsl.com>; Fri, 29 Jul 2022 11:29:14 -0700 (PDT)
Received: from mail-qk1-x732.google.com (mail-qk1-x732.google.com [IPv6:2607:f8b0:4864:20::732]) (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 D432BC1594AD for <tcpm@ietf.org>; Fri, 29 Jul 2022 11:29:14 -0700 (PDT)
Received: by mail-qk1-x732.google.com with SMTP id c24so4247035qkm.4 for <tcpm@ietf.org>; Fri, 29 Jul 2022 11:29:14 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc; bh=86NTxfT4hZZUN5wd4j9nRxwoVogTJ3FN7dSrqjr2fyA=; b=Zo7c+pq0G9MHy2TMCWTbxlln/W3GORsF0tK9k+HJ/96ZfmcrU8xwr5tme5MWee5D+N Fop6YKAw3VVPyI8Cc6rNCqH3hsLyjIFCayLQgFWGkBAIWQIV748zvnhrRnY2EH72z25P vu5x35++jCrK+zXnoavo1ZQe4OUu7XL051UBLuwRbIhaccEOD85JJgpVOksktCWWIZq8 4KUpI5vld3gl4HaqRlusTrSWmlQG/dOwTwU+D4YZCGOj1UGhcUomc7lPAw4sP0qyt0dT LdIKD16ytUjQuQFC6MCXBoprSaWxvly1hanEySmrHfGj3vUL/6Yb3NVumiZiZqKDH+l2 SHzA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc; bh=86NTxfT4hZZUN5wd4j9nRxwoVogTJ3FN7dSrqjr2fyA=; b=ABDll4wJ6iQUJ3VyhJj+7P/Aa2cXq6mYhOLcGKBdUV2nOLeux9MbKR8N48v5FCAD9H H0IRholkFNyg4EYDT5QVJX/h3bVh0exWQdxkfNnxrtUsDY/7RPrp0bPc55qPhrLURVra 14XXfKK2YwNBVA1zTJS+MwSmznScA1ezwWH7yIpT1ONg5tzlvzir/Pn8l0RRxlFyunAV dL6+iB0mfipZhcuTOXUb/qV3qnvXJ8fUeG1UAXVCAIQRHIzcTvYTHb8Tx9YZJAjY34yj 1dqGfbPD3Ikf9PHvNDKaGGDkPmq5t41cNXj37dKgeTYRxd1m5xxWFJwnMs7niryC6Le6 Xx+Q==
X-Gm-Message-State: AJIora/ejzyRWoFuWHiWl5gxoqtB6OFShNpjFYIaXVyP7N3ANdPAU6AJ b0yfLYzbYSI51NUjEAav+X9lNT8mrEQ8qJBqBugdXw==
X-Google-Smtp-Source: AGRyM1siYcHbb8K7uemklOLdag+yhAQGZ9tRgAneCbqN2q5WX88Fi24LYCniz7Lm/7dIlznmeMmUn61oAjYFQQVSFdE=
X-Received: by 2002:a05:620a:410c:b0:6b2:82d8:dcae with SMTP id j12-20020a05620a410c00b006b282d8dcaemr3710735qko.259.1659119352500; Fri, 29 Jul 2022 11:29:12 -0700 (PDT)
MIME-Version: 1.0
References: <165875890602.27029.15559583712786547833@ietfa.amsl.com> <f49e19cf-839b-9b1f-7ca3-dc7c6d24f5fb@bobbriscoe.net>
In-Reply-To: <f49e19cf-839b-9b1f-7ca3-dc7c6d24f5fb@bobbriscoe.net>
From: Neal Cardwell <ncardwell@google.com>
Date: Fri, 29 Jul 2022 14:28:56 -0400
Message-ID: <CADVnQy=RbCXjbjaxFuXo9p13AvKLuK_odEnM2er3Yh3JAWYALw@mail.gmail.com>
To: Bob Briscoe <ietf@bobbriscoe.net>
Cc: tcpm <tcpm@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000a5d75305e4f5d34c"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tcpm/g1s_4UZmhWAg7uFKWS51MAu4f-4>
Subject: [tcpm] AccECN: summary text about omitting unchanged fields
X-BeenThere: tcpm@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: TCP Maintenance and Minor Extensions Working Group <tcpm.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tcpm>, <mailto:tcpm-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tcpm/>
List-Post: <mailto:tcpm@ietf.org>
List-Help: <mailto:tcpm-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tcpm>, <mailto:tcpm-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 29 Jul 2022 18:29:18 -0000

Re:
  https://www.ietf.org/archive/id/draft-ietf-tcpm-accurate-ecn-20.html

and this passage:

[EXISTING:]
"Whenever a Data Receiver sends an AccECN Option, the rules in Section
3.2.3.3 allow it to omit unchanged fields from the tail of the option, to
help cope with option space limitations, as long as it preserves the order
of the remaining fields and includes any field that has changed."

I'm a little concerned that some readers might see this passage, and not
actually follow the hyperlinked reference and read Section 3.2.3.3, and
might use the summary in this sentence to conclude that it's OK "to omit
unchanged fields from the tail of the option, to help cope with option
space limitations, as long as it preserves the order of the remaining
fields and includes any field that has changed." But if a data receiver
receives only 1 CE-marked data packet, and then the single ACK carrying an
increment of r.ceb is lost, then following that policy could cause the data
receiver to never again send the r.ceb field (because r.ceb was never again
incremented), and thus could cause the data sender to not receive
notification of a CE congestion event. This would defeat the whole purpose
of Accurate ECN.

To reduce the risk of this mis-reading, I'd suggest shortening this forward
reference to Section 3.2.3.3 to something like:

[SUGGESTED:]
"When a Data Receiver sends an AccECN Option it is allowed in certain
circumstances to omit fields from the tail of the option, but when doing so
MUST follow the rules in Section 3.2.3.3.  When omitting fields the Data
Receiver MUST preserve the order of the remaining fields. Omitting fields
helps cope with option space limitations."

Hopefully consolidating into  Section 3.2.3.3 the rules about when omitting
fields is allowed would help avoid misunderstandings that might compromise
the accuracy of Accurate ECN.

best regards,
neal


On Mon, Jul 25, 2022 at 10:47 AM Bob Briscoe <ietf@bobbriscoe.net> wrote:

> tcpm,
>
> Minor diffs from 19 to 20; Summary:
> 1, Section 3.2.3. The AccECN Option
>
> https://datatracker.ietf.org/doc/html/draft-ietf-tcpm-accurate-ecn-20#section-3.2.3
>      As promised, we've added a stronger motivation for the
> RECOMMENDations for partial implementations.
> 2. Section 7 IANA Considerations:
>
> https://datatracker.ietf.org/doc/html/draft-ietf-tcpm-accurate-ecn-20#section-7
>      Added the ExIDs of the two options used by experimental
> implementations.
>
>
> Bob
>
>
> On 25/07/2022 15:21, internet-drafts@ietf.org wrote:
> > A New Internet-Draft is available from the on-line Internet-Drafts
> directories.
> > This draft is a work item of the TCP Maintenance and Minor Extensions WG
> of the IETF.
> >
> >          Title           : More Accurate ECN Feedback in TCP
> >          Authors         : Bob Briscoe
> >                            Mirja Kühlewind
> >                            Richard Scheffenegger
> >    Filename        : draft-ietf-tcpm-accurate-ecn-20.txt
> >    Pages           : 61
> >    Date            : 2022-07-25
> >
> > Abstract:
> >     Explicit Congestion Notification (ECN) is a mechanism where network
> >     nodes can mark IP packets instead of dropping them to indicate
> >     incipient congestion to the end-points.  Receivers with an ECN-
> >     capable transport protocol feed back this information to the sender.
> >     ECN was originally specified for TCP in such a way that only one
> >     feedback signal can be transmitted per Round-Trip Time (RTT).  Recent
> >     new TCP mechanisms like Congestion Exposure (ConEx), Data Center TCP
> >     (DCTCP) or Low Latency Low Loss Scalable Throughput (L4S) need more
> >     accurate ECN feedback information whenever more than one marking is
> >     received in one RTT.  This document updates the original ECN
> >     specification to specify a scheme to provide more than one feedback
> >     signal per RTT in the TCP header.  Given TCP header space is scarce,
> >     it allocates a reserved header bit previously assigned to the ECN-
> >     Nonce.  It also overloads the two existing ECN flags in the TCP
> >     header.  The resulting extra space is exploited to feed back the IP-
> >     ECN field received during the 3-way handshake as well.  Supplementary
> >     feedback information can optionally be provided in a new TCP option,
> >     which is never used on the TCP SYN.  The document also specifies the
> >     treatment of this updated TCP wire protocol by middleboxes.
> >
> >
> > The IETF datatracker status page for this draft is:
> > https://datatracker.ietf.org/doc/draft-ietf-tcpm-accurate-ecn/
> >
> > There is also an HTML version available at:
> > https://www.ietf.org/archive/id/draft-ietf-tcpm-accurate-ecn-20.html
> >
> > A diff from the previous version is available at:
> > https://www.ietf.org/rfcdiff?url2=draft-ietf-tcpm-accurate-ecn-20
> >
> >
> > Internet-Drafts are also available by rsync at rsync.ietf.org:
> :internet-drafts
> >
> >
> > _______________________________________________
> > tcpm mailing list
> > tcpm@ietf.org
> > https://www.ietf.org/mailman/listinfo/tcpm
>
> --
> ________________________________________________________________
> Bob Briscoe                               http://bobbriscoe.net/
>
> _______________________________________________
> tcpm mailing list
> tcpm@ietf.org
> https://www.ietf.org/mailman/listinfo/tcpm
>