Re: Proposed extension for delayed acknowledgments

Ian Swett <ianswett@google.com> Thu, 23 January 2020 21:59 UTC

Return-Path: <ianswett@google.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 784D012011C for <quic@ietfa.amsl.com>; Thu, 23 Jan 2020 13:59:32 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -17.499
X-Spam-Level:
X-Spam-Status: No, score=-17.499 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, ENV_AND_HDR_SPF_MATCH=-0.5, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, USER_IN_DEF_DKIM_WL=-7.5, USER_IN_DEF_SPF_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=google.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 jRZLywe2l8XP for <quic@ietfa.amsl.com>; Thu, 23 Jan 2020 13:59:30 -0800 (PST)
Received: from mail-wm1-x32f.google.com (mail-wm1-x32f.google.com [IPv6:2a00:1450:4864:20::32f]) (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 99101120077 for <quic@ietf.org>; Thu, 23 Jan 2020 13:59:29 -0800 (PST)
Received: by mail-wm1-x32f.google.com with SMTP id t14so4196141wmi.5 for <quic@ietf.org>; Thu, 23 Jan 2020 13:59:29 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=IJeYrkh6u2T7MWCNv8uwxqPMAEPPZS5SFLTXUNFdPFc=; b=L1tVcK8Y7ofBsV7cR28Z7RiUx1voAMbagXUdH/WsDcHAPx4KdCQ04Sse1OTbabcXQU zVjRT4nPVRdlqRT5PDQD9WlDryYyl9BvPERxcorCEdFdBMepM1X3ODBWa99MjbFIUef/ 3g/dFo+fQ99R+rkaNQOANSz4vOBNu8eJYebbTdzLzs0OFZQi066Pw/6IMUrgjiUC8FWy c6aPROttzGdzUHrhlfJvlPtrIWzkC+5Dert+SIuw0HJVXdNsFKHmEvG5mI4lplKswLL5 V+sUR9fTrmtm4N8cL3GsoMnUtH11OdxmhkR2DlShL6qtF9Q8ML8582d9qsh5ODPjaEIQ 9ZqQ==
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=IJeYrkh6u2T7MWCNv8uwxqPMAEPPZS5SFLTXUNFdPFc=; b=CAxTErkpgZBhXTXMf6jnuiYUwMof318ZyWieja8OwJZWVgj/WpGo/DeDsyDx//GM4K vUogbR+fB6gmBSmjPZBHAhzAVQtPxNCAOVvv3soC5aXBpI4dUPF1cqlv73lUCqag3abv 00Hll7NcaK+ghk4yniBvFQi8QW7/+A7joxfhApdWEENfXwJ96PQr5Yz1rgBH/qFa9mgM O8nH5hsKMrjHYM2uw0KRXy/SBAXyrsBDZefQpQb1A4idpexrHktwayI2PW7airCoENLZ umf/YpRjk++NREAaUf8O/1kG5GeDxT2ATGkW6KmXB/BfkuCyp83IrBrHep0Yv31ClWv1 xbtQ==
X-Gm-Message-State: APjAAAW+OEKUNt26nygfKe9fgmjzpPotOVg9q+AJ4sS5JmOr2p7+a1av to1v/dF/m5mMVkHwTVfydtUYd1dr27QUi2wqnz2BcLEK
X-Google-Smtp-Source: APXvYqy/eKw4tga8gMYpgWZMYBdd9sd8sbg8jA+Lp2SoOa1KyC77eO5W/YdDIv2aK75ta3G1QHFrJyu1wP9BoR7vAkM=
X-Received: by 2002:a7b:c392:: with SMTP id s18mr32072wmj.169.1579816767697; Thu, 23 Jan 2020 13:59:27 -0800 (PST)
MIME-Version: 1.0
References: <CACpbDcdaGPZN1MpxE8GRV64dO8OK64xbCoUvxHPmCoCk9R-MOg@mail.gmail.com>
In-Reply-To: <CACpbDcdaGPZN1MpxE8GRV64dO8OK64xbCoUvxHPmCoCk9R-MOg@mail.gmail.com>
From: Ian Swett <ianswett@google.com>
Date: Thu, 23 Jan 2020 16:59:15 -0500
Message-ID: <CAKcm_gNWXn_binsbcxkpzB8pFy+tEU7ZJ2CvGSCtnEKHNqN8Jg@mail.gmail.com>
Subject: Re: Proposed extension for delayed acknowledgments
To: Jana Iyengar <jri.ietf@gmail.com>
Cc: QUIC WG <quic@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000403d06059cd5c1fd"
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic/vqfQcnh44jUvAR9bzSPcUda48_8>
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 21:59:33 -0000

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
>