Re: [L4s-discuss] Entering CWR state during the loss recovery algorithm (NewReno, SACK)

Neal Cardwell <ncardwell@google.com> Wed, 20 December 2023 16:57 UTC

Return-Path: <ncardwell@google.com>
X-Original-To: l4s-discuss@ietfa.amsl.com
Delivered-To: l4s-discuss@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C4FB5C14F5EA for <l4s-discuss@ietfa.amsl.com>; Wed, 20 Dec 2023 08:57:52 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -22.607
X-Spam-Level:
X-Spam-Status: No, score=-22.607 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, ENV_AND_HDR_SPF_MATCH=-0.5, 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, USER_IN_DEF_DKIM_WL=-7.5, USER_IN_DEF_SPF_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=google.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 bOPgwnpM3YZe for <l4s-discuss@ietfa.amsl.com>; Wed, 20 Dec 2023 08:57:50 -0800 (PST)
Received: from mail-ua1-x933.google.com (mail-ua1-x933.google.com [IPv6:2607:f8b0:4864:20::933]) (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 EEA68C14E515 for <l4s-discuss@ietf.org>; Wed, 20 Dec 2023 08:57:50 -0800 (PST)
Received: by mail-ua1-x933.google.com with SMTP id a1e0cc1a2514c-7c45acb3662so787024241.0 for <l4s-discuss@ietf.org>; Wed, 20 Dec 2023 08:57:50 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1703091470; x=1703696270; 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=/RZpKkoX/3mj+j5HwmBji1AiNyXJIb8/z6ur3yps4Jw=; b=QNTLssamQTj5ymH25wncc7+EMbV8cmuSjclnAWmQGK5aVUr/rsEqgIY1HkVYdnes9I qkm7sX9IdjelzfC3KPO9rczXF21rqX5AYGwQ5ITjiVlVHP1cPws+C0D+MFlZVxvoHgve /7qhpilt+0BdXjbnHanJ8ACKlZsNBLfF2o4ydHongLG4gIsYCUa+wFkSbMoKJC/Q2tJ9 W59glmiMuCeJzUlwE7XozDZi3CY6GdxKqc6giVFfOqoWniGKZQUTdm1jT4ZUGDe9eptu i4qBObkPCEjJf0cCUK8zY/gmHahu6gXdxNvSldveyPApHq3JzKq7NMwybTclASqNTX4l 8hog==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703091470; x=1703696270; 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=/RZpKkoX/3mj+j5HwmBji1AiNyXJIb8/z6ur3yps4Jw=; b=n6bi51Kya6d2w5DMLbksYnrvhyEyeceokTEDMZiRKOkUXbHXEmHYulsniIbOL13EpV wrdfgVimiqexPEBHohasni4YLgELsFvxqNCrISAlZsxhWQBAB+hmRt4vNGcGc22XIW9M HJV1OJw+G2ZJIzlbw7H9hGs18juiehGClb57Jll6Oag7jRpccFVLSYXq9+OE454w8BQn 8cA6gdo538oYr+2WvGKSgfeVH5jIuxh+pIJKpKlLQdf4wyn5kt2mtr3NAxS3KZ75fRmy Lmj2NL2yHpI5yK8aww9p81m5HqqnSB3dzrMvfwo7Ka0N3IkycdrluClb+S5szdbWdPSj q+ww==
X-Gm-Message-State: AOJu0Yzq1zlmUDuMyJHqK7zokGP12nv5nlOLzOgvhCF4DRDgBfThetqV zWJ8df+IG3iO9swK5O0g9uOTohOZ60Ix4R/x7zLjv9fb86/lQlAZCBebRXgR
X-Google-Smtp-Source: AGHT+IExqu6wqDNY6KybaOPAR0fWxroFzJZRNYH14LOJgV8dg3AYbBbbMHOXVEPuI9lbTO/PDEcNIddedyei5d3LFyg=
X-Received: by 2002:a05:6102:c04:b0:466:ae0c:ca2d with SMTP id x4-20020a0561020c0400b00466ae0cca2dmr1394233vss.9.1703091469759; Wed, 20 Dec 2023 08:57:49 -0800 (PST)
MIME-Version: 1.0
References: <CAHS2_A_U4YjN6Ezr15HukGzOSPPh50ZumNTeQ1R1D2B+z86Rrg@mail.gmail.com>
In-Reply-To: <CAHS2_A_U4YjN6Ezr15HukGzOSPPh50ZumNTeQ1R1D2B+z86Rrg@mail.gmail.com>
From: Neal Cardwell <ncardwell@google.com>
Date: Wed, 20 Dec 2023 11:57:28 -0500
Message-ID: <CADVnQy=7hWXHbOKxtB6PaYAjUEohNUU+-rddQ4+2Z1N8OfX_uw@mail.gmail.com>
To: Francis Rammeloo <francis.rammeloo@gmail.com>
Cc: l4s-discuss@ietf.org
Content-Type: multipart/alternative; boundary="00000000000013aaf2060cf3e207"
Archived-At: <https://mailarchive.ietf.org/arch/msg/l4s-discuss/gf7MBmZw5St-TcBsSk0fDrwJl_o>
Subject: Re: [L4s-discuss] Entering CWR state during the loss recovery algorithm (NewReno, SACK)
X-BeenThere: l4s-discuss@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: "Low Latency, Low Loss, Scalable Throughput \(L4S\) " <l4s-discuss.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/l4s-discuss>, <mailto:l4s-discuss-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/l4s-discuss/>
List-Post: <mailto:l4s-discuss@ietf.org>
List-Help: <mailto:l4s-discuss-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/l4s-discuss>, <mailto:l4s-discuss-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 20 Dec 2023 16:57:52 -0000

Hi,

For context, can you please describe the transport
protocol, OS/library/implementation, congestion control algorithm, and ECN
flavor (RFC 3168 or L4S) you have in mind? I ask because most of these
behaviors you mention don't match the Linux TCP Prague behavior when using
L4S ECN (which I would imagine would be the default scenario discussed on
the l4s-discuss list, though perhaps not?).

best regards,
neal

On Wed, Dec 20, 2023 at 10:03 AM Francis Rammeloo <
francis.rammeloo@gmail.com> wrote:

> During loss recovery, the CWND is strictly managed by NewReno/SACK. For
> example NewReno "inflates" the CWND to allow sending new packets in
> response to duplicate acks and when the recovery is complete CWND is set to
> SSTHRESH. If CWR is entered during loss recovery then this could interfere
> with the loss recovery algorithm. Also when the loss recovery is complete
> it will set the CWND to SSTHRESH, so the reduction by CWR can become undone.
>
> Should entering CWR be "disabled" during loss recovery?
>
> Greetings,
> Francis
>
>
> --
> L4s-discuss mailing list
> L4s-discuss@ietf.org
> https://www.ietf.org/mailman/listinfo/l4s-discuss
>