Re: [tcpm] I-D Action: draft-ietf-tcpm-prr-rfc6937bis-05.txt

Yoshifumi Nishida <nsd.ietf@gmail.com> Mon, 12 February 2024 07:30 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 B2617C14F5F2 for <tcpm@ietfa.amsl.com>; Sun, 11 Feb 2024 23:30:29 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.107
X-Spam-Level:
X-Spam-Status: No, score=-2.107 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_DNSWL_NONE=-0.0001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01] 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 iO4oL2Kz88Kd for <tcpm@ietfa.amsl.com>; Sun, 11 Feb 2024 23:30:29 -0800 (PST)
Received: from mail-wr1-x432.google.com (mail-wr1-x432.google.com [IPv6:2a00:1450:4864:20::432]) (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 07EEFC14E515 for <tcpm@ietf.org>; Sun, 11 Feb 2024 23:30:28 -0800 (PST)
Received: by mail-wr1-x432.google.com with SMTP id ffacd0b85a97d-33b7e136a48so473526f8f.0 for <tcpm@ietf.org>; Sun, 11 Feb 2024 23:30:28 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1707723026; x=1708327826; darn=ietf.org; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=uEuNNdp7QPhrUWDGK+tlcxc9i9d4owQJWN/bNcxQKL0=; b=BHQOBDycip+oa+xbNoCNpVOOmJ2I+q+SJp/DhapGKzGmOZiQYKDuWYavFqHnA4K9DA gvhlzLHmJhRSYvBU0YOucRP23KQWjQB36TvyyUa1uLEsvTn46W1MDRTRdkYUs969Wzbq QtoB7Aps88nAF0BWMgQRgRz5eYgkRMgvrv+tfcjP7Nq2FnhvPqEUmlrRLZWq7fnDb+O8 wBS9uOaGs2AaZ7mppZH1o0PwepNVRRGxpE8UG7EtRjKv2lx0FpWQLRyyxVKXbU78x7hA 4OCL2qH8pUbiJ8U5R84/wl9dnCGGX+7OpWGIMGFlP5WjICRRKlvdY8lmXIuAg08EMSL8 jIwQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707723026; x=1708327826; h=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=uEuNNdp7QPhrUWDGK+tlcxc9i9d4owQJWN/bNcxQKL0=; b=m/Bv/A06p+jg+0YtzVGjzl4xN6nX8C3+w7I+ZvOAgt/83RiSilJ/NVI3gf3RgTMeOn qBpmPZV+tN3+yr9YxEyQ5xdoRgd3Xh8D6D7GijcMeDeMaeTumvwgCmjL2p7bPENoITcR vT5+cp3C5M8TqEv77sBAwrz3ia2Qs9dmBark2AWmAakq4Bw9yyhWSyVQrHndS5iZMEGa YIGb7sB2qxuQ9hYdT+Eas5jPliylqCuUlITinGBom6oX5t+yUr79uoSjgXrTGbF3B8Wt 7nT+Cr5IYTIFy7ZhSx1lREmZgRA92yIAU856Z8m6WzWDQ8bOMEMAE6JUT0isL1atdYJb mz2g==
X-Gm-Message-State: AOJu0YxAybkVIxyrobrS02u4qGkVavizta/eg/I9QnpkkqaqgLGXJgex oIpaePN/CeV2XgAW9mggl9FNNXMNO1lYBxlItLcQnBLKi+cZCNtWCp0CkOJ5ugmTI0/Y52ctJgl QpFYG4RE1IOQNzfhbA/7oJ5lUnyclkAcr
X-Google-Smtp-Source: AGHT+IHdk/z+dAt02VXT3N23+bjDvpBr6TpWF4cBCT8iSMrVeFutdnKgv0+YK+6BbYFAy2o0S2awLrqrt1ngAKDINpA=
X-Received: by 2002:a5d:6885:0:b0:33b:6688:5902 with SMTP id h5-20020a5d6885000000b0033b66885902mr4749689wru.16.1707723026395; Sun, 11 Feb 2024 23:30:26 -0800 (PST)
MIME-Version: 1.0
References: <170657898135.64951.13444558093264676035@ietfa.amsl.com> <4cbabb73-10ff-44ef-a0ee-0d7bdbe124ff@gmx.at> <CADVnQy=nEQQiW=VNNfr=2z5RzuMj2Yu0FyXwjKvFvBbnMSxbDQ@mail.gmail.com> <CAAK044QXrJ4Wk9iAQqZjDKzGbi9oLQB3-5Um6ysGLir_T4FGew@mail.gmail.com> <CADVnQynL7CKNfmCCi3y3vZGaA8i4ZggsH_t_VFRL2QjecLR1gA@mail.gmail.com> <d8ce208f-20ed-4056-9aa6-d953f2a529b9@gmx.at>
In-Reply-To: <d8ce208f-20ed-4056-9aa6-d953f2a529b9@gmx.at>
From: Yoshifumi Nishida <nsd.ietf@gmail.com>
Date: Sun, 11 Feb 2024 23:30:15 -0800
Message-ID: <CAAK044T8nSNU6KO54rzDEMnvbGP8u5xzKgPETNLgcC-jm19bHg@mail.gmail.com>
To: tcpm@ietf.org
Content-Type: multipart/alternative; boundary="0000000000005cf47306112a4004"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tcpm/UTmbsnpVXEwJSaLvsvMnnq3s534>
Subject: Re: [tcpm] I-D Action: draft-ietf-tcpm-prr-rfc6937bis-05.txt
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: Mon, 12 Feb 2024 07:30:29 -0000

Hi folks,

Thanks for the inputs. I started preparing a write up for this draft as it
seems that we've reached a consensus here.

In order for the write-up, I would like to check the current status of the
implementations.
I believe linux already supports 6937bis logic and FreeBSD as well.
Do we have other implementations?

Thanks,
--
Yoshi


On Tue, Feb 6, 2024 at 12:06 PM <rs.ietf@gmx.at> wrote:

>
> I concur; RFC6675 pipe() effectively returns snd.max (HighData) -
> snd.una (HighACK), which may be proplematic right after an RTO has
> happened (when snd.nxt != snd.max). But in the general case (non-RTO),
> RFC6675 pipe returns the correct value.
>
> But I found that for PRR, using snd.max after an RTO seems to be the
> reasonable choice, as it will try to recover up to that point which was
> previously transmitted, in the PRR "pacing" fashion...
>
> Richard
>
>
>
> Am 05.02.2024 um 17:25 schrieb Neal Cardwell:
> >
> >
> > On Mon, Feb 5, 2024 at 12:04 AM Yoshifumi Nishida <nsd.ietf@gmail.com
> > <mailto:nsd.ietf@gmail.com>> wrote:
> >
> >     Hi Neal,
> >
> >     On Wed, Jan 31, 2024 at 8:43 AM Neal Cardwell
> >     <ncardwell=40google.com@dmarc.ietf.org
> >     <mailto:40google.com@dmarc.ietf.org>> wrote:
> >
> >
> >
> >         On Wed, Jan 31, 2024 at 11:04 AM
> >         <rs.ietf=40gmx.at@dmarc.ietf.org
> >         <mailto:40gmx.at@dmarc.ietf.org>> wrote:
> >
> >
> >             Hi,
> >
> >             I'm slightly surprised that PRR removes any specific
> >             mentioned to the
> >             SACK loss recovery (with already SACKed data) vs. non-SACK
> loss
> >             recovery. The wording changed in section 5 makes it more
> >             ambigious if
> >             delivered data (SACKed) at the initialization of PRR loss
> >             recovery
> >             should be included or not...
> >
> >             This is the one technical change in this revision; excluding
> >             SACKed data
> >             on entering PRR loss recovery, doesn't that either add
> >             complexity
> >             (tracking what SACKed / retransmitted / lost data was at the
> >             start of
> >             PRR and excluding this subsequently), or inflate the
> >             transmission
> >             opportunities when SndCnd is calculated?
> >
> >
> >         Good points. What do folks think of the following proposed edits:
> >
> >         proposed edit 1:
> >         ---
> >         Old version from version 05:
> >            RecoverFS is the number of unacknowledged bytes upon entering
> >         fast recovery, and as such it remains constant during a given
> >         fast recovery episode..
> >
> >         Proposed:
> >            Upon entering fast recovery, PRR initializes RecoverFS to the
> >         value of "pipe", the sender's estimate of the number of bytes
> >         outstanding in the network, where "pipe" is computed as
> >         specified in RFC 6675. RecoverFS remains constant during a given
> >         fast recovery episode.
> >
> >         proposed edit 2:
> >         ---
> >         Old version from version 05:
> >            RecoverFS = snd.nxt - snd.una // FlightSize right before
> recovery
> >
> >         Proposed:
> >
> >             pipe = (RFC 6675 pipe algorithm)
> >
> >             RecoverFS = pipe              // RFC 6675 pipe before
> recovery
> >
> >
> >     Hmm. but, if SACK is not used, can we use pipe?
> >     Wouldn't it be something like this?
> >
> >     pipe = (SACK is used)?(RFC 6675 pipe algorithm):(snd_nxt - snd.usa)
> >
> >
> > Why not use pipe for non-SACK connections? AFAICT the pipe definition
> > can be used for non-SACK connections.
> >
> > If we take the RFC 6675 definition of pipe literally, then for non-SACK
> > connections AFAICT IsLost (S1) returns false for every packet between
> > SND.UNA and SND.NXT, so that pipe will be SND.NXT - SND.UNA? And that
> > would match the answer from this proposed logic, AFAICT?
> >
> > If we take the notion of pipe semantically, then for non-SACK
> > connections AFAICT this encourages TCP implementations to initialize
> > RecoverFS to their estimate of the amount of data outstanding in the
> > network. Implementations may have a non-SACK notion of pipe that is
> > better than SND.NXT - SND.UNA. For example, Linux TCP has a non-SACK
> > pipe estimate that, upon entry to fast recovery, would be esssentially
> > SND.NXT - SND.UNA - (num_dupacks_received*SMSS). That's a better (more
> > accurate) value to use than SND.NXT - SND.UNA .
> >
> > best regards,
> > neal
> >
> >
> >
> >     --
> >     Yoshi
> >
>