Re: Proposed extension for delayed acknowledgments

Matt Joras <matt.joras@gmail.com> Thu, 23 January 2020 22:25 UTC

Return-Path: <matt.joras@gmail.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 AFFFD1200E9 for <quic@ietfa.amsl.com>; Thu, 23 Jan 2020 14:25:19 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.997
X-Spam-Level:
X-Spam-Status: No, score=-1.997 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-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 FBqWyfRTTq8S for <quic@ietfa.amsl.com>; Thu, 23 Jan 2020 14:25:18 -0800 (PST)
Received: from mail-ua1-x936.google.com (mail-ua1-x936.google.com [IPv6:2607:f8b0:4864:20::936]) (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 D4C53120077 for <quic@ietf.org>; Thu, 23 Jan 2020 14:25:17 -0800 (PST)
Received: by mail-ua1-x936.google.com with SMTP id y3so105904uae.3 for <quic@ietf.org>; Thu, 23 Jan 2020 14:25:17 -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=bly6eVAeKY6/lOfxJ1XX6wALhDZRyFDQBgYphMDOOvE=; b=qoY/hZoohYZArVanr/CEgaXcSwUeFGXRlj6mg4fKvwEJ286d8aZUJagk4vOLvQJCtu D9mllmIUI+/JKqI205cfnJs0XRkaCTZMjue9fcQyJ9AQQRTJPt2fNlXsHYfeqXuHtL9Q 0lEdyY2hkYgV8aIl8gU0dnOToUhS8h5tdi1vTltF4aE51lCZyAXqyg4nuPwuZqVcn7fS swlyU3M88GuYDzPNqxtrnjWV5cUaV+diJiy5m1sqOA2PG4eq9DRpcXPssTEKZIVUDOT+ zTcGDHDeyB85nqDAi658m+bukyc2jkFSUIvOPUD+pPOWxoTz/rDAPdjovqKPT8UMqqOy NJ6Q==
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=bly6eVAeKY6/lOfxJ1XX6wALhDZRyFDQBgYphMDOOvE=; b=icQctKv5oStuBZJWqtNJS5SbYvwzoXIW3rtMvXYrD4vrcjjIeRWypAdAAlB/pmAmic yB6j3cwVwvIyZnWh3nHGMtUD8bnh2zBFEpXOm7I6ie7U/XfZJyiXky1E3G6ZjaE9/Nt6 +tNofYIjMbkwwmsEckq90M+vOHczu5CgFNSBSZPFjhPnhVHxhXNeem6DzA+HZ39Ezcfy mTAOXz82HLfIvKtAVATHor8IcsfA2zbnhyY9CR3a91zLo12JMaM4V/JPKiYXe+ju3jgP xwTrRsEy6QHVY3YcWE5xzvrMPU3p7Wl7izz4tK6ppHPjGaa/i+MEtLLVpSIAsVwX54Rn LbPw==
X-Gm-Message-State: APjAAAV/ktvUvjmebqfCMfnzqHArrNm3Et+5He+IMJ4pmowCubtWto+R M09zr8AEedddeh9drkLYzWExHDQNkaYB6hRFSsU=
X-Google-Smtp-Source: APXvYqw7XAsQA4am4W7SUEUgf/pEE+nKMYy2IhpAotdV+1cNK6Xv/HLKIOfnO/Ml24Ar/2vMbtNytxvKqrA+YxvUWHI=
X-Received: by 2002:ab0:e16:: with SMTP id g22mr84306uak.129.1579818316747; Thu, 23 Jan 2020 14:25:16 -0800 (PST)
MIME-Version: 1.0
References: <CACpbDcdaGPZN1MpxE8GRV64dO8OK64xbCoUvxHPmCoCk9R-MOg@mail.gmail.com> <CAKcm_gNWXn_binsbcxkpzB8pFy+tEU7ZJ2CvGSCtnEKHNqN8Jg@mail.gmail.com>
In-Reply-To: <CAKcm_gNWXn_binsbcxkpzB8pFy+tEU7ZJ2CvGSCtnEKHNqN8Jg@mail.gmail.com>
From: Matt Joras <matt.joras@gmail.com>
Date: Thu, 23 Jan 2020 14:25:05 -0800
Message-ID: <CADdTf+iMwjodXccWkfOTOQe6ahFNPK4bFZ5v5tpk1oqO0f4Pdw@mail.gmail.com>
Subject: Re: Proposed extension for delayed acknowledgments
To: Ian Swett <ianswett=40google.com@dmarc.ietf.org>
Cc: Jana Iyengar <jri.ietf@gmail.com>, QUIC WG <quic@ietf.org>
Content-Type: multipart/alternative; boundary="0000000000009457ee059cd61d8b"
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic/24QhZxXwS9jGfeKUcK_io5n0FqA>
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, 23 Jan 2020 22:25:20 -0000

Thank you Jana and Ian for doing this!

As I noted on #3304, we have also observed this sort of change is critical
to reducing client-originated ACK traffic for typical Internet content, and
for CPU performance of both client and server. Noting here that I have
opened an issue (#17
<https://github.com/janaiyengar/ack-frequency/issues/17>) for the
following: given that we have a basic heuristic that seems to work pretty
well for multiple deployments (default behavior for first 100 packets,
packet tolerance of 10 after), do we want to make that recommendation
explicit in the extension itself?

Matt Joras


On Thu, Jan 23, 2020 at 1:59 PM Ian Swett <ianswett=
40google.com@dmarc.ietf.org> wrote:

> Thanks Jana!
>
> This draft was motivated both by the fact Chrome(and Cronet) clients
> already have a variation on this enabled(ack every 10 packets or 1/4
> min_rtt), and it has shown huge(ie: 2x+) improvements in client CPU,
> particularly on mobile clients.  Other clients have had similar experiences.
>
> Additionally, testing on satellite networks has shown this is a critical
> performance improvement, because these networks are commonly highly
> asymmetric and they can't add proxies which terminate transport(ie: TCP)
> separately from crypto for QUIC.
>
> Additionally, by specifying the update_max_ack_delay field in
> microseconds, this is a potential fix for Issue #3363
> <https://github.com/quicwg/base-drafts/issues/3363>(max_ack_delay should
> be in us, not ms).
>
> I'm very excited about this extension and our team intends to implement it
> relatively soon in Chrome and Google servers when an IETF QUIC draft is
> enabled.
>
> Ian
>
> On Thu, Jan 23, 2020 at 4:51 PM Jana Iyengar <jri.ietf@gmail.com> wrote:
>
>> Hi all,
>>
>> Ian and I have proposed an extension to enable sender-side control of
>> acknowledgement frequency: draft-iyengar-quic-delayed-ack-00
>> <https://datatracker.ietf.org/doc/draft-iyengar-quic-delayed-ack/>.
>>
>> The problem this extension solves was originally discussed in #1978
>> <https://github.com/quicwg/base-drafts/issues/1978>, where we agreed
>> that this might be best done in an extension. The desire to reduce the
>> frequency of acknowledgements was more recently brought up and discussed in
>> #3304 <https://github.com/quicwg/base-drafts/issues/3304>, where it
>> seemed clear that there was interest in working on this now. This proposed
>> extension is a result.
>>
>> This is an individual draft. Please feel free to use the following github
>> repo, which is NOT the working group's repo, for filing issues and
>> discussion pertaining to the draft:
>> https://github.com/janaiyengar/ack-frequency
>>
>> - jana
>>
>