Re: [tcpm] Reminder: WGLC for draft-ietf-tcpm-accurate-ecn-26

Bob Briscoe <ietf@bobbriscoe.net> Sat, 02 December 2023 12:51 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 D2C85C14F61C for <tcpm@ietfa.amsl.com>; Sat, 2 Dec 2023 04:51:49 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.107
X-Spam-Level:
X-Spam-Status: No, score=-7.107 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, RCVD_IN_DNSWL_HI=-5, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, 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 (2048-bit key) header.d=bobbriscoe.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 YL_WWPoy-8Tl for <tcpm@ietfa.amsl.com>; Sat, 2 Dec 2023 04:51:45 -0800 (PST)
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 51CA2C239618 for <tcpm@ietf.org>; Sat, 2 Dec 2023 04:51:43 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=bobbriscoe.net; s=default; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date:Message-ID:Sender :Reply-To: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=qhslPgit2tnj69Zn7bsD5uYap3OFHFkQ9sgFqsVyK1Y=; b=StZub7hSqM0iYt2OpM3bwOsipL haqXDNFnOEImJQadWnjraZXpGkybSClbSFisCd4c2HvN9x1TxmOtCXMbIgeVrOb+mQlPtVxCaSXQP XHS3xAmcv4tKF55tossej1ivOLktL5hcSmDpw57Rb6Hk8nOnLQN0VBGCPocEfOEV/jPtveeXDO1dJ dxfk1rIVvjnMEskNAE8kXf0r/nIrSp2rPenX6M3n/ewZ/m+1qHd6ApdWQgNeJ/REb/NuAq27If6LO CV7Jlrf3kSnaBsiWftuGPhybgaRKvYsgWWJReXbo8wTp5fx4ZVw9PNF3OfZKZTq5ByFAzrYJ/Cult SGwMhGxQ==;
Received: from 67.153.238.178.in-addr.arpa ([178.238.153.67]:41884 helo=[192.168.1.29]) by ssdrsserver2.hostinginterface.eu with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96.2) (envelope-from <ietf@bobbriscoe.net>) id 1r9PTL-0006Q4-2f; Sat, 02 Dec 2023 12:51:41 +0000
Message-ID: <b7fe60c0-f4f9-4bf3-b88b-f98f3c3d7eb3@bobbriscoe.net>
Date: Sat, 02 Dec 2023 12:51:39 +0000
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Content-Language: en-GB
To: Markku Kojo <kojo=40cs.helsinki.fi@dmarc.ietf.org>
Cc: tuexen@fh-muenster.de, tcpm IETF list <tcpm@ietf.org>, Richard Scheffenegger <rscheff@gmx.at>, Mirja Kuehlewind <ietf@kuehlewind.net>
References: <1204E97B-9524-4C9F-8D06-7F81E1F28A6F@fh-muenster.de> <347C33E0-FDFD-4ED9-93FD-397AE361D6DE@cs.helsinki.fi> <fffb488d-913c-4a01-b88b-f9dbb02f4a62@gmx.at> <8F99166D-0DF3-49E0-81A2-72FDD510DAFF@fh-muenster.de> <bd7b276-d1e-b6b0-261f-d8d8e8451f59@cs.helsinki.fi> <032c3a88-22d7-4c87-b924-f5728084a39b@bobbriscoe.net> <be433655-1f8a-ccb5-a3a5-4cd0e8e3c2ee@cs.helsinki.fi> <db2b052e-a1d9-465c-a947-9d35e0931049@bobbriscoe.net> <b0ccc7-a09-af39-8326-84bcf7ee4d3f@cs.helsinki.fi>
From: Bob Briscoe <ietf@bobbriscoe.net>
In-Reply-To: <b0ccc7-a09-af39-8326-84bcf7ee4d3f@cs.helsinki.fi>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 8bit
X-MagicSpam-TUUID: b9de60d9-02a3-47b6-8715-b1c928dc06af
X-MagicSpam-SUUID: 709cb642-174d-40bb-862b-fd0096c6007a
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/DUaVY62_QC5fBLIY8XbyyARvlC4>
Subject: Re: [tcpm] Reminder: WGLC for draft-ietf-tcpm-accurate-ecn-26
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: Sat, 02 Dec 2023 12:51:49 -0000

Markku, See [BB3] x2

