Re: [tcpm] CUBIC rfc8312bis / WGLC Issue 6 and proposed text

Vidhi Goel <vidhi_goel@apple.com> Tue, 12 July 2022 21:00 UTC

Return-Path: <vidhi_goel@apple.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 6AE9BC14F749; Tue, 12 Jul 2022 14:00:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.689
X-Spam-Level:
X-Spam-Status: No, score=-2.689 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.582, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, 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=apple.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 alJZ4hvu4a5h; Tue, 12 Jul 2022 14:00:49 -0700 (PDT)
Received: from rn-mailsvcp-ppex-lapp34.apple.com (rn-mailsvcp-ppex-lapp34.rno.apple.com [17.179.253.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A92B5C14F729; Tue, 12 Jul 2022 14:00:49 -0700 (PDT)
Received: from pps.filterd (rn-mailsvcp-ppex-lapp34.rno.apple.com [127.0.0.1]) by rn-mailsvcp-ppex-lapp34.rno.apple.com (8.16.1.2/8.16.1.2) with SMTP id 26CKsaLN001560; Tue, 12 Jul 2022 14:00:49 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=apple.com; h=content-type : mime-version : subject : from : in-reply-to : date : cc : content-transfer-encoding : message-id : references : to; s=20180706; bh=GedkjxeLqiro7oadzbrt5x1WXt9NycNaspSYBAA7T6U=; b=Vkiay/LAVgLGbbTNistpOcG0RKoeaUO7cgK5xKrTsPMg8t1NafSu7oE5WZ46ZeCicwDF 2GI+D8lc7CHAu2Sr9A0Dz4m2QdU9kCAl8z9mv9LSKcUqhDAszh3H5ia31qW7CwlRCIby 3oNR2Z0aYtMb84H9k7Cu0wr77jVrmyRyzrx1sde+RcDRbn4lRkOymEeB2cB1QvzkaJIy GcnprQNFndCodXRrhfmYJhBHjJENgA1I5ILdjf1ywlnoqYt8vHRonAfIopThH+Bt9rb0 mNF6oLc1Bqy2e/ehjltKnmVLiTfJ8/LKfdxgKHRYVM6SGp9wr6KqR0cQUxgcQjiwcIIc 8w==
Received: from rn-mailsvcp-mta-lapp03.rno.apple.com (rn-mailsvcp-mta-lapp03.rno.apple.com [10.225.203.151]) by rn-mailsvcp-ppex-lapp34.rno.apple.com with ESMTP id 3h75h1hgn0-2 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Tue, 12 Jul 2022 14:00:49 -0700
Received: from rn-mailsvcp-mmp-lapp03.rno.apple.com (rn-mailsvcp-mmp-lapp03.rno.apple.com [17.179.253.16]) by rn-mailsvcp-mta-lapp03.rno.apple.com (Oracle Communications Messaging Server 8.1.0.18.20220407 64bit (built Apr 7 2022)) with ESMTPS id <0REX0044YEDCF560@rn-mailsvcp-mta-lapp03.rno.apple.com>; Tue, 12 Jul 2022 14:00:48 -0700 (PDT)
Received: from process_milters-daemon.rn-mailsvcp-mmp-lapp03.rno.apple.com by rn-mailsvcp-mmp-lapp03.rno.apple.com (Oracle Communications Messaging Server 8.1.0.18.20220407 64bit (built Apr 7 2022)) id <0REX00H00EC46U00@rn-mailsvcp-mmp-lapp03.rno.apple.com>; Tue, 12 Jul 2022 14:00:48 -0700 (PDT)
X-Va-A:
X-Va-T-CD: 3995b166a75559493a3d304aae4b10d4
X-Va-E-CD: 41fd44ac25f22bdcc0fda8fbd071d110
X-Va-R-CD: 3f4bfd29cf6328474e486f6f244c64e7
X-Va-CD: 0
X-Va-ID: 73301785-8cb2-4294-a647-3fe0669fde80
X-V-A:
X-V-T-CD: 3995b166a75559493a3d304aae4b10d4
X-V-E-CD: 41fd44ac25f22bdcc0fda8fbd071d110
X-V-R-CD: 3f4bfd29cf6328474e486f6f244c64e7
X-V-CD: 0
X-V-ID: 1e519985-9578-4e07-bbd5-f213d5ca4e60
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.517, 18.0.883 definitions=2022-07-12_12:2022-07-12, 2022-07-12 signatures=0
Received: from smtpclient.apple (vimac.scv.apple.com [17.192.154.53]) by rn-mailsvcp-mmp-lapp03.rno.apple.com (Oracle Communications Messaging Server 8.1.0.18.20220407 64bit (built Apr 7 2022)) with ESMTPSA id <0REX00AL2EDC4Z00@rn-mailsvcp-mmp-lapp03.rno.apple.com>; Tue, 12 Jul 2022 14:00:48 -0700 (PDT)
Content-type: text/plain; charset="us-ascii"
MIME-version: 1.0 (Mac OS X Mail 16.0 \(3720.101.4.1.51\))
From: Vidhi Goel <vidhi_goel@apple.com>
In-reply-to: <alpine.DEB.2.21.2207112026000.7292@hp8x-60.cs.helsinki.fi>
Date: Tue, 12 Jul 2022 14:00:38 -0700
Cc: "tcpm@ietf.org Extensions" <tcpm@ietf.org>, Lisong Xu <xu@unl.edu>
Content-transfer-encoding: quoted-printable
Message-id: <31DCA869-30FA-41C6-B21F-3D71E600FFF2@apple.com>
References: <alpine.DEB.2.21.2207112026000.7292@hp8x-60.cs.helsinki.fi>
To: Markku Kojo <kojo=40cs.helsinki.fi@dmarc.ietf.org>
X-Mailer: Apple Mail (2.3720.101.4.1.51)
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.517, 18.0.883 definitions=2022-07-12_12:2022-07-12, 2022-07-12 signatures=0
Archived-At: <https://mailarchive.ietf.org/arch/msg/tcpm/qBNglbpnLa5b0ErxTXx8Xi2sPJ0>
Subject: Re: [tcpm] CUBIC rfc8312bis / WGLC Issue 6 and proposed text
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, 12 Jul 2022 21:00:54 -0000

Thank you Markku for proposing the text. Some of this is already covered in the latest draft but I can do some edits to your proposed text and create a PR.
I spoke to other co-authors about this suggestion as well and we are mostly ok with it.


Vidhi

> On Jul 11, 2022, at 5:37 PM, Markku Kojo <kojo=40cs.helsinki.fi@dmarc.ietf.org> wrote:
> 
> Hi all,
> 
> I promised to propose some text to some of the remaining issues.
> This thread starts the discussion on the issue 6 and proposes text to solve the issue:
> 
> Issue 6) Flightsize:
> 
>   The current text in Sec 4.6 w.r.t using FlightSize vs. cwnd for
>   calculating multiplicative decrease is fine except that it does
>   not quite correcly reflect what stacks that use cwnd instead of
>   flightsize should do and actually do. AFAIK and what was
>   discussed in github all stacks apply some sort of restrictions
>   to not allow cwnd to grow beyond rwnd and to not use an
>   arbitrarily high (old) cwnd value to calculate new cwnd
>   when a congestion event occurs.
> 
> 
> Current text in Sec 4.6::
> 
>  Some implementations of CUBIC currently use _cwnd_ instead
>  of _flight_size_ when calculating a new _ssthresh_ using Figure 5.
> 
> Proposed new text:
> 
>  Some implementations of CUBIC currently use _cwnd_ instead
>  of _flight_size_ when calculating a new _ssthresh_ using Figure 5.
>  The implementations that use _cwnd_ MUST use other measures to
>  avoid _cwnd_ from growing beyond the receive window and to not
>  allow _cwnd_ to grow when bytes in flight is smaller than
>  _cwnd_. This prevents a CUBIC sender from using an arbitrarily
>  high _cwnd_ value in calculating the new value for _ssthresh_
>  and _cwnd_ when a congestion event is signalled, but it is not
>  as robust as the mechanisms described in [RFC7661].
>  [Many|Most|All] TCP implementations of CUBIC that use _cwnd_ apply
>  such measures. Likewise, a QUIC sender that also uses congestion
>  window to calculate a new value for the congestion window and
>  slow-start threshold is required to apply similar mechanisms
>  [RFC 9002].
> 
> 
> Any comments and help in formulating the text are welcome.
> 
> Need also some guidance from TCP implementations of CUBIC to finish up the second but last sentence.
> 
> Thanks,
> 
> /Markku
> 
> _______________________________________________
> tcpm mailing list
> tcpm@ietf.org
> https://www.ietf.org/mailman/listinfo/tcpm