Re: [tcpm] [EXTERNAL] Re: Seeking WG opinions on ACKing ACKs with good cause

Bob Briscoe <ietf@bobbriscoe.net> Sat, 10 July 2021 21:13 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 C46193A101D for <tcpm@ietfa.amsl.com>; Sat, 10 Jul 2021 14:13:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.197
X-Spam-Level:
X-Spam-Status: No, score=-0.197 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, NICE_REPLY_A=-0.001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, 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=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 m5Gua0BhfQCQ for <tcpm@ietfa.amsl.com>; Sat, 10 Jul 2021 14:13:51 -0700 (PDT)
Received: from mail-ssdrsserver2.hostinginterface.eu (mail-ssdrsserver2.hostinginterface.eu [185.185.85.90]) (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 07C163A1019 for <tcpm@ietf.org>; Sat, 10 Jul 2021 14:13:50 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=bobbriscoe.net; s=default; h=Content-Type:In-Reply-To:MIME-Version:Date: Message-ID:From:References:Cc:To:Subject:Sender:Reply-To: Content-Transfer-Encoding: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=WYk0NIGcNshODQ80mws2We1/RBJ1ux5kfEyLftCxY3U=; b=DrvNOMBSYPeX3fXk6fs3UHLllt SJxg3qSksghGTATP6NB33xiZ7v6Rh4lND2Bz0XbXD40m+MR0cpVIIrRoPTOMm7GbH6OcpHFmZXNuv nbtXL6IZQisJViPhy36old3cN+8hBnl1/+4fPyM/Ls3h4QbKrglAXj6LHbpMsqJs8XCwQrXF9yJj+ 5R+cE+v9KHV5Lxqy9z8SzbKJMpcxnSJQw6vXbS4Xml7wN768BZsPfrwB9xpDWaWupQ6us+FbdUTLl 80+RWhxpagoHOI+arEL2/FDZnF1e1u3aElAJ4GaOQRTcWUcN/MttGCmIuZHwIhWTF+6/48QuI0/fv O+TxeytQ==;
Received: from 67.153.238.178.in-addr.arpa ([178.238.153.67]:58002 helo=[192.168.1.10]) by ssdrsserver2.hostinginterface.eu with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from <ietf@bobbriscoe.net>) id 1m2KIR-0007Kd-A7; Sat, 10 Jul 2021 22:13:49 +0100
To: Yoshifumi Nishida <nsd.ietf@gmail.com>, "tcpm@ietf.org" <tcpm@ietf.org>, Mirja Kuehlewind <ietf@kuehlewind.net>, "rs.ietf@gmx.at" <rs.ietf@gmx.at>, "ietf@kuehlewind.net" <ietf@kuehlewind.net>
Cc: "nishida@sfc.wide.ad.jp" <nishida@sfc.wide.ad.jp>
References: <47df9b8b-515e-d40d-3473-599b0a3e3876@bobbriscoe.net> <221e58f3-ada0-c880-db72-d98af84fedb8@gmx.at> <bd6ab65d-ccd5-9fa9-58be-6d9fea4af870@bobbriscoe.net> <CAAK044QgF4pz5Wamnxkobthou5ac4_LBxh8=nBYWyOxQUtcW-Q@mail.gmail.com> <8151fdef-ae78-80f3-adfc-d40db878ac8e@gmx.at> <CAAK044RhdAYexcGRj_XDkdY_o6JqB0DDo1X0H2AeFkRcsb0i4A@mail.gmail.com> <48c5910d-5340-acd6-8fd9-fff1b7758310@bobbriscoe.net> <CAAK044QOdi8DzBbLbwTvdcesFK21i1KU+Sj+4J7_odE5UQfmNg@mail.gmail.com> <dc11cd02-616e-93a7-7bcf-1e5112c2e1e1@bobbriscoe.net> <99B71B9A-EC9B-47FD-A149-FBEF9DEEC8DC@kuehlewind.net> <CAAK044SgdHAiBvDPHYOaq7-fgJTrBBoAqZQ70F5X3Q5HXvTEuw@mail.gmail.com> <ce4f09c2-2b50-8b35-3c3d-a01d45acce3b@bobbriscoe.net> <CAAK044SC4+=RBOEky34OzuirM-u_Om58Lm8uqSqkcpExSBwfHA@mail.gmail.com> <c98723ea-8cbe-5141-a127-33975676050c@gmx.at> <CO2PR00MB016662270FCE3E01AC4138D9B67D9@CO2PR00MB0166.namprd00.prod.outlook.com> <CAAK044QxkxxuuRXyRQB4U5q+SOKqUYLBqv7-tRJHybkFQjsO2A@mail.gmail.com>
From: Bob Briscoe <ietf@bobbriscoe.net>
Message-ID: <d9d36273-7407-4e8e-b9e8-cd97f1096d54@bobbriscoe.net>
Date: Sat, 10 Jul 2021 22:13:44 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0
MIME-Version: 1.0
In-Reply-To: <CAAK044QxkxxuuRXyRQB4U5q+SOKqUYLBqv7-tRJHybkFQjsO2A@mail.gmail.com>
Content-Type: multipart/alternative; boundary="------------0D7D0624489156F45105AE18"
Content-Language: en-GB
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - ssdrsserver2.hostinginterface.eu
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: ssdrsserver2.hostinginterface.eu: authenticated_id: in@bobbriscoe.net
X-Authenticated-Sender: ssdrsserver2.hostinginterface.eu: in@bobbriscoe.net
X-Source:
X-Source-Args:
X-Source-Dir:
Archived-At: <https://mailarchive.ietf.org/arch/msg/tcpm/kQWNeW9WA_7oa9W97kmAjEPXh7M>
Subject: Re: [tcpm] [EXTERNAL] Re: Seeking WG opinions on ACKing ACKs with good cause
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: Sat, 10 Jul 2021 21:13:56 -0000

