Re: [tcpm] Errata RFC9438 (Cubic)

Yoshifumi Nishida <nsd.ietf@gmail.com> Sat, 10 February 2024 11:53 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 DBE53C14F689 for <tcpm@ietfa.amsl.com>; Sat, 10 Feb 2024 03:53:53 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.104
X-Spam-Level:
X-Spam-Status: No, score=-2.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, HTML_MESSAGE=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_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 (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 pMrihGAQMjYQ for <tcpm@ietfa.amsl.com>; Sat, 10 Feb 2024 03:53:50 -0800 (PST)
Received: from mail-wm1-x329.google.com (mail-wm1-x329.google.com [IPv6:2a00:1450:4864:20::329]) (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 09A2CC14F747 for <tcpm@ietf.org>; Sat, 10 Feb 2024 03:53:49 -0800 (PST)
Received: by mail-wm1-x329.google.com with SMTP id 5b1f17b1804b1-4108fe880e5so2923145e9.2; Sat, 10 Feb 2024 03:53:49 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1707566028; x=1708170828; 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=BsBM2fyPx6ugnpBjyXyR1Ic5R6TggAETE+xs/YzenUU=; b=fszV4lRUehEI1O32HSIkZqDiexBfE8WfS+Rpm3lV209swq1zRka5Vu9Nurca8wVl8r eTzgydC7yxNFgC3XOCYiE0EdezXsEL15E5W15dPHHOfV8G29Z0mftgDGlXknTw9p2Sb0 KvIJXhdIVLPiKblDeWiAqpaj7uMzEvGyRySLPe+vsH8FDRBce0d+9SWUbw+nZl2wzSu7 Ar5Ash40TUK3JEh/cqesatgeFL31Pr+YSgfvqLtlS9zGcAWK5UDyjAAfyKGd0fHlUBmS YIXMjvDHaVqlbaPIudQ6SoY7aNX1uWEp6UiiIz2sU0YXH2UeSo/EYjMdKOZwMCl5NGFf vDFg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707566028; x=1708170828; 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=BsBM2fyPx6ugnpBjyXyR1Ic5R6TggAETE+xs/YzenUU=; b=DF/rx8eOazFWvVKIk1MHsqt7dp7haPKk8fGJEBC5VVqpQua38UyrVNVz3aPty55i4D XexWAgl4JLs23fjYDwGH0Yzb+Ny/NUPBs6pyeED5939LXTFyJ2bmsQBouTuS/O/NHl8S yyR8LYIpU4z53CWSpZ/AUixOsh6AR/snJKMjOHuHpPN6s4xrdx1dgWJNQaIhBMtGrxML sjMpjDQUpP4MR/N9molnFb8D9tYHuZmwHdZhX5o9daBwY+/yAy3ZpxX/S1IffqRa7mFg SpKpC0t+KQ6Ung487t0fvmald/MFSWw1leoU1uWHc1ri23X6M2eM+TWAmvMmo+w35J0r OMPQ==
X-Gm-Message-State: AOJu0YxgtfscNNqQunlPSWcI5Jrdw77EKPlsDqM25XIEHoCeSlhLtopK BApmd/KHdzdXFk3C3BSmjjOPqngfzrMjR/uAYKD3k2qsqR1kdYSFaAR7WzWgQIXLHL3ostQSVM6 sLTh6Fuu4BuR9vNP7jHLay6mBvAod8pU0
X-Google-Smtp-Source: AGHT+IGD7zDFw03wHjxkAuEWBLbgjjQNMm7XknCg+wxv74vHHGwE0gAQIjBsyJDzkZgbzDOvwbsk1/6XTJoEWRL2lRY=
X-Received: by 2002:adf:f686:0:b0:33b:64c6:fa4b with SMTP id v6-20020adff686000000b0033b64c6fa4bmr1160013wrp.11.1707566028032; Sat, 10 Feb 2024 03:53:48 -0800 (PST)
MIME-Version: 1.0
References: <60ba9be5-6738-409a-af34-2ff6e5ec5fd9@gmx.at>
In-Reply-To: <60ba9be5-6738-409a-af34-2ff6e5ec5fd9@gmx.at>
From: Yoshifumi Nishida <nsd.ietf@gmail.com>
Date: Sat, 10 Feb 2024 03:53:36 -0800
Message-ID: <CAAK044SgBF0H8x=hJfNAMvGszLdqsoQZQA0oVmTwhcz8kh=whg@mail.gmail.com>
To: rs.ietf@gmx.at
Cc: "tcpm@ietf.org" <tcpm@ietf.org>, rfc9438@ietf.org
Content-Type: multipart/alternative; boundary="000000000000880fe7061105b262"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tcpm/zdtNLuv3db5Dxm1ldf5g28jBRuI>
Subject: Re: [tcpm] Errata RFC9438 (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: Sat, 10 Feb 2024 11:53:53 -0000

Hi Richard,

I am wondering about cases like this.
Say a sender sends 10 packets (cwnd=10) during slow-start and the receiver
sends back a single ack that acknowledges all packets.
Then,  hystart or hystart++ at the sender decides to exit slow-starts from
the RTT and set ssthresh.
I think flighsize will be 0 in this situation, but would it be OK?
--
Yoshi


On Fri, Feb 9, 2024 at 8:23 AM Scheffenegger, Richard <rs.ietf=
40gmx.at@dmarc.ietf.org> wrote:

> 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
>
> _______________________________________________
> tcpm mailing list
> tcpm@ietf.org
> https://www.ietf.org/mailman/listinfo/tcpm
>