Re: [tcpm] draft-ietf-tcpm-accurate-ecn-09: AccECN option: why not EE1B first?

Bob Briscoe <ietf@bobbriscoe.net> Thu, 14 November 2019 17:47 UTC

Return-Path: <ietf@bobbriscoe.net>
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 94139120AE8 for <tcpm@ietfa.amsl.com>; Thu, 14 Nov 2019 09:47:30 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level:
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=bobbriscoe.net
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 hZEZxRQUSEgT for <tcpm@ietfa.amsl.com>; Thu, 14 Nov 2019 09:47:29 -0800 (PST)
Received: from server.dnsblock1.com (server.dnsblock1.com [85.13.236.178]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E9B95120AE7 for <tcpm@ietf.org>; Thu, 14 Nov 2019 09:47:28 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=bobbriscoe.net; s=default; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:From:References:To:Subject:Sender: Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=E5uX5QmNPaPdiMdeSGyLast/v7A2jFH1/ijCq1mkcwk=; b=NVc0NP81HPRAx5Nku+sNEDGp6a MGLpQ0U0O0Kr8zln1JhQtrqeMqkQto4WA1l122jopfzt1DS/L4Yom9VZXxe/ZMP2aAVQHw61CXzlN IYa21FrIx7wkn5TwTxuOjF0EMax4F3uLpiqckdrrikxpE/yF+NusA5Z+bb5yHaRlumjt9qTym32wK 5S75+db0lF9qp9tDIfmhXN5pf1I0KTZ3Z5XKmdkX0QoY+F1gkOpHQzVAYb48aOkBm85a2vHymXNSn DfEYJlcb5h+CQo+ji27uY02ho+jZLUbqElJgFbG/Efc+NXKKtaZZrycjAVPtfjH/kYZ19IF6LjndZ WT8MC9bA==;
Received: from [212.140.138.217] (port=46544 helo=[10.10.154.161]) by server.dnsblock1.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.92) (envelope-from <ietf@bobbriscoe.net>) id 1iVJDK-0004T4-WD; Thu, 14 Nov 2019 17:47:27 +0000
To: "Scheffenegger, Richard" <rs.ietf@gmx.at>, "tcpm@ietf.org" <tcpm@ietf.org>, "Scharf, Michael" <Michael.Scharf@hs-esslingen.de>
References: <CADVnQykh-MjnfzNtRQ22fwxUS3BY_YOJOPghV9B08s+dN9G17Q@mail.gmail.com> <D2172685-A0C0-4CF5-9B1F-4BD07B5DCC63@ericsson.com> <06e2790a-def0-c28a-fc0d-f3a897d5bc49@bobbriscoe.net> <b6018434-3c31-37ae-fa18-9bebf5522574@gmx.at>
From: Bob Briscoe <ietf@bobbriscoe.net>
Message-ID: <8470a4fd-2815-0bf9-534a-ef9928f1f43f@bobbriscoe.net>
Date: Thu, 14 Nov 2019 17:47:23 +0000
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1
MIME-Version: 1.0
In-Reply-To: <b6018434-3c31-37ae-fa18-9bebf5522574@gmx.at>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Transfer-Encoding: 8bit
Content-Language: en-GB
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - server.dnsblock1.com
X-AntiAbuse: Original Domain - ietf.org
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - bobbriscoe.net
X-Get-Message-Sender-Via: server.dnsblock1.com: authenticated_id: in@bobbriscoe.net
X-Authenticated-Sender: server.dnsblock1.com: in@bobbriscoe.net
Archived-At: <https://mailarchive.ietf.org/arch/msg/tcpm/eO6zP9czJowhuuIvn6Uq4aak4kw>
Subject: Re: [tcpm] draft-ietf-tcpm-accurate-ecn-09: AccECN option: why not EE1B first?
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: Thu, 14 Nov 2019 17:47:31 -0000

Michael,
I'll try to write concrete text before Monday.
Do we have time to discuss this in the TCPM mtg?

Richard, Inline...


Bob

