[tcpm] Errata RFC9438 (Cubic)

"Scheffenegger, Richard" <rs.ietf@gmx.at> Fri, 09 February 2024 16:23 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 6C1BAC14F680 for <tcpm@ietfa.amsl.com>; Fri, 9 Feb 2024 08:23:07 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.104
X-Spam-Level:
X-Spam-Status: No, score=-7.104 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, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, 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=gmx.at
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 KTzboj2Bqciu for <tcpm@ietfa.amsl.com>; Fri, 9 Feb 2024 08:23:03 -0800 (PST)
Received: from mout.gmx.net (mout.gmx.net [212.227.15.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 22D26C14F5FF for <tcpm@ietf.org>; Fri, 9 Feb 2024 08:23:02 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.at; s=s31663417; t=1707495781; x=1708100581; i=rs.ietf@gmx.at; bh=+rVseAmwwSFpcmQvfd0wS1BuWscskFL1ngluqlgSDx4=; h=X-UI-Sender-Class:Date:Reply-To:To:From:Subject; b=MrlU+CH5DjqT6Etktx+G94RPz3MTkkoEufwj8sfHqyXNTLyR8eTI6kL60Gbttv2N Ym69cBRrb/D9qKXp8FHOFiWOwuAAmO/2+esgQZKGtM/eWzXbPoVVcxgsKb3SuLD2m nm/zKew9AS9JzmMKvGu5ojtN5zZ7lYMyAz2RNMtQm3Z4FuRnxKbv7O0zNiImq+sL7 lyjTO6MoKiUapVvmriqsUZaSlGOlX4bsj8TRrR2v7bIMjT6Ly90XuZueB5dTK100/ iu3w+o0hN94trizMbWlWivmGpf9PGioj9gJbvo61fzAKTYFNdW506HlwKqiTMiilF DQts9e0fSYeQRoachw==
X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a
Received: from [192.168.233.122] ([185.236.167.136]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MNt0M-1rNOtI45l2-00OGlb; Fri, 09 Feb 2024 17:23:01 +0100
Message-ID: <60ba9be5-6738-409a-af34-2ff6e5ec5fd9@gmx.at>
Date: Fri, 09 Feb 2024 17:22:59 +0100
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Reply-To: rs.ietf@gmx.at
To: "tcpm@ietf.org" <tcpm@ietf.org>, rfc9438@ietf.org
From: "Scheffenegger, Richard" <rs.ietf@gmx.at>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: quoted-printable
X-Provags-ID: V03:K1:aDTvQBLH2iF/0dD8zhaV2nvZ+Ajamu7aI1CJQtqfNk3QiKJVHTP pksX+iV7a1/vceYhjKhnZrsTgNPiBrxTg60bgYt631x5Q0tjYv+QXtcsW1NYBS0bINGlLa2 M+raLGv8bQ2HaKsXGGPAQ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FC9438 (Cubic)
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, 09 Feb 2024 16:23:07 -0000

Hi,

Lately I've been looking at the TCP behavior when multiple events
overlap (e.g. RTO while loss recovery is not complete; or duplicate ACKs
immediately after RTO before snd_nxt reaches snd_max again).

I believe there is an implicit assumption in the Cubic RFC around
cwnd_prior to track Flight Size - which does not always hold (but
depends also on the specific implementation).

RFC5681 is quite clear, that ssthresh is to be adjusted after an RTO,
not by taking cwnd, but rather the FlightSize.

The wording in RFC9438 appears to overrule this (as it updates RFC5681)
and reverts back to how ssthresh got set prior to RFC5681, using cwnd
directly again.


As mentioned, cwnd does not always reliably track Flight Size (in
particular, early on after initiating Loss Recovery, it may only be 1
MSS). If an RTO happens and the text in RFC9438 is followed verbatim,
ssthresh may end up being updated to cwnd * beta_cubic (0.7), instead of
the Flight Size at this stage of Loss Recovery...


I hope the errata, to clear up that the RFC5681 guidance as how to
adjust ssthresh on an RTO based on Flight Size, not cwnd, is found
useful - since it appears to me that this was clearly the intent.

Best regards,
   Richard