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

Yoshifumi Nishida <nsd.ietf@gmail.com> Mon, 05 February 2024 16:51 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 8D671C14F60D; Mon, 5 Feb 2024 08:51:30 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.097
X-Spam-Level:
X-Spam-Status: No, score=-2.097 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_KAM_HTML_FONT_INVALID=0.01, 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 b-PkGjVbURx6; Mon, 5 Feb 2024 08:51:30 -0800 (PST)
Received: from mail-wr1-x42a.google.com (mail-wr1-x42a.google.com [IPv6:2a00:1450:4864:20::42a]) (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 E2577C14F5EE; Mon, 5 Feb 2024 08:51:29 -0800 (PST)
Received: by mail-wr1-x42a.google.com with SMTP id ffacd0b85a97d-33b4437e132so89491f8f.2; Mon, 05 Feb 2024 08:51:29 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1707151888; x=1707756688; 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=FAJuZ8UlWqKTtiYKZa7Ez8Nj3rk8lh2X0eFYuhu/o0A=; b=meypW7a1/d+Z47Ga3sMVzlMONu4OZdaZCd5rlOhjYU1441TpFhsuf3GrBKSHywEQdy UHBNCOQ2uM+M+QAemRETe1+bMa0dsIPGru/LyNkqRd5JBtaViIO2pKcTWyruQ7LlPnwB bKoNG77yhUfMlMh+PcnaJ4Pb5p4TeCv4M/EYleNwqUbNEukCpOjN5svmCBEDW3inidG2 19yR+OJQNkG0L6vWXg24ye+KObRpkVc43c5Aldn1ahVVL5Cmxm+/scSkShY3fIqPnnsI IqkXLqfVNRNeY0Q4crIXu1H5QMbWLDgq/pjtUkFYY6TebCvQR39gji1PUgPVSpEiQj0P bRsQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707151888; x=1707756688; 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=FAJuZ8UlWqKTtiYKZa7Ez8Nj3rk8lh2X0eFYuhu/o0A=; b=nJ3cfsBfBS66A3NbUjvrW22dWP23gJ8AoWpmQPke7nizPSVhHftPWmbbYDmRXxSv7k X6JIr0wqYrcyPW79/dUk8qKGQKo5X7PScnCiHOhT7pUcveKFWrzjs35yTjb+fMKp209C w4p3MRL/D59W2yDCYXN5EFG0F8tL+W+YRtCKD/NUu3qO74krqxCMmLFUW+2TfSltTpl9 todQhTKdISfGeUJZSdKM+mBm2TZT/Qr16nQvp61QnABdwuiWVWgWjcNxClkK1U551DBq ij+9IXrv8NJN+A1R5ptloyNjbFilXwrpMKq9gXP+yIqVp/d97Os3fRD+J2Ye4p7H5Lp5 xQpg==
X-Gm-Message-State: AOJu0Yw+KIdqqdpLOB6v5tQwKvu0lQhut18gk3mgZPgvOING7t+2a/+2 BCkaZQJd+z+KvfGRiz4c725afXAOe5wlCqoGfz76UQHwjlFQG+7R8v2rXnHOmlkjPRFw37zeIZ7 ygzQZtxvHiuncEhnDoBDmkPuwRtg=
X-Google-Smtp-Source: AGHT+IHqYwcH5+1i19598qAXCje3wUnFJGWQwFGBJDAKfohytCOxa31BtoBbQne9fdXNAgIWuh+SLIzfnJ6J3PZptO4=
X-Received: by 2002:a05:6000:1361:b0:33b:304d:36db with SMTP id q1-20020a056000136100b0033b304d36dbmr44351wrz.62.1707151870055; Mon, 05 Feb 2024 08:51:10 -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>
In-Reply-To: <CADVnQynL7CKNfmCCi3y3vZGaA8i4ZggsH_t_VFRL2QjecLR1gA@mail.gmail.com>
From: Yoshifumi Nishida <nsd.ietf@gmail.com>
Date: Mon, 05 Feb 2024 08:50:58 -0800
Message-ID: <CAAK044Rz9Ad78xGs+kOSnMC8ybKf=+m7Ymhqi8siBTRxGb9Rnw@mail.gmail.com>
To: Neal Cardwell <ncardwell@google.com>
Cc: rs.ietf@gmx.at, tcpm@ietf.org, internet-drafts@ietf.org, i-d-announce@ietf.org, Matt Mathis <mattmathis@measurementlab.net>
Content-Type: multipart/alternative; boundary="000000000000cad9260610a5441b"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tcpm/vQtHteYsTQl0Rywa5J4ZP3UakMg>
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, 05 Feb 2024 16:51:30 -0000

On Mon, Feb 5, 2024 at 8:25 AM Neal Cardwell <ncardwell@google.com> wrote:

>
>
> On Mon, Feb 5, 2024 at 12:04 AM Yoshifumi Nishida <nsd.ietf@gmail.com>
> wrote:
>
>> Hi Neal,
>>
>> On Wed, Jan 31, 2024 at 8:43 AM Neal Cardwell <ncardwell=
>> 40google.com@dmarc.ietf.org> wrote:
>>
>>>
>>>
>>> On Wed, Jan 31, 2024 at 11:04 AM <rs.ietf=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 .
>

OK. I see your point. Thanks for the clarification.
Do we want to specify the better value for non-sack case than the current
one or leave it to implementations?
--
Yoshi