Yoshi, Richard, Mirja, tcpm list,

We came to a good consensus in late March on the conditions to place 
around ACKing ACKs in order to keep congestion feedback flowing, but to 
ensure ping-pong ACKs are rapidly damped as well as avoiding false 
DupACK detection. I have written that up in a rev of the draft, which I 
will post separately so as not to distract from the question I have here...
...While writing up, I realized we had glossed over a possibly more 
important point, when we proposed to change the number in the basic rule 
from 2 to 3, as follows:

       An AccECN Data Receiver MUST immediately send an ACK once 'n'
       CE marks have arrived since the previous ACK, where 'n' SHOULD
       be 3 and MUST be in the range 3 to 6 inclusive.


I'd like to suggest an alternative:

       An AccECN Data Receiver MUST immediately send an ACK once 'n'
       CE marks have arrived since the previous ACK. If there is new
       data to acknowledge, 'n' SHOULD be 2.  If there is no new data
       to acknowledge, 'n' SHOULD be 3 and MUST be no less than 3.
       In either case, 'n' MUST be no greater than 6.


Rationale: The data ACKs case shouldn't be compromised by the ACKs of 
ACKs case.

When we were originally only thinking of the data ACKs case (before we 
realized this rule might trigger ACKs of ACKs), we recommended n=2  
because it ensures congestion information is kept fresh, and during runs 
of congestion it generates more ACKs, which might make it more likely 
that at least one ACK survives some types of coalescing before the ACE 
field wraps. Also 2 is the default for the equivalent repetition of 
DCTCP feedback.

Then, we noticed the ACKs of ACKs case, and we wanted to damp any ACK 
ping-pong, so we recommended 3. Without really discussing the pros and 
cons, we extended 3 to all cases (both data ACKs and ACKs of ACKs). I 
suspect the main reason was that it is just simpler to have a single 
rule. But these two cases are likely to be controlled from different 
parts of the code anyway.

I've also realized that, in the data ACKs case, it was wrong to set a 
lower bound on 'n', let alone a /mandatory/ lower bound. There might be 
scenarios where it makes sense to trigger an ACK every CE mark; we have 
no reason to stop implementers doing that if they want. A lower bound 
could even be perversely read to mean that you're not allowed to 
immediately ACK data until you've received 'n' CE marks.

Thoughts?



Bob

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