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

Markku Kojo <kojo@cs.helsinki.fi> Fri, 01 December 2023 18:30 UTC

Return-Path: <kojo@cs.helsinki.fi>
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 B75DFC14F5F8 for <tcpm@ietfa.amsl.com>; Fri, 1 Dec 2023 10:30:34 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.007
X-Spam-Level:
X-Spam-Status: No, score=-7.007 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_ZEN_BLOCKED_OPENDNS=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=cs.helsinki.fi
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 AWtQu0kL2jn8 for <tcpm@ietfa.amsl.com>; Fri, 1 Dec 2023 10:30:29 -0800 (PST)
Received: from script.cs.helsinki.fi (script.cs.helsinki.fi [128.214.11.1]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id BE0C4C14F5F6 for <tcpm@ietf.org>; Fri, 1 Dec 2023 10:30:28 -0800 (PST)
X-DKIM: Courier DKIM Filter v0.50+pk-2017-10-25 mail.cs.helsinki.fi Fri, 01 Dec 2023 20:30:17 +0200
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cs.helsinki.fi; h=date:from:to:cc:subject:in-reply-to:message-id:references :mime-version:content-type:content-id; s=dkim20130528; bh=kPErDt eENHREeAliNcMFrfUnoHyxj2a4nfD1ju/3aiM=; b=hHwr3u0iE5x8bpw9dbvxbS +972lCDzMSAGhvVwM/KyDs2ek8RIdIMBRtuXBnKD1x5mEqdeoRPxTSGDM92XvGMD 4RkEzujzf/cWtzE3HCQ0faFzw/jFziqskgJpgbgj6ThIVI9KSr68RtT/NEUJh3FZ fpNEn71Q6u+NGLNP/KlTc=
Received: from hp8x-60.cs.helsinki.fi (85-76-3-135-nat.elisa-mobile.fi [85.76.3.135]) (AUTH: PLAIN kojo, TLS: TLSv1/SSLv3,256bits,AES256-GCM-SHA384) by mail.cs.helsinki.fi with ESMTPSA; Fri, 01 Dec 2023 20:30:16 +0200 id 00000000005A1222.00000000656A2638.00007431
Date: Fri, 01 Dec 2023 20:30:15 +0200
From: Markku Kojo <kojo@cs.helsinki.fi>
To: Bob Briscoe <ietf=40bobbriscoe.net@dmarc.ietf.org>
cc: tuexen@fh-muenster.de, tcpm IETF list <tcpm@ietf.org>, Richard Scheffenegger <rscheff@gmx.at>, Mirja Kuehlewind <ietf@kuehlewind.net>
In-Reply-To: <db2b052e-a1d9-465c-a947-9d35e0931049@bobbriscoe.net>
Message-ID: <b0ccc7-a09-af39-8326-84bcf7ee4d3f@cs.helsinki.fi>
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>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=_script-29770-1701455417-0001-2"
Content-ID: <832b70ee-de4f-f515-a851-7b3e549aca10@cs.helsinki.fi>
Archived-At: <https://mailarchive.ietf.org/arch/msg/tcpm/1gWoiqsKEGE32ek_Vy5Tpf9Qrdk>
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: Fri, 01 Dec 2023 18:30:34 -0000

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:

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.

Thanks,

/Markku

> Bob