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

Neal Cardwell <ncardwell@google.com> Mon, 05 February 2024 16:25 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 75697C14F5EE for <tcpm@ietfa.amsl.com>; Mon, 5 Feb 2024 08:25:34 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -17.599
X-Spam-Level:
X-Spam-Status: No, score=-17.599 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_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, USER_IN_DEF_DKIM_WL=-7.5, USER_IN_DEF_SPF_WL=-7.5] autolearn=unavailable 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 VjuB_0hrxCnw for <tcpm@ietfa.amsl.com>; Mon, 5 Feb 2024 08:25:30 -0800 (PST)
Received: from mail-vs1-xe31.google.com (mail-vs1-xe31.google.com [IPv6:2607:f8b0:4864:20::e31]) (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 05E30C14F61A for <tcpm@ietf.org>; Mon, 5 Feb 2024 08:25:30 -0800 (PST)
Received: by mail-vs1-xe31.google.com with SMTP id ada2fe7eead31-46d2dff740dso215540137.2 for <tcpm@ietf.org>; Mon, 05 Feb 2024 08:25:29 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1707150329; x=1707755129; 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=DKK80HWcKWdmcpasirT8eXjoFjS1f2QMJ4oiSpTRm58=; b=QXR6fJTaGNut6fsouyHoDsj5kN5CVZoyLJf/QMmaY6O1oiOaTLCnt24wMLvTR1P9fB AswAQ7cmcRfd1flWnJ62QKdKFR/DnPqFkyfr1gatvHywoCWjfM0agGl+oyidPiqi/0bm /4UTHO8fnP+/iEuOKyfzBnyugVQ7CenU7wKv2K3BNxEQ/ZWLzJUN+9Ou8PR31F9ZI6Bw i5lQBQec3VFucp45mecSZ4cROTZHcO347wpsnhU3qnA8u5eikHAdL8g7HUnrVnikyFrJ 9M/zMayvL6/GwnJPar68MiofdRUwUZ1LV9ZKrWj1mBFo91W9FcxiBgu9EyPF0cbnb4yr AQSw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707150329; x=1707755129; 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=DKK80HWcKWdmcpasirT8eXjoFjS1f2QMJ4oiSpTRm58=; b=aE8K975NBdleRfx/pqfTBR4InB4EnVNU8wON3m9EZJbJuGvw97ugr19nMP/FfVKF4M hAX8hO2BmWsjlq8V7NB14hFgTqKJI2Vo9F7g/1RvKfmTkDY0JeOP/XgFJV0t5maMy77l nSj2lxsRIEgtJ8ozDb6d3DZnbRFrfIwXIVg8QlOnq8D7XJJfbEhXlecqbI/PVa54R/o5 /67eCyRECoTMTdTgvBkDJl7tMjyaAQs2W9jiqTikUbubq5mljOMFEap5Ht+Irq0wpTHc /S2LyCaj0sY7BZWslDYB4XHR3E+Jn8q2DS3i5aZl+ibTDVlfe5eIZCgMbwKsHJA2jKd5 CYGw==
X-Gm-Message-State: AOJu0YwouF5HEjQqnUhbfXmWFsAnUjoV3jWuqt6l2h449OlXJStHMH/B XmMhh9RWW50pSgeH75zhNr8vYgeXWq4rzt5DML5cLygIaFbnClo8S3oVJ81Uh0oVre9Tb0LUktj OJ8MXhn3l2lOp/H99xj/3TBOVh8UdIPs3WddO
X-Google-Smtp-Source: AGHT+IEiKxFpQeOLiJECHu505d1ZPe4zupapsIJVxtWzICkNs7BRPQirs0tmL6w/0LbKsOJsiaBl1MBnXWYNkmR/Dn0=
X-Received: by 2002:a05:6102:1519:b0:46d:276a:e728 with SMTP id f25-20020a056102151900b0046d276ae728mr456692vsv.2.1707150328547; Mon, 05 Feb 2024 08:25:28 -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>
In-Reply-To: <CAAK044QXrJ4Wk9iAQqZjDKzGbi9oLQB3-5Um6ysGLir_T4FGew@mail.gmail.com>
From: Neal Cardwell <ncardwell@google.com>
Date: Mon, 05 Feb 2024 11:25:06 -0500
Message-ID: <CADVnQynL7CKNfmCCi3y3vZGaA8i4ZggsH_t_VFRL2QjecLR1gA@mail.gmail.com>
To: Yoshifumi Nishida <nsd.ietf@gmail.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="000000000000e98e040610a4e8de"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tcpm/WP0veylRH9MAOvVtJpyjsdA4bio>
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:25:34 -0000

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 .

best regards,
neal




>
> --
> Yoshi
>
>
>