Re: [tcpm] AccECN field order

"Scharf, Michael" <Michael.Scharf@hs-esslingen.de> Mon, 16 November 2020 17:36 UTC

Return-Path: <Michael.Scharf@hs-esslingen.de>
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 2C1953A09DB; Mon, 16 Nov 2020 09:36:08 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.096
X-Spam-Level:
X-Spam-Status: No, score=-2.096 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, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=hs-esslingen.de
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 e08zb2QsuvB6; Mon, 16 Nov 2020 09:36:05 -0800 (PST)
Received: from mail.hs-esslingen.de (mail.hs-esslingen.de [134.108.32.78]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id F34C33A1337; Mon, 16 Nov 2020 09:36:04 -0800 (PST)
Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.hs-esslingen.de (Postfix) with ESMTP id 1E3BB25A12; Mon, 16 Nov 2020 18:36:03 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=hs-esslingen.de; s=mail; t=1605548163; bh=K9/FSl4wZSWXbeeXJgZtPUPSgZvndsyUurN4gJyV3lo=; h=From:To:CC:Subject:Date:References:In-Reply-To:From; b=s2hIDOXIMJgOY4LHZzPidOGAf/nhhL3kRmeYAhy+xMUGDQ+bKqdDFMxY6hFt7uF8h waRAx8Wwk8VJe87W2k4Nneugq/5dUISgO3ErjXthMKRxxM1XB/205AlGYFFlFeX4jk ydOcDpXoYfGaJFVi4bemU8f8WSBZr4MxLG3j65P4=
X-Virus-Scanned: by amavisd-new-2.7.1 (20120429) (Debian) at hs-esslingen.de
Received: from mail.hs-esslingen.de ([127.0.0.1]) by localhost (hs-esslingen.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YpXdUxGs5qK2; Mon, 16 Nov 2020 18:36:01 +0100 (CET)
Received: from rznt8202.rznt.rzdir.fht-esslingen.de (rznt8202.hs-esslingen.de [134.108.48.165]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.hs-esslingen.de (Postfix) with ESMTPS; Mon, 16 Nov 2020 18:36:01 +0100 (CET)
Received: from rznt8202.rznt.rzdir.fht-esslingen.de (134.108.48.165) by rznt8202.rznt.rzdir.fht-esslingen.de (134.108.48.165) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1979.3; Mon, 16 Nov 2020 18:36:01 +0100
Received: from rznt8202.rznt.rzdir.fht-esslingen.de ([fe80::aca4:171a:3ee1:57e0]) by rznt8202.rznt.rzdir.fht-esslingen.de ([fe80::aca4:171a:3ee1:57e0%3]) with mapi id 15.01.1979.006; Mon, 16 Nov 2020 18:36:01 +0100
From: "Scharf, Michael" <Michael.Scharf@hs-esslingen.de>
To: Bob Briscoe <ietf@bobbriscoe.net>, Yoshifumi Nishida <nsd.ietf@gmail.com>
CC: Michael Tuexen <tuexen@fh-muenster.de>, "tcpm-chairs@ietf.org" <tcpm-chairs@ietf.org>, Mirja Kuehlewind <ietf@kuehlewind.net>, "Scheffenegger, Richard" <Richard.Scheffenegger@netapp.com>, tcpm IETF list <tcpm@ietf.org>
Thread-Topic: AccECN field order
Thread-Index: AQHWvDjFKAN34ufmsUi0uesNI2lMmanK+nPQ
Date: Mon, 16 Nov 2020 17:36:00 +0000
Message-ID: <b3ae297684b04461be4e5ef5bbe3c83a@hs-esslingen.de>
References: <42eee5b7-fc0d-9576-c2ab-128706611a96@bobbriscoe.net> <bca1931d-b99e-447d-2ccc-8f13969df7f4@bobbriscoe.net> <CAAK044S8rVVRHjkHBxCfGDD6tOTRJvnsVOt3eGf0z95N0o=mDQ@mail.gmail.com> <CAAK044QRYKmk9GbPn1N-TxAr5E7TDr87mV3UJJuY2FNNKyd_Jw@mail.gmail.com> <279fb3d5-0000-f704-d88f-08ab0fa9e83a@bobbriscoe.net> <CAAK044TtbFWjb-msj3rA6vE+ZB99O1qAwhUFwzD2+rehzX9a7Q@mail.gmail.com> <9bdf71e9-4af0-f5ee-f2f7-e63349956500@bobbriscoe.net>
In-Reply-To: <9bdf71e9-4af0-f5ee-f2f7-e63349956500@bobbriscoe.net>
Accept-Language: de-DE, en-US
Content-Language: de-DE
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [134.108.140.248]
Content-Type: multipart/alternative; boundary="_000_b3ae297684b04461be4e5ef5bbe3c83ahsesslingende_"
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/tcpm/8tnIKm3J5cIoQIAr3VIHoD1-ML4>
Subject: Re: [tcpm] AccECN field order
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, 16 Nov 2020 17:36:08 -0000

Bob,

One proposal using the length field with *one option codepoint only* is detailed in: https://mailarchive.ietf.org/arch/msg/tcpm/zo-1OR0nRfhHocX8yvTvpC4BNMo/

It is the third option mentioned in this e-mail. One example would be to use option length values 5/8/11 for one encoding type and option length values 6/9/12 for the other encoding type (i.e., order of fields). Or one could use some other combination of length values – the only requirement is that a certain value for the option length is only used by one of the option formats. In that approach, the value of the length field would thus directly describe the encoding of the option. Unless I miss something, this would work and it would just require one option codepoint.

Thus, alternatives to two option codepoints exist and I have explained them on the list in March 2020.

Anyway, I don’t really care how the options are encoded as long as the receiver doesn’t need per-connection state for decoding a TCP option. So, personally, I would be fine with using e.g. the length field as described in my old e-mail. Or an additional flag byte. And one could come up with further encodings, e.g., by using one or a few bits as a short “type” field for each counter. This is all about protocol engineering. And all these variants have their pros and cons.

I am also fine with using two option codepoints as specified in -13; this is probably the approach that consumes the least number of bits.

Michael (w/o any hat)



From: Bob Briscoe <ietf@bobbriscoe.net>
Sent: Monday, November 16, 2020 5:52 PM
To: Yoshifumi Nishida <nsd.ietf@gmail.com>
Cc: Scharf, Michael <Michael.Scharf@hs-esslingen.de>; Michael Tuexen <tuexen@fh-muenster.de>; tcpm-chairs@ietf.org; Mirja Kuehlewind <ietf@kuehlewind.net>; Scheffenegger, Richard <Richard.Scheffenegger@netapp.com>; tcpm IETF list <tcpm@ietf.org>
Subject: AccECN field order

Yoshi, (adding the tcpm list in cc)
On 05/11/2020 06:58, Yoshifumi Nishida wrote:
Hi Bob,

On Wed, Nov 4, 2020 at 3:29 PM Bob Briscoe <ietf@bobbriscoe.net<mailto:ietf@bobbriscoe.net>> wrote:
Yoshi,
On 04/11/2020 06:51, Yoshifumi Nishida wrote:
Hi, folks,


In my understanding, I'm not sure if we settled down on using two option kinds or encoding schemes for 24bits fields in acc ecn draft.
So, I think there're still something to be clarified and hope things will be settled at the meeting.

[BB] I know a WG can change it's mind at any time. But I'd rather we just clarified what a previous decision was, to avoid the need to keep re-opening discussion on a question that have been decided then changed three different ways already.

My memory is not so good these days. I trusted that Michael S remembered the decision correctly, and I seem to remember that decision being made.
I've just checked the minutes of the last interim:
    https://datatracker.ietf.org/doc/minutes-interim-2020-tcpm-01-202004291600/
and they mention Michael's proposal to use two kinds, but don't record any decision.
The jabber log gives no clues about any decision.

I can't find an audio or video recording. Can you point me at one?

I thought that it's because there was no clear decision at the meeting.
But, you can check https://www.youtube.com/watch?v=KsB0_Nb8-kA
Please let us know if you have any questions or opinions with regard to this.

[BB] I checked the Youtube link you sent below.

First I think we're agreed no-one was fighting for us to keep the previous way we did this (using the initial value of the field to set the order for the connection).
In my presentation I said there was strong resistance from Michael to do it a different way.
(also, offlist, the co-authors including me also didn't like this so much. And Ilpo said it made the implementation complex.)

Then came the question of what we do instead. There were three alternative proposals:
a) use 2 option kinds
b) add a flags byte
c) somehow use the length field maybe

Michael raised (c) in the meeting as a possibility, but no-one could think how to distinguish two options of the same length but a different field order using the length field. Michael said he'd post any ideas to the list if he could think of any, but that didn't happen.

So we're left choosing between (a) and (b).
I said in the meeting (and on the list when discussing with Ilpo) that I'd be happy to go with (b), but only if there was another use for a flag. Because it would consume 1B more options space in many packets, which is a scarce resource.

Ilpo had a proposed use for another flag (to help synch counters after a loss), but I think the discussion about it ended that it wouldn't be helpful, 'cos the way it worked depended on itself (circular logic).

In conclusion, I don't think there was an explicit decision to go with 2 option kinds, but it ended up as the 'last person standing'.
I like it. It's simple. And apparently option kinds are not such a scarce resource.

Perhaps we can ratify this in the WG tomorrow.


Bob



Thanks,
--
Yoshi



--

________________________________________________________________

Bob Briscoe                               http://bobbriscoe.net/