Re: [tcpm] CUBIC rfc8312bis / WGLC Issue 3

Neal Cardwell <ncardwell@google.com> Tue, 14 June 2022 20:05 UTC

Return-Path: <ncardwell@google.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 846DFC157B54 for <tcpm@ietfa.amsl.com>; Tue, 14 Jun 2022 13:05:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -22.61
X-Spam-Level:
X-Spam-Status: No, score=-22.61 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, 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 cFpG3kEybAAf for <tcpm@ietfa.amsl.com>; Tue, 14 Jun 2022 13:05:05 -0700 (PDT)
Received: from mail-qk1-x72d.google.com (mail-qk1-x72d.google.com [IPv6:2607:f8b0:4864:20::72d]) (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 AB44AC14CF04 for <tcpm@ietf.org>; Tue, 14 Jun 2022 13:05:05 -0700 (PDT)
Received: by mail-qk1-x72d.google.com with SMTP id o73so7239344qke.7 for <tcpm@ietf.org>; Tue, 14 Jun 2022 13:05:05 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=YxsZGHGhaA7+KXDmJLvdS9gjY2G46CbPP88uqJphfoE=; b=SW3PuRcIkbhQGeIixrgQNhzsl1lBrQE40w59c0Y1hGEKhl5gvlFEm9/eHBdHS+Tdnb UEZVE3vwgb3r2tRvuDFjud5E8hACFP58fgevY0zcrCiZwJRiDMUB6NJOO3h402zMtC9i yQYfpUtUMTMf3cjn/4838+kMlH8IP8AcJs5N0Yjn7o8EGYu+Bf6Wmh7rFF6bSC+kRwxD 1rxkXSb7PNwJBnNLKEqgzffjw1pa5GqScu8bKxJVPIo0e3r8oKnPL3/TkmVGYVKnlFzC w8tycmdcHmsXKW5ulX8PdEUF7wxpYq9aGhouXLByDX91PjS3rGgtPMba4+PQMFa16KxI XNaw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=YxsZGHGhaA7+KXDmJLvdS9gjY2G46CbPP88uqJphfoE=; b=iARw2ZyPYQwMCf6sY6FiJ7fBy4wXAktvyg4smIeIu4hd8E9tda2ejJXXi3FZdS4s1K iSo+n0/musBIEOLqsCoEgl/Cu0Rh2oaWaVY3n/kFGTBz2NB0VU/ngoDJym4TWDSFefWh u45MhWkmRQ3fIiL3lukRzEGZ0WHgatT2ifZcgH9EuUtPdgx0OouCZPkSG2k4MNGBDmpM Uo6x1DhOe8Rg4ST6vyS2VPcbiiY0s1sK1lIdefly/0TzJLBZfbgsVbRWk9Qxu45FT3Tt Q8h1VrUkPPEaC0rPyxBZoDKEImNNMG5ShwgAVROechYtVfr4e98WcWy01tS8oz9GyOIc OGUw==
X-Gm-Message-State: AOAM533KL0LSxShXFKeI9ld1KsPhZl1IaPSH7i0rklDq4BOarXCto6v9 l7qtPdNgwkyiiLugtBmj3OsZDwx9UhgUYRJYayc3FVL4XVQ0sA==
X-Google-Smtp-Source: ABdhPJxQoEHKsm2gLnwHWOWkJeAQwzUTsnJJ6AaX9a6geyfI49M6clTdo/A4huDkvdMLLCrO6migKXYAVwZYAaqU3K8=
X-Received: by 2002:a05:620a:410d:b0:6a7:571d:8615 with SMTP id j13-20020a05620a410d00b006a7571d8615mr5553142qko.259.1655237103716; Tue, 14 Jun 2022 13:05:03 -0700 (PDT)
MIME-Version: 1.0
References: <alpine.DEB.2.21.2206141447300.7292@hp8x-60.cs.helsinki.fi> <alpine.DEB.2.21.2206141823160.7292@hp8x-60.cs.helsinki.fi>
In-Reply-To: <alpine.DEB.2.21.2206141823160.7292@hp8x-60.cs.helsinki.fi>
From: Neal Cardwell <ncardwell@google.com>
Date: Tue, 14 Jun 2022 16:04:46 -0400
Message-ID: <CADVnQynoVhRtYZuFMi04yvrrVk3vbL0uMU5PaWx+4suf9r7hdQ@mail.gmail.com>
To: Markku Kojo <kojo=40cs.helsinki.fi@dmarc.ietf.org>
Cc: "tcpm@ietf.org Extensions" <tcpm@ietf.org>, tcpm-chairs <tcpm-chairs@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000967ae405e16deb32"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tcpm/j2YGCO3GZ6cQ3LYQKkJ2dVhzPOA>
Subject: Re: [tcpm] CUBIC rfc8312bis / WGLC Issue 3
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, 14 Jun 2022 20:05:06 -0000

On Tue, Jun 14, 2022 at 11:52 AM Markku Kojo <kojo=
40cs.helsinki.fi@dmarc.ietf.org> wrote:

> Hi Neal,
>
> thank for your proposal. Note that I moved your proposal here under the
> thread on Issue 3 which it is related to (see below).
>
> On Tue, 14 Jun 2022, Markku Kojo wrote:
>
> > Hi all,
> >
> > this thread starts the discussion on the issue 3: the incorrect way of
> > setting alpha to 1 when in the fast convergence mode within the
> Reno-friendly
> > region (Issue 3 a) and the issue of setting Wmax for a congestion event
> > arriving when in slow start (Issue 3 b):
> >
> >
> > 3 a) The rule for changing alpha to 1 when Wmax is reached in the
> >     Reno-friendly region is the correct thing to do during the normal
> >     steady state. However, it is incorrect action to take when in the
> >     fast convergence mode within the Reno-friendly region because it
> >     would act just *opposite* to what CUBIC should do when in the fast
> >     convergence mode; instead of slowing down the increase rate during
> >     congestion avoidance it actually accelerates because alpha becomes
> >     increased to 1 earlier than when not in the fast convergence mode.
> >     This seems an obvious mistake with the quite recent modifications
> >     to the rfc8312bis.
>
> On Mon, 6 Jun 2022, Neal Cardwell wrote:
>
> > Markku, thank you for your clear and comprehensive write-up.
> >
> > Regarding this particular, somewhat easier point:
> >
> [snip]
> > I agree this seems like a clear and straightforward thing to fix.
> > Indeed, my current draft Linux TCP CUBIC patch series for this
> > "changing alpha to 1" mechanism already uses your suggested approach,
> > and it seems to behave sensibly.
> >
> > I have posted a proposed pull request to try to encode this in the
> > draft:
> >   https://github.com/NTAP/rfc8312bis/pull/146
> >
> > Please take a look and see what you think. Thanks!
> >
> > neal
>
> This seems to correct the issue, thanks. It would be useful to introduce
> prior_cwnd in section 4.1.2 as already discussed in the github pull
> request. Also needs text specifying the initialization in other
> case than "congestion event". This also seemed to attention in
> github.
>

Thanks. For those who are interested, I just posted a new patch in the pull
request, to try to address the most recent comments from the review. Please
take a look:

https://github.com/NTAP/rfc8312bis/pull/146

thanks,
neal