On 01/12/2023 18:30, Markku Kojo wrote:
> Bob,
>
> thank you for clarifying the intent of the Increment-Triggered ACKs 
> rule. Please find in the end one question clarifying it further 
> (tagged [MK2]. I snipped the other earlier texts.
>
> On Fri, 17 Nov 2023, Bob Briscoe wrote:
>
> [snip]
>
>>                   Finally, the draft uses expression "newly delivered 
>> data"
>>             for "data segment". Why? No other TCP
>>                   spec uses "newly delivered data" and we have an 
>> established
>>             expression for it in the RFC series
>>                   (i.e., data segment). Using the established 
>> expression would
>>             be unambiguous.
>>
>>
>>             [BB] Fine. Will change, as below...
>
> [snip]
>
>>             PROPOSED:
>>              3.2.2.5.1. Packet Receiver Safety Procedures
>>
>>             The following rules define when the receiver of a packet 
>> in AccECN
>>             mode emits an ACK:
>>
>>             Change-Triggered ACKs: An AccECN Data Receiver SHOULD 
>> emit an ACK
>>             whenever a data packet marked CE arrives
>>             after the previous packet was not CE.
>>             ...
>>             Increment-Triggered ACKs:   An AccECN receiver of a 
>> packet MUST
>>             emit an ACK if 'n' CE marks have arrived since
>>             the previous ACK. If there is data to acknowledge, 'n' 
>> SHOULD be
>>             2. If there is no data to acknowledge, 'n'
>>             SHOULD be 3 and MUST be no less  than 3. In either case, 
>> 'n' MUST
>>             be no greater than 7.</t>
>>             ...
>>
>>
>>       [MK] I am afraid this still reads ambiguous to me. What does 
>> "if there is
>>       data" exactly mean? Where does 'there' refer to: 1) data pkt or 
>> 2) AccECN pkt
>>       receiver? To me there are two equally likely interpretations:
>>
>>       1) Arriving packet is data packet (carries data to 
>> acknowledge). In this case
>>       it should read something like "When a data packet arrives, 'n' 
>> SHOULD be 2."
>>       to make it unambiguous.
>>
>>       2) There is unacknowledged data at the receiver when a new 
>> packet arrives
>>       (either a data packet or non-data packet). For example, the 
>> following scenario
>>       fulfills the criteria for this interpretation:
>>
>>        0. Data packet marked CE arrives and gets Acked
>>        1. Data packet marked CE arrives but is not Acked (due to
>>           delayed Ack mechanism and because no AckECN rule requires it)
>>        2. Pure ACK marked CE arrives and gets Acked because there is 
>> data
>>           to acknowledge and n=2.
>>
>>       I believe item 1) is the intended interpretation but the 
>> previous text as well
>>       as the new proposed text allows for me the interpretation in 
>> the item 2) as
>>       well.
>>
>>
>> [BB2] Your phrase "unacknowledged data" is what we meant by "newly 
>> delivered data". I
>> don't know why we didn't think to use that phraseology. The 
>> unacknowledged data does not
>> have to be in the last packet to have arrived, for n=2. But for n=3, 
>> clearly none of the
>> packets to arrive since the last ACK, including the last, can have 
>> carried any data. So
>> here is the new proposed text.
>>
>>       Increment-Triggered ACKs:  An AccECN receiver of a packet MUST 
>> emit an ACK if
>>       'n' CE marks have arrived since the previous ACK. If there is 
>> unacknowledged
>>       data at the receiver, 'n' SHOULD be 2. If there is no 
>> unacknowledged data at
>>       the receiver, 'n' SHOULD be 3 and MUST be no less  than 3. In 
>> either case, 'n'
>>       MUST be no greater than 7.
>
> [MK2] Ok, thanks. This clarifies it. I somehow though it meant "data 
> packet". But I need to clarify it further to fully understand the 
> behaviour in all cases:

[BB3] If you thought the only instance of 'packet' meant 'data packet' 
you would have thought there were no ACKs of ACKs, and you would not 
have been arguing against AoAs for the past few months.

>
> Text does not say anything about the existing rules on generating 
> ACKs. Am I correct that it means that all existing rules in RFC 9293 
> and RFC 5681 (and maybe elsewhere) are still valid and these AccECN 
> rules for generating ACKs do not override any of them but just ensure 
> that enough ACKs are generated timely in case the existing rules for 
> some reason do not generate an ACK soon enough? That is, these AccECN 
> rules just send out additional ACKs.

[BB3 The wording "since the previous ACK" allows only one interpretation.

It does not say that it only counts from ACKs that the algorithm itself 
generated, and it does not say it replaces other algorithms. Similarly, 
the wording in RFC9293, RFC5681, etc does not say it only counts from 
ACKs generated by the algorithm itself, so it also does not need to 
state that it supplements other ACK generation algorithms.




Bob
>
> Thanks,
>
> /Markku
>
>> Bob

-- 
________________________________________________________________
Bob Briscoe                               http://bobbriscoe.net/