Re: [tcpm] I-D Action: draft-ietf-tcpm-accurate-ecn-13.txt

Yoshifumi Nishida <nsd.ietf@gmail.com> Mon, 09 November 2020 10:50 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 0A1043A0E6C for <tcpm@ietfa.amsl.com>; Mon, 9 Nov 2020 02:50:57 -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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] 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 ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4muJ0azGQCF1 for <tcpm@ietfa.amsl.com>; Mon, 9 Nov 2020 02:50:55 -0800 (PST)
Received: from mail-qk1-x734.google.com (mail-qk1-x734.google.com [IPv6:2607:f8b0:4864:20::734]) (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 254B83A0E57 for <tcpm@ietf.org>; Mon, 9 Nov 2020 02:50:55 -0800 (PST)
Received: by mail-qk1-x734.google.com with SMTP id r7so7444478qkf.3 for <tcpm@ietf.org>; Mon, 09 Nov 2020 02:50:55 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=8fdKTUOxRUDf7cA/HDXaLq9GLYWI3yIHRM8pS2u5gkU=; b=jWc2U2O9dEA584hTjOYbaz0QIAsDCKPRdZ5GHKCp1C+4guHnxBNJEkymPYFcLA8Xa0 8prcq+w106pOz9O8zoVNDXotTosi3xNOpJjGa9hjcF5GnzhNNkngxX0zTcECS0iaBro5 PFrLZzsxzG7UlEYEr6KzDXKJLNytuafpkCBj4wj68veUGEfG5wF+iG4Oue6ZSRN2xJBx PGqeojOsC+e3/bhP/bcCsYaxSd5oIo36OtwG+U2TYuRyeTSQDVI67odGchVj4it3VmHW ZCuZqhlE89St0hVTUAwpy3R6gNbXUjuw65IuHX2D+38A0aEXWZXbVVgUTfspZaw0dRPJ ILlQ==
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=8fdKTUOxRUDf7cA/HDXaLq9GLYWI3yIHRM8pS2u5gkU=; b=nNDjJJDkjnzv3iXSTjWKU0HlydC8OSXG3olaOHhIOZjnlsMYlC2BqNXR1LJLyGf4xN lUUowhJzAtNJn9YLJdJ9G3P/zTKfOkQ7gMdcdPENUdeq8mMKGybRwnkN2FcLNB/QEOgi RYpfbMkRTF/k3XGDuk1hEFzihenGFM6UZD9kA5rnjwYnbz5dG07Iqf9WewZtW4wC5Nyv rDp/y7Z8Lg8ICGQZULTM8X4Yh5ln0vRaxcb1CoLqJy8Nhkf7mpnZwdRsQPn1K9gc3Krz BcWmR/XmJkWJV0Ljpai/+c7/3bHm5ox9xFEdM/LHJJ3913HS6hXPbaG65qKaK/I3HmZP Q/Mw==
X-Gm-Message-State: AOAM532mwn0ipQ/BkGKfils9aZVHXL16VTMzwpZFnuJH6eeA3+/r6/I0 Fbdbfe+VPwJWYrHkyYYZhJ+2dom6/dMo10phKv0=
X-Google-Smtp-Source: ABdhPJxmzW5N+m0kiFnCUYVwuq9FBumXarmWsGaatXy7ASnWTzJCnmTNIBQ58lsuYewcGlQLv2eK2v1jBMFxrSpOEi0=
X-Received: by 2002:a37:87c5:: with SMTP id j188mr12978391qkd.476.1604919054099; Mon, 09 Nov 2020 02:50:54 -0800 (PST)
MIME-Version: 1.0
References: <160388925181.18695.7892567372446756190@ietfa.amsl.com> <4017c549-ac6d-d633-6432-20a6a8a9a342@bobbriscoe.net> <3c8de57b23994824b6c51cf5d7fba7ec@hs-esslingen.de> <5dd8f210-2fe2-bd9b-5e69-4a87016f5416@bobbriscoe.net> <dae037f1-1b39-2a79-1f78-0ddc13e54507@bobbriscoe.net> <CAAK044SkeTcSshPRxZgxniCDzek+9YuyUYpkNsFPe+=ExoAvJA@mail.gmail.com> <FFA9CFA4-48E2-4432-8DFC-BF9EA08FBAB6@ericsson.com> <CAAK044TM=rB7mVv7=O8pdyZR6xNT642PaCgXFyAbDD_fvtZZ3A@mail.gmail.com> <286e7716-be59-a023-7786-21e8175a3eb3@bobbriscoe.net>
In-Reply-To: <286e7716-be59-a023-7786-21e8175a3eb3@bobbriscoe.net>
From: Yoshifumi Nishida <nsd.ietf@gmail.com>
Date: Mon, 09 Nov 2020 02:50:42 -0800
Message-ID: <CAAK044Q1jTMG8U+6BXGEXE4zJ0JYw+DEeQS_k-7Y3ZgLMdxYsw@mail.gmail.com>
To: Bob Briscoe <ietf@bobbriscoe.net>
Cc: Mirja Kuehlewind <mirja.kuehlewind@ericsson.com>, "Scheffenegger, Richard" <Richard.Scheffenegger@netapp.com>, "tcpm@ietf.org" <tcpm@ietf.org>, Mirja Kuehlewind <ietf@kuehlewind.net>
Content-Type: multipart/alternative; boundary="0000000000001ce91605b3aa562e"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tcpm/EK0AHx1_DQCAe9MSvZbHx2J4ntU>
Subject: Re: [tcpm] I-D Action: draft-ietf-tcpm-accurate-ecn-13.txt
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, 09 Nov 2020 10:50:57 -0000

Hi Bob,

On Fri, Nov 6, 2020 at 5:01 AM Bob Briscoe <ietf@bobbriscoe.net> wrote:

> Yoshi,
>
> On 06/11/2020 10:28, Yoshifumi Nishida wrote:
>
> Hi Mirja,
>
> It seems to me that we don't have much freedom for the frequency of the
> feedback.
> The draft says:
>       MUST immediately send an ACK once 'n' CE marks have arrived since
>
>       the previous ACK, where 'n' SHOULD be 2 and MUST be no greater
>       than 6.
>
> Or, options are not applied to this?
>
>
> [BB]
> Section 3.2.2 about the ACE field, which is in the main TCP header feeds
> back the count of CE-marked *packets* .
> Section 3.2.3 is about the AccECN TCP Option, which is optional and feeds
> back a count of *bytes* for each marking.
>
> If there are any places in the draft where this isn't clear, we can fix
> them. But, in this case, the  text right under your quote says:
>
>    These rules for when to send an ACK are designed to be complemented
>    by those in Section 3.2.3.3 <https://tools.ietf.org/html/draft-ietf-tcpm-accurate-ecn-13#section-3.2.3.3>, which concern whether the AccECN TCP
>    Option ought to be included on ACKs.
>
>
> Also, even though traffic flows one direction, I think you might want to send back SACK options, etc.
>
>
> Last para of the Introduction:
>
>    It is recommended that the AccECN protocol is implemented alongside
>    SACK [RFC2018 <https://tools.ietf.org/html/rfc2018>] and ...
>
>
> Also, interactions with SACK are raised where necessary throughout the
> draft. In particular this one:
>
>       If the smallest allowed AccECN Option would leave insufficient
>       space for two SACK blocks on a particular ACK, the Data Receiver
>       MUST give precedence to the SACK option (total 18 octets), because
>       loss feedback is more critical.
>
> I see. Thanks for the clarification.

Another thought is bulk flow traffic tends to send full MSS packets. I
feel 1 byte granularity might not be very efficient.
>
> In any cases, I just thought saving option space won't be a bad thing if it's not overly difficult.
>
>
> [BB] If efficiency is needed, field(s) (or the whole option) can be
> omitted.
> During the history of this draft we have proposed different ways to encode
> information more efficiently, but WG discussion decided that simple
> omission or inclusion of fields gives optional efficiency with minimal
> complexity.
>
> I'm not saying the act of reducing the granularity of each field would be
> particularly complex.
> Rather, complexity comes from the resulting ambiguity. Here's an example:
> * The Linux code currently uses the byte counters to help disambiguate
> wrap of the 3-bit packet counter.
> * If for instance the byte counters were truncated by 8 bits for
> efficiency, it would add many more ambiguous cases for this code to have to
> take into account.
> * Such complexity introduces misunderstanding and bugs.
>
> The design has gone round and round many times. We have tried to converge
> on the best tradeoffs.
>
>

OK. I have some concern that mitigating ambiguity by the using option may
require a certain high frequency,
but if the results from implementations look good, I don't have much things
to say here.

Thanks,
--
Yoshi