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

Bob Briscoe <ietf@bobbriscoe.net> Mon, 21 March 2022 01:08 UTC

Return-Path: <ietf@bobbriscoe.net>
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 812F23A1723 for <tcpm@ietfa.amsl.com>; Sun, 20 Mar 2022 18:08:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.109
X-Spam-Level:
X-Spam-Status: No, score=-2.109 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, HTML_MESSAGE=0.001, NICE_REPLY_A=-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 (2048-bit key) header.d=bobbriscoe.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 o4kQ9NjXLJq4 for <tcpm@ietfa.amsl.com>; Sun, 20 Mar 2022 18:08:16 -0700 (PDT)
Received: from mail-ssdrsserver2.hostinginterface.eu (mail-ssdrsserver2.hostinginterface.eu [185.185.85.90]) (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 82C0A3A171F for <tcpm@ietf.org>; Sun, 20 Mar 2022 18:08:15 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=bobbriscoe.net; s=default; h=In-Reply-To:From:References:Cc:To:Subject: MIME-Version:Date:Message-ID:Content-Type:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=Mz3k9zXidbVcAWmEk3oO7pD/qm+PFOTTbCv25TT1q7E=; b=YmzKGoGN/qsP24SBcWXuDhjWVU C9rpf9Um9bVwffnwzApUs4knCf+JEmwDWP+BZmfYPHGY0I6Pnc5gDTcx26Lzs2YmKjDIkBlCaiyjL ae3HAgMeCVDSNyFcbdXYfpSDCXdbLH6Vf7Isgg2WKt53RfcSgUQqCPi2lsw9nqltToSWBsQHf8lUw Rp7PiqENZSWQFFE3qcai3XOIAfjp3ybx71zAz/umIA9XDqd4BmBrMqjF9yrzemulIxryj6F/A7iWi f7jM1hJspKpYVHiPiutGBu6vrtkyOXPV3n4gxpdFPpT9UZBdJ+WjfvOuGSoWk64UXqzNloZPY2Y+J hwgfZbyQ==;
Received: from 67.153.238.178.in-addr.arpa ([178.238.153.67]:50706 helo=[192.168.1.11]) by ssdrsserver2.hostinginterface.eu with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from <ietf@bobbriscoe.net>) id 1nW6Wt-0005KH-ER; Mon, 21 Mar 2022 01:08:13 +0000
Content-Type: multipart/alternative; boundary="------------0KhJua83mYBTRpPEHDZ7k3Ck"
Message-ID: <04b9bfd1-0f13-2b7c-3442-bfb414246a50@bobbriscoe.net>
Date: Mon, 21 Mar 2022 01:08:11 +0000
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0
Content-Language: en-GB
To: Yoshifumi Nishida <nsd.ietf@gmail.com>
Cc: "tcpm@ietf.org Extensions" <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: Bob Briscoe <ietf@bobbriscoe.net>
In-Reply-To: <CAAK044TktHx7pKmv1F=BbFaqdfAdjpE_YT=FJf_yfi1AeFHRAg@mail.gmail.com>
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - ssdrsserver2.hostinginterface.eu
X-AntiAbuse: Original Domain - ietf.org
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - bobbriscoe.net
X-Get-Message-Sender-Via: ssdrsserver2.hostinginterface.eu: authenticated_id: in@bobbriscoe.net
X-Authenticated-Sender: ssdrsserver2.hostinginterface.eu: in@bobbriscoe.net
X-Source:
X-Source-Args:
X-Source-Dir:
Archived-At: <https://mailarchive.ietf.org/arch/msg/tcpm/nxIK7nVwGcNjseyElDAHr6LkLJo>
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: Mon, 21 Mar 2022 01:08:22 -0000

Yoshi,

On 20/03/2022 09:50, Yoshifumi Nishida wrote:
> 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?

[BB] Yes and No (I don't think so, but perhaps I misunderstand your 
question).

For first question: see end of §3.2, which has been there since the 
start of AccECN:

    Whenever a host feeds back the value of any counter, it MUST report
    the most recent value, no matter whether it is in a pure ACK, an ACK
    with new payload data or a retransmission.  Therefore the feedback
    carried on a retransmitted packet is unlikely to be the same as the
    feedback on the original packet.

For second question, when you say "the receiver"
* if you mean the Data Receiver (i.e. the sender of the feedback), it 
doesn't need to know. It just increments its counters in whatever order 
markings arrive, whether on retransmissions or not, and feeds back the 
latest counter.
* if you mean the Data Sender, see A.1 or A.2.1 where the example 
algorithms at the Data Sender check whether a packet is superseded 
(based on ackno, sack & timestamps if available) before using the feedback.

Does that answer your questions?


Bob

> --
> Yoshi
>
> On Mon, Mar 7, 2022 at 3:26 PM Bob Briscoe <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
>     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 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/
>>
>>     There is also an HTML version available at:
>>     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
>>
>>
>>     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 Briscoehttp://bobbriscoe.net/
>
>     _______________________________________________
>     tcpm mailing list
>     tcpm@ietf.org
>     https://www.ietf.org/mailman/listinfo/tcpm
>

-- 
________________________________________________________________
Bob Briscoehttp://bobbriscoe.net/