Re: [tcpm] draft-ietf-tcpm-accurate-ecn-24 addressingallWGLCcomments

Yoshifumi Nishida <nsd.ietf@gmail.com> Tue, 10 October 2023 15:21 UTC

Return-Path: <nsd.ietf@gmail.com>
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 77FF6C151984 for <tcpm@ietfa.amsl.com>; Tue, 10 Oct 2023 08:21:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.105
X-Spam-Level:
X-Spam-Status: No, score=-7.105 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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, 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=gmail.com
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 CGbaW-Zu7E-j for <tcpm@ietfa.amsl.com>; Tue, 10 Oct 2023 08:21:36 -0700 (PDT)
Received: from mail-wm1-x333.google.com (mail-wm1-x333.google.com [IPv6:2a00:1450:4864:20::333]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 16A73C14CF1D for <tcpm@ietf.org>; Tue, 10 Oct 2023 08:21:36 -0700 (PDT)
Received: by mail-wm1-x333.google.com with SMTP id 5b1f17b1804b1-4066241289bso54406175e9.0 for <tcpm@ietf.org>; Tue, 10 Oct 2023 08:21:35 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696951294; x=1697556094; darn=ietf.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=NW1bl7vKzQM4W3eFbFhxPYimyyxFKG94+aWnHFbvHOo=; b=haONTvkjJtAHqjxyeMYte+v9MV1yceFhR7jrBUldNaedS8wcbPqVycDRqvOhg0YhXH uAYahpxWPc+0i8noa+hh/961e1FrA7144DKmEC80gPCGLM/41rpj4BE87K28Y7cqcN6y Vc7pB0BsE4bTPsMuAfUtbrsgKz49PVo3jalz4cTfPCnYNjPL1agFwMS7Ns1FT8jJQDZV 8FeetuKEC3mL6THSjlfqH5KMT2cHugdVHm+OMCV08VLXHw8TY8N9O+AFRXQcNOeSL5ob 697gKTrd774flgfrMC6e+rZgPcWy+RjaPs6mhbq5atvYQGxktPAcptAoa2MNSLRuJ+bi U1DA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696951294; x=1697556094; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=NW1bl7vKzQM4W3eFbFhxPYimyyxFKG94+aWnHFbvHOo=; b=Ae42ftAlT+tV41AhwHHyQC9OILwgC3KqyyzOv2m+uxLyMfJ2vXdie0p+LcCQKqukin rE7VMMjbqBE2k3lrOtFgiv062LvTh4+Fn3tXiwiCznGQRCuB8BEHQZFKU2i1QN8u6pzp Q12MXk7sv6/1EZL07I43RKlrBlsw9ZFulNW9wW4oZztggrp7b0BmiVw8FVNvStP42TW8 EWYVzvZLSXDYFRgoRIzeN8VesF1krDGneBhVotwJKezoS1nPedW77KKaYzMWUTmADgcO v2ftQMEBcQzY8b2qujLFEUbefVS6B6ptJxgu2MY1xg2xyL9V7w64l6SlgifR1hYV1aBt 4h8Q==
X-Gm-Message-State: AOJu0YyFfxgxIpfyt2vgPNr/jhMmP41EmUxWhB6S3f9fDF2cV+qDJ/TZ 6n3MBGXHdOl1k0w34AZhEDLVMmSWm0KDhoaiTuUFYVTAvUQ=
X-Google-Smtp-Source: AGHT+IGSbp+dJ6wdI4PxX7jhPWRxQ7MsEeyAr8Xzf45um3JjLBsBAhnDEAim3cgYmlVikUW2NjOCncryv43/q8upXtI=
X-Received: by 2002:a5d:6a07:0:b0:321:7844:de44 with SMTP id m7-20020a5d6a07000000b003217844de44mr16820232wru.45.1696951293733; Tue, 10 Oct 2023 08:21:33 -0700 (PDT)
MIME-Version: 1.0
References: <556e9011-df92-c163-26c5-512922148289@cs.helsinki.fi> <ef47249e-ba83-9862-d6f0-5d4fadbed43f@bobbriscoe.net> <9741ae21-b8a1-918c-d77a-c46adcfb55f@cs.helsinki.fi> <EAD0BD56-D347-4309-B974-232A7938A24A@fh-muenster.de> <b6f0aa13-eb91-c4f0-4ad8-9344a5673847@cs.helsinki.fi> <CAAK044S6yyRjw8DOyqQqtP-JDH9bnRtO1OoMFozcTWwmvzz1Sw@mail.gmail.com> <09080A45-0B51-4EDE-8EE3-48C6D8B7A7C6@apple.com> <CAAK044TAtH6ZbhXv=5VZn2giLAfcNL8N76agU0Vs0dD253oi5g@mail.gmail.com> <1a19e9e0-6a1e-e839-1634-bdcac29c487f@bobbriscoe.net>
In-Reply-To: <1a19e9e0-6a1e-e839-1634-bdcac29c487f@bobbriscoe.net>
From: Yoshifumi Nishida <nsd.ietf@gmail.com>
Date: Tue, 10 Oct 2023 08:21:22 -0700
Message-ID: <CAAK044SrrcMx9-nRoQLrTL6Mv5xCt2XVvMPSkGNOpWwhDtb9wA@mail.gmail.com>
To: Bob Briscoe <ietf@bobbriscoe.net>
Cc: Markku Kojo <kojo=40cs.helsinki.fi@dmarc.ietf.org>, tuexen@fh-muenster.de, tcpm IETF list <tcpm@ietf.org>, "Bob Briscoe (IC)" <bob_briscoe@apple.com>
Content-Type: multipart/alternative; boundary="000000000000106ff106075e43c8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tcpm/VycpUVfvpaou4wesZ8y2Dn1aJK8>
Subject: Re: [tcpm] draft-ietf-tcpm-accurate-ecn-24 addressingallWGLCcomments
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: Tue, 10 Oct 2023 15:21:40 -0000

Hi Bob,

Thanks for the comments. I am fine with the updated texts.
If other folks have thoughts on this, please share!
--
Yoshi

On Fri, Oct 6, 2023 at 7:42 AM Bob Briscoe <ietf@bobbriscoe.net> wrote:

> Yoshi,
>
> Perhaps slightly better then to modify my text as follows:
>
> BEFORE:
>    b) unless the following check has been added to all its duplicate
> detection algorithms:
> AFTER:
>    b) unless the following check has been added to all its algorithms that
> use duplicate detection:
>
> I've changed the editor's copy, but I won't submit another rev at this
> stage in case there are other changes before WGLC opens.
>
> Bob
>
> On 06/10/2023 09:43, Yoshifumi Nishida wrote:
>
> Hi Bob,
>
> Thanks for the response. I think your proposed text is better.
> But, just in case, let me clarify what I tried to mention in the previous
> text.
> The 'duplicate detection' I meant was the algorithms to check false
> retransmissions such as DSACK, f-rto, or future algorithms for the same
> purpose. (sorry I've used wrong term)
> These are not loss detection algorithms, but I am presuming if we feed the
> dupacks created by ACK-on-ACK to this kind of algorithms, it might confuse
> the logic in some ways.
> Anyways, adding checks to all related logics makes sense to me. But, I
> also think not feeding the info for dupacks by ACK-on-ACK to them can be
> another option although they might mean the same things in the
> implementations.
>
> Thanks,
> --
> Yoshi
>
> On Thu, Oct 5, 2023 at 2:32 PM Bob Briscoe (IC) <bob_briscoe@apple.com>
> wrote:
>
>> Yoshi,
>>
>> I just realised, I should have answered your question below, when I read
>> it… see [BB]
>>
>> On 25 Sep 2023, at 10:02, Yoshifumi Nishida <nsd.ietf@gmail.com> wrote:
>>
>> Hi folks,
>>
>> I think that ECN++ draft explicitly mentions that ECN on pure ACK is
>> prohibited without SACK negotiations. (Section 3.2.3.2)
>> BTW, I am wondering if we could update the following sentence in the
>> ECN++ draft
>>     "If there is no SACK option on the incoming pure ACK despite SACK
>> having been negotiated, it is not a duplicate"¶
>> <https://datatracker.ietf.org/doc/html/draft-ietf-tcpm-generalized-ecn-12#section-3.3.3.1-2.1>
>> by something like
>>   "If there is no SACK option on the incoming pure ACK despite SACK
>> having been negotiated, it is not a duplicated and MUST not be used for any
>> packet loss or packet duplication detection algorithms."
>> Wouldn't it solve the ambiguity on ack on ack at least to some extents?
>>
>>
>> [BB] It would be fine to make it clearer.
>>
>> Is your intention to explicitly add 'packet loss’ algorithms? The
>> sentence that introduces the quoted condition already says it applies to
>> tests for whether an incoming pure ACK is a duplicate. I think that would
>> be the place to say it applies to any duplicate detection algorithm
>> (whether for loss detection or any other purpose, such as the ones Markku
>> has highlighted)
>>
>> But don’t you think it would be *less* clear to mention loss detection
>> explicitly, given not all loss detection uses duplicate detection, and loss
>> detection isn’t the only use of duplicate detection?
>>
>> But I do agree the text could be clearer. How about:
>>
>>
>> CURRENT:
>> 3.3.3.1.
>> <https://datatracker.ietf.org/doc/html/draft-ietf-tcpm-generalized-ecn#section-3.3.3.1>Additional
>> DupACK Check
>> <https://datatracker.ietf.org/doc/html/draft-ietf-tcpm-generalized-ecn#name-additional-dupack-check>
>>
>> A host MUST NOT set ECT on outgoing pure ACKs (Section 3.2.3.2
>> <https://datatracker.ietf.org/doc/html/draft-ietf-tcpm-generalized-ecn#genecn_sec_pure_acks_accecn>)
>> unless it is in AccECN mode and SACK-negotiated mode and it adds the
>> following check when it tests whether an incoming pure ACK (ECN-capable or
>> not) is a duplicate:
>>
>>    - If there is no SACK option on the incoming pure ACK despite SACK
>>    having been negotiated, it is not a duplicate;
>>
>>
>> PROPOSED:
>> 3.3.3.1.
>> <https://datatracker.ietf.org/doc/html/draft-ietf-tcpm-generalized-ecn#section-3.3.3.1>Additional
>> DupACK Check
>> <https://datatracker.ietf.org/doc/html/draft-ietf-tcpm-generalized-ecn#name-additional-dupack-check>
>>
>> A TCP implementation MUST NOT set ECT on outgoing pure ACKs (Section
>> 3.2.3.2
>> <https://datatracker.ietf.org/doc/html/draft-ietf-tcpm-generalized-ecn#genecn_sec_pure_acks_accecn>
>> )
>>
>> a) unless it is in both AccECN mode and SACK-negotiated mode; and
>>
>> b) unless the following check has been added to all its duplicate
>> detection algorithms:
>>
>>    - If there is no SACK option on an incoming pure ACK (ECN-capable or
>>    not) despite SACK having been negotiated, it is not a duplicate.
>>
>>
>> If I’ve missed your point, pls correct me.
>>
>>
>> Bob
>>
>>
>> Thanks,
>> --
>> Yoshi
>>
>> [snip]
>
> --
> ________________________________________________________________
> Bob Briscoe                               http://bobbriscoe.net/
>
>