Re: [tcpm] Linux doesn’t implement RFC3465

Yuchung Cheng <ycheng@google.com> Mon, 02 August 2021 23:25 UTC

Return-Path: <ycheng@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 85BF03A2102 for <tcpm@ietfa.amsl.com>; Mon, 2 Aug 2021 16:25:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -18.097
X-Spam-Level:
X-Spam-Status: No, score=-18.097 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-0.499, 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, 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 ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id uizajkbFhbwu for <tcpm@ietfa.amsl.com>; Mon, 2 Aug 2021 16:25:54 -0700 (PDT)
Received: from mail-wr1-x42e.google.com (mail-wr1-x42e.google.com [IPv6:2a00:1450:4864:20::42e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C9CE03A2101 for <tcpm@ietf.org>; Mon, 2 Aug 2021 16:25:53 -0700 (PDT)
Received: by mail-wr1-x42e.google.com with SMTP id m12so18477577wru.12 for <tcpm@ietf.org>; Mon, 02 Aug 2021 16:25:53 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=RA1ZhoTAERb8+idyvlf7cWT6rMavURWYOUjvIiI4raM=; b=N/d6tn3GBe+1Z9ON9TsB4E92CLxEd32ACgOnHoxYEjso+gSIlp4mVK2Q16Tt3zRxrw kOYUVaH3K4sH03+2wkYoyp2DgHauPwwEW/RYUC7u8fv8+/q5HvHgsvp9cltXc3+PTI8J zIR1pK3d0ywt9/lpejckcOIsGhm1j6pDpMsbE2VQsfYPoZQq3ZpCdbw7wSjfv1SWobEQ RL2yhVVSCG/iLcO/KxOSvtVOI7p/3tYUwvAKWiWN51yLKw0N1PQUJV4xp0UscBYc7u5l CbczaNvNOYk2vjD2QcwOvtmjB7px+6kJPecmQSWHYl46uqLPrJobI2M4pK8JVCEhY5gm 8H+Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=RA1ZhoTAERb8+idyvlf7cWT6rMavURWYOUjvIiI4raM=; b=iTH5wBcc7GCXNe++1rbGdheBSfwucyDcZCCpGyi+CtqFmH3n0Kd8E9cP7DIVBarEX+ BRe/KbedV+ZKJ/WpXhaV3qXFKT9Uil54kGNi1vYfFZPC3T4xLFlxFEDY7pm4wkGx6mnJ 7WJvvqSq1aDGu//cQi+WnWiMXScdKppH2i/BTk9LGO+5LNYFlzBlaq7qVB9kp7jCK5bw EUOkhEujR705wUwfKBkA8HWqlSrg8LWj6zS6OWu13g9cUwQxfmXKW6NrZ0guJw/c0nlA qeOGOtLxWf24HtBQoVB1f7Ki25YMz6rp/ErsixI6vQXTM5SO0bHVSlNkHKJ1Gp75WD3Y VuEA==
X-Gm-Message-State: AOAM530vM4Dt+CdtDVct2bMo/7fqdjbvdyU4QLg3/j6mD3NzmJ2Ff+c1 jDUbuUOrkj2GxVjGttUkjd5LyeeGmCKdVS+sRc/pEA==
X-Google-Smtp-Source: ABdhPJxVcXeq7EWCX5/cSvl5C/xrXYBGo3C4tj2QvyUKExzurVZ+scv+F7Xk4w7VnuQSo4WGcfP8os2aU/7QtXtSK6E=
X-Received: by 2002:adf:8169:: with SMTP id 96mr19559537wrm.424.1627946751718; Mon, 02 Aug 2021 16:25:51 -0700 (PDT)
MIME-Version: 1.0
References: <78EF3761-7CAF-459E-A4C0-57CDEAFEA8EE@apple.com> <CADVnQynkBxTdapXN0rWOuWO3KXQ2qb6x=xhB35XrMU38JkX2DQ@mail.gmail.com> <601D9D4F-A82C-475A-98CC-383C1F876C44@apple.com> <54699CC9-C8F5-4CA3-8815-F7A21AE10429@icsi.berkeley.edu> <DF5EF1C7-0940-478A-9518-62185A79A288@apple.com> <E150D881-4AB3-4AEA-BE0C-1D4B47B2C531@icir.org> <CADVnQynjE+D-OSvdOVROjT3y1cnHHWqdNQSmphLAJ+HsBTUAJQ@mail.gmail.com> <A1B50403-2405-4348-9626-025D255DEAE7@icir.org> <CADVnQykM8p-bVz_oPrje1yNh9_7_isAUL+wnQWDoY9Gs18sLPQ@mail.gmail.com> <11FE4818-87E7-4FD8-8F45-E19CD9A3366A@apple.com> <CAK6E8=fFWAE_NSr45i2mdh6NmYDusUFW3GYGtuo-FcL07sox9A@mail.gmail.com> <D6B865F7-9865-4B6F-986B-F44ABE5F12B0@apple.com> <756432D9-4331-454D-82EB-346CF54A355E@icir.org> <CAK6E8=c+KeQxWJq0e98hY9XsQ2vhdr3SiKkypC7kwdZbBRgdXA@mail.gmail.com> <A39F73BE-4BF1-479D-911F-0CAC6D91D924@icir.org> <CAK6E8=eEnVtMNBpu0noFAud4BTWdupCH+QY1beFjTtD9ADkK5g@mail.gmail.com> <CADVnQynWSCpEBeEtHL0JHCBYwyymX0vku_VbfeDQ_snUoCX=ZA@mail.gmail.com> <76891287-22E6-4071-87C4-8F3A1FD3C2D1@apple.com> <CADVnQy=6XE7mFZRdBar3YXjUMc5URJYcsJvNdUGy26Zz7gajKQ@mail.gmail.com>
In-Reply-To: <CADVnQy=6XE7mFZRdBar3YXjUMc5URJYcsJvNdUGy26Zz7gajKQ@mail.gmail.com>
From: Yuchung Cheng <ycheng@google.com>
Date: Mon, 02 Aug 2021 16:25:14 -0700
Message-ID: <CAK6E8=fa-auYxvLqrF+r-wDckoKbm-5+qGT9qgz+MJGr_GhXKA@mail.gmail.com>
To: Neal Cardwell <ncardwell@google.com>
Cc: Vidhi Goel <vidhi_goel@apple.com>, Mark Allman <mallman@icir.org>, Extensions <tcpm@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000d9e03905c89be30e"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tcpm/uAn36KzafJXSQJ4NT4EIekYN7gI>
Subject: Re: [tcpm] Linux doesn’t implement RFC3465
X-BeenThere: tcpm@ietf.org
X-Mailman-Version: 2.1.29
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, 02 Aug 2021 23:25:59 -0000

On Mon, Aug 2, 2021 at 4:18 PM Neal Cardwell <ncardwell@google.com> wrote:

>
>
> On Mon, Aug 2, 2021 at 7:02 PM Vidhi Goel <vidhi_goel@apple.com> wrote:
>
>>
>> On Mon, Aug 2, 2021 at 3:37 PM Mark Allman <mallman@icir.org> wrote:
>>>
>>>>
>>>> > The fact is that Linux CC has long moved to infinite L since 2031,
>>>>
>>>> So, if our experience is with L=\infinity and it is demonstrably OK
>>>> why don't we say *THAT* instead of "make L=5 or L=10"?  I would
>>>> submit that it makes more sense to leverage experience than it does
>>>
>>> to make things up.
>>>>
>>> +1
>>>
>>
>> Yes, I agree that would be a great approach to take.
>>
>>
>> So, we are saying it is fine to ignore L completely and simply increase
>> cwnd by bytes_acked during slow start? And if this causes large bursts to
>> be sent out (when an implementation doesn’t do pacing), that is fine?
>>
>
> Yes, I think that is the proposal on the table, and it sounds good to me.
>
> A rationale would be:
>
> (1) Implementations SHOULD pace (RFC 7661).
>
> (2) Implementations that don't pace will generally be causing large bursts
> for many different reasons anyway (data and/or ACK aggregation in the
> network or end hosts), restart from idle,...) so having a constant L does
> not provide enough protection from bursts to justify the cost in reduced
> performance (in the form of slower slow-start). In support of this,
> experience with this as the default behavior in Linux TCP over the
> 2013-2021 period suggests this works well enough in practice.
>
One simple example is:

Let's consider a sender receiving
1. one stretch ACK acking 100 packets due to ACK decimation
vs
2. 50 ACKs each acking 2 MSS within 0.1ms due to ACK compression

(2) still forms a sizable burst even with ACK clocking due to timing
compression.


>
> neal
>
>
>