Re: [tcpm] Summary of updates in draft-ietf-tcpm-accurate-ecn-17

"Scheffenegger, Richard" <rs.ietf@gmx.at> Sun, 20 March 2022 15:05 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 29B9C3A0D2A for <tcpm@ietfa.amsl.com>; Sun, 20 Mar 2022 08:05:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.91
X-Spam-Level:
X-Spam-Status: No, score=-1.91 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_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=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 ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qQR6y9t_WRcK for <tcpm@ietfa.amsl.com>; Sun, 20 Mar 2022 08:05:12 -0700 (PDT)
Received: from mout.gmx.net (mout.gmx.net [212.227.15.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 868B43A0D1B for <tcpm@ietf.org>; Sun, 20 Mar 2022 08:05:11 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1647788709; bh=v8++vBw49gWJ6Hevy3IR3tD5XUMLThQoGIjhNmemHgs=; h=X-UI-Sender-Class:Date:Subject:To:References:From:In-Reply-To; b=DiPUhDzdac6UGoPHRcA6/CoG0nZow0m9awnAOzBFhq9vHQtGnoNtKm66v+WpWFR70 wk/pvCwA1YqEf76IjFaZpW1jqICn5oXfXuletxMRI6fP8wy35HLvDAPI1ZOCXIAWNR oHXHAxrx/5fduRBbgDTYRBwOIYniM7jQMDIPhPWU=
X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c
Received: from [31.133.136.196] ([31.133.136.196]) by mail.gmx.net (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1McH5a-1o6OrZ2vmO-00clO6 for <tcpm@ietf.org>; Sun, 20 Mar 2022 16:05:09 +0100
Message-ID: <4f011c30-2d4d-a9b8-118b-62ab8227546b@gmx.at>
Date: Sun, 20 Mar 2022 16:05:09 +0100
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0
To: tcpm@ietf.org
References: <164669506897.29288.5626108129531513971@ietfa.amsl.com> <2603fe69-5d17-f23b-53cb-b69690673f7d@bobbriscoe.net> <CAAK044TktHx7pKmv1F=BbFaqdfAdjpE_YT=FJf_yfi1AeFHRAg@mail.gmail.com>
From: "Scheffenegger, Richard" <rs.ietf@gmx.at>
In-Reply-To: <CAAK044TktHx7pKmv1F=BbFaqdfAdjpE_YT=FJf_yfi1AeFHRAg@mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: quoted-printable
X-Provags-ID: V03:K1:lRiVEXkiLi4S7Fqi84aDVxUExvIZFmxR+hob7qhxyu+geHpl1W2 t3QL1rCVc+5vtwOIt3oTKvwsbj6wr7ucbjuuHz+Wvh3Sj2alSjh7BZGvkQGvIRxNjw5mGX9 1DBJ6gVm1Mwo5f5B4BE0zuj1aDtL1uUx8mMATV5TweMbkxvNs2XQfprk5zM64zVDyEwRMw7 yEhxi0x2lgpgNteANJ6Hw==
X-UI-Out-Filterresults: notjunk:1;V03:K0:AUp/s+Sc7p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IQL27W5zGGZE+spgyzjhFX1b98HbY I0pSdb5zCfUrdU=
Archived-At: <https://mailarchive.ietf.org/arch/msg/tcpm/_FG5bAE6NoU0CxCTPadUhFMiJTQ>
Subject: Re: [tcpm] Summary of updates in draft-ietf-tcpm-accurate-ecn-17
X-BeenThere: tcpm@ietf.org
X-Mailman-Version: 2.1.29
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: Sun, 20 Mar 2022 15:05:18 -0000

Hi Yoshi,

by design, the AccECN counters (ACE and Option) are strictly
monotonically increasing.

While it may be possible for reordering to be problematic with the ACE
counter (during also high ACK loss, reordering and forward path marking
- all of which would need to coincide), this is much less of a problem
with the full 24-bit counters in the option.


On the upside, not tracking which counter was relevant with the original
segment's data payload dramatically reduces the implementation
complexity in the receiver.

Best regard,
    Richard


Am 20.03.2022 um 10:50 schrieb Yoshifumi Nishida:
> Hi Bob,
>
>   * 'that acknowledges new data' -> 'if any byte counter has incremented
>     since the last ACK' {*includes new markings on retransmssions*}
>
> Does this mean when you retransmit a packet, the acc option in the
> packet should be updated to contain the latest info?
> If we do this, wouldn't it be hard for the receivers to tell which
> packet contains the most recent info when there's reordering?
> --
> Yoshi
>
> On Mon, Mar 7, 2022 at 3:26 PM Bob Briscoe <ietf@bobbriscoe.net
> <mailto:ietf@bobbriscoe.net>> wrote:
>
>     tcpm-ers,
>
>     The AccECN draft has just been updated to roll up all the changes
>     over the last month since draft-16 (3 Feb 22).
>     https://datatracker.ietf.org/doc/html/draft-ietf-tcpm-accurate-ecn
>     <https://datatracker.ietf.org/doc/html/draft-ietf-tcpm-accurate-ecn>
>     All the changes have already been discussed on this list, but they
>     are enumerated below for convenience. The last normative change
>     below about ACK filtering has been discussed before, but the precise
>     wording hasn't been posted to the list until now.
>
>     As always, the full diff can be accessed from the datatracker (via
>     the above link).
>
>     Normative (Changes intended to make a technical difference are *in
>     bold*)
>
>       * §3.1.1
>         <https://www.ietf.org/archive/id/draft-ietf-tcpm-accurate-ecn-17.html#section-3.1.1>:
>         Negotiation during the TCP handshake
>         Reordered the requirements for feeding back the incoming IP-ECN
>         field on the SYN-ACK to make more sense {no technical change,
>         just clearer}
>       * §3.2
>         <https://www.ietf.org/archive/id/draft-ietf-tcpm-accurate-ecn-17.html#section-3.2>:
>         AccECN Feedback
>         made "MUST increment byte counters" conditional on support for
>         sending of the AccECN TCP Option
>       * §3.2.2.3
>         <https://www.ietf.org/archive/id/draft-ietf-tcpm-accurate-ecn-17.html#section-3.2.2.3>:
>         Testing for Mangling of the IP/ECN Field
>         If continuous CE-marking is detected, Data Sende:
>           o SHOULD NOT send ECN-capable packets and *then SHOULD NOT
>             respond to any ECN feedback* {added second part of this
>             requirement}
>           o *Throughout, it MUST remain in the AccECN feedback mode*
>             {additional requirement}
>           o and it MUST continue to feed back any ECN markings on
>             arriving packets (in its role as Data Receiver) {just
>             reworded a bit}
>       * §3.2.2.5.1
>         <https://www.ietf.org/archive/id/draft-ietf-tcpm-accurate-ecn-17.html#section-3.2.2.5.1>:
>         Data Receiver Safety Procedures
>         Increment-Triggered ACKs:
>           o Clarified that the condition about 'new data' means 'newly
>             delivered data' {no difference in meaning, just clearer}
>           o Changed to 'In either case, *'n' MUST be no greater than
>             7*.' (was 6)
>       * §3.2.3.3
>         <https://www.ietf.org/archive/id/draft-ietf-tcpm-accurate-ecn-17.html#section-3.2.3.3>:
>         Usage of the AccECN TCP Option
>         Condition for 'SHOULD include an AccECN TCP Option on every
>         scheduled ACK':
>           o 'that acknowledges new data' -> 'if any byte counter has
>             incremented since the last ACK' {*includes new markings on
>             retransmssions*}
>       * §3.3.3
>         <https://www.ietf.org/archive/id/draft-ietf-tcpm-accurate-ecn-17.html#section-3.3.3>:
>         Requirements for TCP ACK Filtering
>           o 'SHOULD preserve the correct operation of AccECN feedback'
>             {*previously it described how this SHOULD be done, now it
>             just gives the high level requirement*}
>
>
>     Technical
>
>       * §3.2.1
>         <https://www.ietf.org/archive/id/draft-ietf-tcpm-accurate-ecn-17.html#section-3.2.1>:
>         Initialization of Feedback Counters
>         Made initialization of ECT(1) feedback counter r.e1b the same as
>         r.e0b, now that we have the two different TCP Option orders.
>
>
>     Editorial
>
>       * Made other parts of the spec consistent with the above changes
>       * Called out the updates to other RFCs in the abstract
>       * Increased depth of table of contents to 4 (was 3)
>       * Added titles to all tables (xml2rfc now adds a 'Table xx'
>         caption to the HTML rendering whether or not there is a caption
>         title, and even if suppress-title=true i enabled).
>       * Other minor edits
>
>
>
>     Bob
>
>     On 07/03/2022 23:17, 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-17.txt
>>     	Pages           : 60
>>     	Date            : 2022-03-07
>>
>>     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, updating
>>         BCP 69 with respect to ACK filtering.
>>
>>
>>     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-17.html  <https://www.ietf.org/archive/id/draft-ietf-tcpm-accurate-ecn-17.html>
>>
>>     A diff from the previous version is available at:
>>     https://www.ietf.org/rfcdiff?url2=draft-ietf-tcpm-accurate-ecn-17  <https://www.ietf.org/rfcdiff?url2=draft-ietf-tcpm-accurate-ecn-17>
>>
>>
>>     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 Briscoehttp://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