Re: Call For Adoption QUIC: delayed-ack

Mirja Kuehlewind <mirja.kuehlewind@ericsson.com> Thu, 08 April 2021 08:44 UTC

Return-Path: <mirja.kuehlewind@ericsson.com>
X-Original-To: quic@ietfa.amsl.com
Delivered-To: quic@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A20693A409E for <quic@ietfa.amsl.com>; Thu, 8 Apr 2021 01:44:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.102
X-Spam-Level:
X-Spam-Status: No, score=-2.102 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=ericsson.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 hCkK-T_Onk0J for <quic@ietfa.amsl.com>; Thu, 8 Apr 2021 01:44:42 -0700 (PDT)
Received: from EUR02-VE1-obe.outbound.protection.outlook.com (mail-eopbgr20054.outbound.protection.outlook.com [40.107.2.54]) (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 E16CB3A409A for <quic@ietf.org>; Thu, 8 Apr 2021 01:44:41 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=avSpXEcpatxahrMbGyJNftojXLujD1tec+lnfdEZs2JzM9iMK3uTobAj+dBp+VKA0HXJHWxiR6ttaHuUcUvv8qkNQQ91diJJIgd67gkpcyiJumaSvaPNj/MYvcLRNy1D3BCQy3wytV4kWxVTwEmXgYgG764Znp2pPwf9NE1QMDoIAK2fSdq6RZVnxIiY4Ajw0t4qqtG495+1QYP0J/RhC/SWWzrfiwrrJqnbizlfxH9424jvHqjJmeGTagUS3jObkhZFoJwPkvEh8z946vvzWILu4I+eDK1P8zyLAdhJYHihqqKziEoxnhsfVzEwvzsoVlaiORK7HLoHQwAjm8ZYxA==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=+S+fxchmKhLAk+/Pgciu0EduI1oeeMun4/gHHuDVuZY=; b=UV5qFhyf2xCNsKlU4R5RTfygUFODh7eLge5BFPYokLIXchZeU8I06k+CpO2i6Sc/0cW1u+hdzIigkt//EXgASmgE5K6RNpN4ZEeWiYhe5H9iXxgeCcrehCM57mcjLHky4zypnnCdj3vVT/thEJcCWnwx0W4xoL1oibYDB9NeFmdT+qwbRBw4rNXnNy3oFtHNPF2KmuuGvH6if2aF7iy0ivRjQKEBjkDnvxTA/TeTqOdhNbaNIzSRgJlYY7oCmFMFQ3pJKFS3zLj3V97eSp5aiys79zufavMN57OVxu7bAJMBWE9sazF56Haem3/024LUP+qn58yCQc2I5aUDZIIEig==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ericsson.com; dmarc=pass action=none header.from=ericsson.com; dkim=pass header.d=ericsson.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericsson.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=+S+fxchmKhLAk+/Pgciu0EduI1oeeMun4/gHHuDVuZY=; b=NfnCwSFMB4QMP1UwRmS9p8uXJ3g5o7VU92T8C5Gpd9A55oeOCUOYIkMCh5EI5Us5ddLnJajOLTy2ryZdASUy+qkXL6XBSi2+QK4XTgG1rYB438izOiJH3NP9Yf8jwK5f/Yww0jNjvvYj/Mreget3t+8pLkZ+GP68ECLur5RflRg=
Received: from AM0PR07MB3939.eurprd07.prod.outlook.com (2603:10a6:208:40::14) by AM8PR07MB7426.eurprd07.prod.outlook.com (2603:10a6:20b:236::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4020.8; Thu, 8 Apr 2021 08:44:39 +0000
Received: from AM0PR07MB3939.eurprd07.prod.outlook.com ([fe80::f5b3:5946:19c5:d8b8]) by AM0PR07MB3939.eurprd07.prod.outlook.com ([fe80::f5b3:5946:19c5:d8b8%6]) with mapi id 15.20.4020.018; Thu, 8 Apr 2021 08:44:39 +0000
From: Mirja Kuehlewind <mirja.kuehlewind@ericsson.com>
To: Matt Joras <matt.joras@gmail.com>
CC: Ian Swett <ianswett=40google.com@dmarc.ietf.org>, IETF QUIC WG <quic@ietf.org>
Subject: Re: Call For Adoption QUIC: delayed-ack
Thread-Topic: Call For Adoption QUIC: delayed-ack
Thread-Index: AQHXJZxnwXTN0dBZj0yiBkIJGd6BfqqpQbEAgAARoICAACOxAP///l8AgAEHvgA=
Date: Thu, 08 Apr 2021 08:44:39 +0000
Message-ID: <8D2D26F4-6159-46B5-B7F9-7DCCE72E9F94@ericsson.com>
References: <CADdTf+gUYjUL=Z0zbhS-Hn7TURxXJtzcL8Nou0v0rvzwOSf5Wg@mail.gmail.com> <CBBCC238-8456-403B-9670-3C75CE184392@ericsson.com> <CAKcm_gPBL86LgCff0XBw0hnfgMyBqsT3CMt0u_vEg4Tn4P6+cw@mail.gmail.com> <FEDE1091-6E1E-4370-9352-DFB49D8B3624@ericsson.com> <CADdTf+jDSXbLPnnJREhWjcOBKgH4ySHi5tyJ-pm0_4nD=fXNog@mail.gmail.com>
In-Reply-To: <CADdTf+jDSXbLPnnJREhWjcOBKgH4ySHi5tyJ-pm0_4nD=fXNog@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-GB
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/16.45.21011103
authentication-results: gmail.com; dkim=none (message not signed) header.d=none;gmail.com; dmarc=none action=none header.from=ericsson.com;
x-originating-ip: [2003:de:e740:2700:4df7:b0d:5924:864b]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: dbc59aab-8082-4ae3-6057-08d8fa6a8bfa
x-ms-traffictypediagnostic: AM8PR07MB7426:
x-microsoft-antispam-prvs: <AM8PR07MB7426DCCC7CB10C149C1F8D81F4749@AM8PR07MB7426.eurprd07.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:9508;
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: 24jWsFO+VHZRFWyr2pFIFHAk4oQfpsTXMK0VbfRgTfQiozuF1AGrAhVS5h3pKOcecR/jfUtt90yDT1ExwbZcKHPmgwb1PHck1LO0cfN3VzlEYEkzpRT9fmKzSWjSiBZnYehOgYrOCRoAoU5kTPTUKR4lERxSog2ytg5GFAFu4W5/AmhY4oL4y7hVvtrCtbLpajiuUw3QEtgniGoOef1qNZbvvyUs1I9/d3lfDgU/K4uBTtvWE+eI5PWtbU2d8PX8zsNpOb/XSQNDI7WQuSESnD5yaS86rM1HS3sl//c7JyJidxXSvS+eMX3uQGfGaWgLq9MNevjt6b/1mWIXMA24NsOS2ACP6Ws7OVtAu9Zn9NfFOUb25Pk2MpwPKMSuO/yXnTuzSJzKQGZM1ozT29Fnxw6Zj8t0SuVQqwKk1fRwcUZ8QOphjjxI/seoiedtyVDzkIz9EpnPuoNCs+cel/RKsXok1Rw6iesVR6eTvYzvBqE53FI28lXn9fQ+dYRsQOJHb43EPozIcJIJg68QTWr+bAnFReRvCd8InfK2ef/praur5EPjoerlWL0HFBgmRUFkjHb0ZQDKzXsNeDUjyL6I5CrIIXjRX3nUCvn/EoNRTDlW+Tq/IyZFPqCikp8WFPD5YWAGgGUlbjIcGFrzyjosfEFmTqVTXvQ0mw/r8koTysqsLxOzQgZoxs53jpR204jqy/rC6GZpMuf7GLK4+Pob7rJ/dLG/X9x4VxzcW1goH56B3kzBQf5yccykThLA7HZnOfc2bsA7dDnosuSufXhvSg==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM0PR07MB3939.eurprd07.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(376002)(346002)(366004)(39860400002)(396003)(136003)(71200400001)(186003)(5660300002)(2906002)(6916009)(66946007)(33656002)(76116006)(316002)(64756008)(966005)(86362001)(38100700001)(53546011)(478600001)(6506007)(8676002)(8936002)(2616005)(4326008)(44832011)(6512007)(54906003)(6486002)(83380400001)(66556008)(66446008)(66476007)(36756003)(45980500001); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata: TvyZ1nnJN1vpwPfbGmB5mzLPx75TF41Y8+3lGDia6vrAGOOKv23i6cegW7/ntT0MUTsSDXDf+oueCexS+V7yWILhOiCSeATWtMm3IOfElIhH3tsRns0fnzRaWZjlPTBor3d689Es8sED9LVvi0hN6YPDyTLy1wAR1pBbyAlgMeVc4IqW6UXM+iMnu9K+VH9DY32kqpIXtAdzhuy6sotlXRi3dAjTwircp9r0XlO/M1NPZWT3/OYC7S7Tl7yKlvlfZQpCDe8W0bsJNLbxL2fxeRnBW4G1fh6ROfUZrG9nUu6mtsmWaAQSKANSbFa2cWaORJoR2dcroe1sZaxlRQMynUmQ22uCWr4uwBM+Kumklk+Cw5H9uPbLn2NqpjogXuSgjVrq1PrOK0UFgeQhIsTzct5qGQNt/mIBGa8kXejjTlY0P5Z3XVSjkpPIk0kRx0ZhIajoRO5+/S9hnV6cASLEYcjG1cM+N+ze7wHbhE5AqQKZd52PYLByDDCN9LYzDENVyQZhpFjcEWmYLCH9kl+gkNMjFZnMY9MDMUeSnJQf2BJOZfAm1hY4VdeUizU7N7c4zsayDKi95z+uLlJF/UpVMBj7zcUxLdSWYshMLOdDjDo7VRokKMY3/1Zm5Zt1UkmEVx7BNrix9qBfWFaCmkel4MoTapdWEYA0InizRNHFe5jr6efSzWzTVFQAd+eeuHYacx9pR8fNuRrh956vZccAncokvZZPdmzHitxZ8OvAGC2wtvmmIwKhgUPcylExkwIZeUVpHT3gRoMfjnIRQzOgcaGhrPeJkUHo+A2SeoyrmnJTISTguWadO6U+B5DKyZcf9wz4YVtVQG0pvKM9MX4aF9z29riyMereCDYzBk3qOr43GzbhRYsWXQiOTWPxuy5CMRjRo1jjz4JlJeCr3oY29dZ37SKoD59GrJptpYmBKRl6DZ2iMNa+c20L1SMFq8UreGIRxflIKun7dUjglQ2ZO64M25b/zDAkIgVy69qoCa89VD6RxC+keKgqabRZoAVD2v78L9gsuGRAPqs8xn4/ROYcCE+xD7iup1gZShVPUyjzC+kSLEMRmZL80774tZLOkmUvW8ZUBs+6J+48aP/mwFslXs1yPrL/V/rctZ1vcFKxNVzO5KwN4+TrIA0xEa1kWvvETYoUo//UU/QehmbqwkQrQKQ8qGFkltkVlG/R/L9KTBP8c6QAKVVG01z8kOoem50uQ2cwUvkGAk+L6D2T4axSgL3OEdhRA1MwCk3nmm2/DgLX18FIX76Mx5bR7N6I6s/ciAou/ftXbS+KMfA1i9FsTTO2CP94U9xdeF0Iu3JLLHy06Gv6ppjgjyQLmbQ8g/QLeYxTgQK75VmkTXkabLcjXEvofyxdV5RJc8fMlLlzeJHyfPQDkhDfL3LDlO7t
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="utf-8"
Content-ID: <DE1364D66828624AB705998A34D84C8A@eurprd07.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: ericsson.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: AM0PR07MB3939.eurprd07.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: dbc59aab-8082-4ae3-6057-08d8fa6a8bfa
X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Apr 2021 08:44:39.3594 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 92e84ceb-fbfd-47ab-be52-080c6b87953f
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: hf19j4HRULGTYET2GxioV9c2J1h62Bad3RvHUpceeezNcxA/xtT5/I1zm7XwjrhoUqVDbWw06oIoht+tozmetxju+8wL4vA45LMggGX6xv4=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM8PR07MB7426
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic/sF3_IOaFLEGHl2hKFVC8JIt79uw>
X-BeenThere: quic@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Main mailing list of the IETF QUIC working group <quic.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/quic>, <mailto:quic-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/quic/>
List-Post: <mailto:quic@ietf.org>
List-Help: <mailto:quic-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/quic>, <mailto:quic-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 08 Apr 2021 08:44:47 -0000

Hi Matt,

your description below does not mention min_ack_delay and that's the part I was wondering about. The implementation as you explained below is also what I would expect but it less clear to me what to do with the values provided by min_ack_delay.

Mirja


On 07.04.21, 21:00, "Matt Joras" <matt.joras@gmail.com> wrote:

    Hi Mirja,

    Below is my interpretation though since we are having this discussion
    perhaps this needs to be made clearer in the text.

    On Wed, Apr 7, 2021 at 10:06 AM Mirja Kuehlewind
    <mirja.kuehlewind@ericsson.com> wrote:
    >
    > Hi Ian,
    >
    >
    >
    > see blow.
    >
    >
    >
    > From: Ian Swett <ianswett=40google.com@dmarc.ietf.org>
    > Date: Wednesday, 7. April 2021 at 18:59
    > To: Mirja Kuehlewind <mirja.kuehlewind@ericsson.com>
    > Cc: Matt Joras <matt.joras@gmail.com>, IETF QUIC WG <quic@ietf.org>
    > Subject: Re: Call For Adoption QUIC: delayed-ack
    >
    >
    >
    > Hi Mirja,
    >
    >
    >
    > min_ack_delay is used to limit the minimum ack delay you can request in the ACK_FREQUENCY frame: "Any value smaller than the "min_ack_delay" advertised by this endpoint is invalid."  https://tools.ietf.org/html/draft-iyengar-quic-delayed-ack-02#section-4. After re-reading, possibly "this endpoint" is not specific enough?
    >
    >
    >
    > I was missing further guidance on how to implement that. Usually if I have a packet tolerance of e.g. 2, I would just ack every other packet. Am I supposed to delay my ack if the last was ACK was send to close by? Would I need to use the delayed ACK timer for that or a separate timer? Didn’t think that through but thought it would be good to have more guidance in the draft.
    >

    The ACK_FREQUENCY frame essentially just gives a sender a mechanism to
    alter the otherwise hard coded behavior of the receiver and otherwise
    does nothing to change the logic. In QUIC we have 3 things which can
    affect ACK frequency :
    1. "packet tolerance" (I really wish we could come up with a better
    term for this), which is defaulted to two, or every other packet.
    2. Max ack delay, settable with a default of 25ms.
    3. Out of order packets, via a threshold

    An ACK is supposed to be sent when any of the above conditions are
    met. The same is true when using the ACK_FREQUENCY frame, except that
    the conditions can change during a connection. The packet tolerance
    and max ACK delay are dynamic instead of static, so the logic should
    be identical except for allowing these values to change. The out of
    order packets behavior is also controllable in a binary fashion,
    effectively removing the condition entirely.
    >
    > Mirja
    >
    >
    >
    >
    >
    >
    >
    >
    >
    > 2) I filed https://protect2.fireeye.com/v1/url?k=826ab963-ddf18063-826af9f8-86fc6812c361-c26453d8be9cda19&q=1&e=28123d83-0cab-4534-b339-c4c176ece256&u=https%3A%2F%2Fgithub.com%2Fjanaiyengar%2Fack-frequency%2Fissues%2F48 for this.
    >
    >
    >
    > Thanks for reading, Ian
    >
    >
    >
    > On Wed, Apr 7, 2021 at 9:56 AM Mirja Kuehlewind <mirja.kuehlewind=40ericsson.com@dmarc.ietf.org> wrote:
    >
    > Hi,
    >
    > I know I'm too late but I also support adoption.
    >
    > But now that I found the time to read the draft again, I also have two comment:
    >
    > 1) It seems like min_ack_delay is "only" used for negotiation because the draft does not specify any further what to do with this value. Isn't either min_ack_delay or Packet Tolerance sufficient, e.g. what if you have a packet tolerance of 1 but a min_ack_delay of > 0?
    >
    > 2) For ECN, you don't need to send an immediate ACK for each CE. Immediate ACKs are most important when the codepoint switches to CE, but then, if multiple CEs in a row are received, you can bundle the ACK information. See also https://tools.ietf.org/html/draft-ietf-tcpm-accurate-ecn-14#section-3.2.2.5.1
    > (Note that we are still working on that section for AccECN but I think any changes are only relevant for specifics of TCP)
    >
    > Mirja
    >
    >
    >
    > On 30.03.21, 21:39, "QUIC on behalf of Matt Joras" <quic-bounces@ietf.org on behalf of matt.joras@gmail.com> wrote:
    >
    >     Hello all,
    >
    >     Now that we have been rechartered we can move forward with adopting
    >     new items. It is the opinion of the chairs that the delayed-ack
    >     draft[1] has sufficient interest from and relevance to the WG to be
    >     formally adopted. This email is the call to do so. There are already
    >     several interoperating implementations of the current draft. Please
    >     reply to this email with any comments, the call will run through April
    >     6th.
    >
    >     Thanks,
    >     QUIC Chairs
    >
    >     [1] https://datatracker.ietf.org/doc/draft-iyengar-quic-delayed-ack/
    >

    Matt Joras