Re: [tcpm] AccECN: summary text about omitting unchanged fields

"Scheffenegger, Richard" <rs.ietf@gmx.at> Fri, 29 July 2022 19:54 UTC

Return-Path: <rs.ietf@gmx.at>
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 060E5C15948B; Fri, 29 Jul 2022 12:54:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.908
X-Spam-Level:
X-Spam-Status: No, score=-6.908 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H2=-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=ham 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 U-qCj6vgpmRk; Fri, 29 Jul 2022 12:54:45 -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 EF04AC13CCC4; Fri, 29 Jul 2022 12:54:23 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1659124417; bh=yf1PN4rQChPcoLkYKVI65MeRFGSdiJg8NaPd7Z1ZblA=; h=X-UI-Sender-Class:Date:Subject:To:Cc:References:From:In-Reply-To; b=CvbAp2TbOpRWkK/gpxNqK40Dd/6a1CiNlWZjr1JdiiYju+oggX8rMp9dHRfOMgBlU 8hwLri1huIlgW1AvCGWjd6ozsAg+h26RbKOcucYJx5eO4gcKb+GXM+VkexCamYYTTi iCXj24G02iGSDcemdwOL07STsTWnIZUfRW7Zsohs=
X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c
Received: from [31.133.146.5] ([31.133.146.5]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MQ5vc-1o4Mt70lhg-00M6tE; Fri, 29 Jul 2022 21:53:37 +0200
Message-ID: <d2ac978d-9936-5fed-28db-9c43f80a474f@gmx.at>
Date: Fri, 29 Jul 2022 21:53:34 +0200
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0
To: Neal Cardwell <ncardwell=40google.com@dmarc.ietf.org>, Bob Briscoe <ietf@bobbriscoe.net>
Cc: tcpm <tcpm@ietf.org>
References: <165875890602.27029.15559583712786547833@ietfa.amsl.com> <f49e19cf-839b-9b1f-7ca3-dc7c6d24f5fb@bobbriscoe.net> <CADVnQy=RbCXjbjaxFuXo9p13AvKLuK_odEnM2er3Yh3JAWYALw@mail.gmail.com>
From: "Scheffenegger, Richard" <rs.ietf@gmx.at>
In-Reply-To: <CADVnQy=RbCXjbjaxFuXo9p13AvKLuK_odEnM2er3Yh3JAWYALw@mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: quoted-printable
X-Provags-ID: V03:K1:wDVvIvplxOGCgeivYFmIxamdQf1hkVKtGUhp0xEql6Nlv8tV1iO Kt4PiE6kXlNbW3yLA5lhXpBbgyyNRzhX8A18Gjbsjg3TW37PRiT4smfVH5nrCNXgzDpkrNt LBtQ/OKU9/E+eLb4YHyL4LT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GkUxw J04Il6+zgIN68Wt+aD7INQRCANRfsXEovl2NALltYENnAEfxfFcVaKaGGK1T9u+N5J65RcnzG oF/+wPdaIxf+aRJ3qoGfvGCnXcE1rg710kFqhb0DLAX39mtgJjqYWHwNKjnsC4zXImUVukpXj FTANJmO0wB5phv5vZ9MHDry6t9c8Ge+hRm8pt1fXokQREzOhVn/AsvIgA==
Archived-At: <https://mailarchive.ietf.org/arch/msg/tcpm/471USwwnYDbWLsN8UP-s2gujlTw>
Subject: Re: [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 19:54:50 -0000

Should the guidance perhaps be even more direct, that pure control
segments without data, and without other options than TSopt SHOULD
include the complete AccECN Option in full?

(The concern really is about using up TCP option space which may be used
in a more acutely critical way for SACK or MPTCP, as well as shortening
the data size carried by a full-size segment).

BTW, the Option Sender (data receiver) code I created first fills all
the otherwise needed TCP options, and then stuffs the remainder of the
available TCP option space by a AccECN option as large as possible
(preferring the variant, where the changed fields are coming first).

So, it does NOT try not to infringe on the segment's data space, but
rather send out as full as possible AccECN options all the time.

Best regards,
   Richard


Am 29.07.2022 um 20:28 schrieb Neal Cardwell:
> Re:
> https://www.ietf.org/archive/id/draft-ietf-tcpm-accurate-ecn-20.html
> <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
> <mailto: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
>     <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
>     <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
>     <mailto: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/
>     <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
>     <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
>     <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 <mailto:tcpm@ietf.org>
>      > https://www.ietf.org/mailman/listinfo/tcpm
>     <https://www.ietf.org/mailman/listinfo/tcpm>
>
>     --
>     ________________________________________________________________
>     Bob Briscoe http://bobbriscoe.net/ <http://bobbriscoe.net/>
>
>     _______________________________________________
>     tcpm mailing list
>     tcpm@ietf.org <mailto:tcpm@ietf.org>
>     https://www.ietf.org/mailman/listinfo/tcpm
>     <https://www.ietf.org/mailman/listinfo/tcpm>
>
>
> _______________________________________________
> tcpm mailing list
> tcpm@ietf.org
> https://www.ietf.org/mailman/listinfo/tcpm