[tcpm] Cubic after RTO

"Scheffenegger, Richard" <rs.ietf@gmx.at> Thu, 22 February 2024 14:10 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 048B3C14F6FB for <tcpm@ietfa.amsl.com>; Thu, 22 Feb 2024 06:10:27 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.102
X-Spam-Level:
X-Spam-Status: No, score=-2.102 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_BLOCKED=0.001, RCVD_IN_MSPIKE_H3=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_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=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 6wmG7a_Ulnyp for <tcpm@ietfa.amsl.com>; Thu, 22 Feb 2024 06:10:22 -0800 (PST)
Received: from mout.gmx.net (mout.gmx.net [212.227.17.21]) (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 1D4E8C14F6F3 for <tcpm@ietf.org>; Thu, 22 Feb 2024 06:10:21 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.at; s=s31663417; t=1708611013; x=1709215813; i=rs.ietf@gmx.at; bh=r2kDgRDezb5AqEqYDJCNHXCGczzqOpiskrwMS3FgtrY=; h=X-UI-Sender-Class:Date:Reply-To:To:From:Subject; b=YvY7L2zn27oNM0p1vCXfff9Sd8mEINds/5TPya2XwEhWoalAnjopCAVE7wizZEl0 Tsc537z/k91u0p/FRoFCmgkYIQm+lleUNyqtTeaHKzRsVlBqHoZeV2IU726FBYpB2 YKcsooq0nolxaThF9X4QaFd3F56t9XWSXkeh6eHsUNUMS7VsGJUJ43R7xCRJHXvxR Uz9IBCnCmu7CvTER822bRb/aQF+87+lpKmDAYX7cIOR1oCvJMjpDaCXpiKkDUhS9+ Kgj+FvRYbkEQHZ9UxMQ+e3pKXGwJ6aJd0LT1pm3B0N7aaPsOQAoH9mSvHvJCxJen/ AiPljjNQw0C7tOcqRg==
X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a
Received: from [10.249.67.244] ([217.70.210.60]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1Mi2Jt-1qzP2y2NkX-00e41U; Thu, 22 Feb 2024 15:10:13 +0100
Message-ID: <efae63cc-1de2-4a20-9379-80a2067a67a5@gmx.at>
Date: Thu, 22 Feb 2024 15:10:12 +0100
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Reply-To: rs.ietf@gmx.at
To: "tcpm@ietf.org" <tcpm@ietf.org>, Vidhi Goel <vidhi_goel@apple.com>, Yuchung Cheng <ycheng@google.com>, Neal Cardwell <ncardwell@google.com>
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:dqleh1NexhTyTcju/1Yd2NA9dbgzCtOoITFDOpRuQ3PFrl5MM2t z4s5RdBIT/FRrB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Archived-At: <https://mailarchive.ietf.org/arch/msg/tcpm/u2Amx4dPTmo4Z0v3RBsqJ_SLyxQ>
Subject: [tcpm] Cubic after RTO
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: Thu, 22 Feb 2024 14:10:27 -0000

Group,

I need some help to understand where I seem to be missing something
around RFC9438 (Cubic) and the Behavior after RTO...

   > During the first congestion avoidance stage after a timeout, CUBIC
   > increases its congestion window size using Figure 1, where t is the
   > elapsed time since the beginning of the current congestion avoidance
   > stage, K is set to 0, and Wmax is set to the congestion window size
   > at the beginning of the current congestion avoidance stage. In
   > addition, for the Reno-friendly region, West SHOULD be set to the
   > congestion window size at the beginning of the current congestion
   > avoidance stage.

Let's assume, the RTT is around 10ms, and there is one CC event every 10
RTTs - or 100ms.

Now, with the above definition, if now a chain of RTOs happen, t_epoch
is not reset at all, but may be many orders of magnitute in time in the
past, compared with the "steady state" - especially when there are a
number of subsequent RTOs with exponential backoff.

As K is also reset, the next ACK after RTO received will result in cwnd
to be calculated (by fig 1)

Wcubic(t) = C * (t - K)^3 + Wmax

With C = 0.4, K = 0, and t may be even higher than 60 sec - and not the
"normal" 0.1 sec. This results in cwnd to be set to 0.4 * 60^3 + Wmax
[segments] 86400 segments + the prior maximum cwnd - which doesn't sound
correct...


What is the linux implementation (as the baseline) actually doing after
RTO here?

Thanks,
   Richard