On 14/11/2019 10:06, Scheffenegger, Richard wrote:
> That would special-case the initial AccECN option (value order) from the
> subsequent ones, right?
There's already text in the draft that special-cases the initial AccECN 
option to check the values for middlebox zeroing, and I suspect .

>
> Perhaps placing a different inital value in the first counter would
> implicitly signal this better?
I'll think about this - we can discuss at the hackathon.
Another possibility would be to assign two option kind values for two 
different option orders - I think I prefer this.

>
> The folks from IPPM will not be all too happy with the semantics of
> field values depening on some (possibly missed by passive observation)
> initial value though...
Well, true. But I don't think that's a show-stopper. Two option kind 
values would address this.
>
> Certainly warrants more discussion!
Yup.


Bob



>
> Richard
>
>
> Am 13.11.2019 um 14:30 schrieb Bob Briscoe:
>> Neal,
>>
>> Rather than the IETF have to decide up front which ECT value will be
>> more prevalent, I did suggest the following mechanism to my co-authors.
>> However, even tho it's fairly simple, we decided wasting some space was
>> simpler.
>>
>> Given TCP Option space is in short supply, if the WG prefers, we can
>> include that idea in the spec:...
>>
>> The data sender for each half-connection currently initializes
>>
>>     r.e0b = 1 and r.ceb = r.e1b.= 0
>>
>> then communicates these to the other end in the option. We could make
>> the initial values into a signal that determines whether ECT1 feedback
>> comes first for feedback on that half connection. For example:
>>
>>     r.e0b = 0 and r.ceb = r.e1b.= 1
>>
>> could mean ECT0 & ECT1 will be the other way round.
>>
>>
>> Bob
>>
>> On 12/11/2019 16:09, Mirja Kuehlewind wrote:
>>> Hi Neal,
>>>
>>> that's a good point. The order of the field was based on what is 
>>> expected to be the most likely case. Currently most traffic, if it 
>>> uses ECN at all, will set the codepoint to ECT(0). With deployment 
>>> of L4S this could change in future, however, there are also still 
>>> ways to extend the negotiation in the AccECN TCP handshake to e.g. 
>>> support this case better in future.
>>>
>>> Mirja
>>>
>>>
>>>
>>> On 11.11.19, 18:25, "tcpm on behalf of Neal 
>>> Cardwell"<tcpm-bounces@ietf.org on behalf of 
>>> ncardwell=40google.com@dmarc.ietf.org>  wrote:
>>>
>>>      A particular question in regards to the AccECN option:
>>>
>>> https://tools.ietf.org/html/draft-ietf-tcpm-accurate-ecn-09#section-3.2.6
>>>
>>>      The AccECN option spec lists the EE0B field first, with the 
>>> EE1B field
>>>      at the end.
>>>
>>>      Given that L4S plans on using ECT(1) for data packets, and 
>>> unchanging
>>>      counter values can be omitted from the end of the AccECN 
>>> option, why
>>>      not list EE1B first, and EE0B last? With EE1B first and EE0B 
>>> last it
>>>      seems that in the common case for an L4S connection the 
>>> (unchanged)
>>>      EE0B could be omitted, allowing 4 extra bytes of payload per 
>>> packet.
>>>      AFAICT this extra 4 bytes would increase goodput for applications
>>>      using IPv4 or IPv6 with an MTU of 1500 by about 0.3%, by my
>>>      back-of-the-envelope calculations.
>>>
>>>      best,
>>>      neal
>>>
>>>      _______________________________________________
>>>      tcpm mailing list
>>>      tcpm@ietf.org
>>>      https://www.ietf.org/mailman/listinfo/tcpm
>>>
>>>
>>
>> -- 
>> ________________________________________________________________
>> Bob Briscoehttp://bobbriscoe.net/
>>
>>
>> _______________________________________________
>> tcpm mailing list
>> tcpm@ietf.org
>> https://www.ietf.org/mailman/listinfo/tcpm
>>

-- 
________________________________________________________________
Bob Briscoe                               http://bobbriscoe.net/