Re: [quicwg/base-drafts] Allow endpoints to generate traffic keys asynchronously (#3874)
ianswett <notifications@github.com> Tue, 04 August 2020 22:05 UTC
Return-Path: <noreply@github.com>
X-Original-To: quic-issues@ietfa.amsl.com
Delivered-To: quic-issues@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id CDEA33A110A for <quic-issues@ietfa.amsl.com>; Tue, 4 Aug 2020 15:05:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.101
X-Spam-Level:
X-Spam-Status: No, score=-3.101 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, HTML_MESSAGE=0.001, MAILING_LIST_MULTI=-1, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=github.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 vKkNR7TmiyQF for <quic-issues@ietfa.amsl.com>; Tue, 4 Aug 2020 15:05:03 -0700 (PDT)
Received: from out-27.smtp.github.com (out-27.smtp.github.com [192.30.252.210]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3927B3A1103 for <quic-issues@ietf.org>; Tue, 4 Aug 2020 15:05:03 -0700 (PDT)
Received: from github-lowworker-ca235ff.ash1-iad.github.net (github-lowworker-ca235ff.ash1-iad.github.net [10.56.110.15]) by smtp.github.com (Postfix) with ESMTP id 4BC7290020C for <quic-issues@ietf.org>; Tue, 4 Aug 2020 15:05:02 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2014; t=1596578702; bh=yQak1X1FCkApHq61gQsub8T1eXu12WgsI8SlXtENZRs=; h=Date:From:Reply-To:To:Cc:In-Reply-To:References:Subject:List-ID: List-Archive:List-Post:List-Unsubscribe:From; b=RJn5OSBbIW3s5QMefSbhBA5zRHOycXi6tkYkYwNuAxAhTlfRH5DMdqCmt1rwFDEL8 ZoHBRWuUqboqXethz5Y1z1a5qcUn6QRZq+X6KqOMHSn1QuFv5d18/WFDDyoaTsGGch JT3/zcC64IQlRPL1Vbl5DM1hQKuSFTBhMZZNh4h0=
Date: Tue, 04 Aug 2020 15:05:02 -0700
From: ianswett <notifications@github.com>
Reply-To: quicwg/base-drafts <reply+AFTOJK2L52VDENWSQSEWCBN5GW6I5EVBNHHCN3MY3A@reply.github.com>
To: quicwg/base-drafts <base-drafts@noreply.github.com>
Cc: Subscribed <subscribed@noreply.github.com>
Message-ID: <quicwg/base-drafts/pull/3874/review/461204128@github.com>
In-Reply-To: <quicwg/base-drafts/pull/3874@github.com>
References: <quicwg/base-drafts/pull/3874@github.com>
Subject: Re: [quicwg/base-drafts] Allow endpoints to generate traffic keys asynchronously (#3874)
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="--==_mimepart_5f29db8e3c4a4_332016f879255"; charset="UTF-8"
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: ianswett
X-GitHub-Recipient: quic-issues
X-GitHub-Reason: subscribed
X-Auto-Response-Suppress: All
X-GitHub-Recipient-Address: quic-issues@ietf.org
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic-issues/BD-Nou7H193g1UHQUVUF2Yi-OfQ>
X-BeenThere: quic-issues@ietf.org
X-Mailman-Version: 2.1.29
List-Id: Notification list for GitHub issues related to the QUIC WG <quic-issues.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/quic-issues>, <mailto:quic-issues-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/quic-issues/>
List-Post: <mailto:quic-issues@ietf.org>
List-Help: <mailto:quic-issues-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/quic-issues>, <mailto:quic-issues-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 04 Aug 2020 22:05:05 -0000
@ianswett commented on this pull request. Thanks for adding more to the PR, some initial comments. > @@ -338,27 +338,41 @@ mean variation. The calculation of smoothed_rtt uses path latency after adjusting RTT samples for acknowledgement delays. These delays are computed using the ACK Delay field of the ACK frame as described in Section 19.3 of {{QUIC-TRANSPORT}}. -For packets sent in the ApplicationData packet number space, a peer limits -any delay in sending an acknowledgement for an ack-eliciting packet to no -greater than the value it advertised in the max_ack_delay transport parameter. -Consequently, when a peer reports an Ack Delay that is greater than its -max_ack_delay, the delay is attributed to reasons out of the peer's control, -such as scheduler latency at the peer or loss of previous ACK frames. Any -delays beyond the peer's max_ack_delay are therefore considered effectively -part of path delay and incorporated into the smoothed_rtt estimate. + +When 0-RTT or 1-RTT ack-eliciting packets are received, a peer does not delay +acknowledging them any longer than the period it advertised in the max_ack_delay +transport parameter; see Section 18.2 of {{QUIC-TRANSPORT}}. + +However, an endpoint SHOULD use ignore max_ack_delay until the handshake is ```suggestion However, an endpoint SHOULD ignore max_ack_delay until the handshake is ``` > -part of path delay and incorporated into the smoothed_rtt estimate. + +When 0-RTT or 1-RTT ack-eliciting packets are received, a peer does not delay +acknowledging them any longer than the period it advertised in the max_ack_delay +transport parameter; see Section 18.2 of {{QUIC-TRANSPORT}}. + +However, an endpoint SHOULD use ignore max_ack_delay until the handshake is +confirmed (Section 4.1.2 of {{QUIC-TLS}}). Prior to handshake confirmation, the +peer's reported acknowledgement delays might exceed the peer's max_ack_delay +because it might buffer undecryptable packets and acknowledge them when the +requisite keys become available to it. Since these delays, when they occur, are +measurable and limited to the handshake, the endpoint can use the delays without +limiting them to the max_ack_delay and avoid unnecessarily inflating the +smoothed_rtt estimate. + +After the handshake is confirmed, any acknowledgement delays reported by the Handshake confirmed only works for 1-RTT packets. But Handshake packets suffer from the same problem as 1-RTT packets. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/quicwg/base-drafts/pull/3874#pullrequestreview-461204128
- [quicwg/base-drafts] Allow endpoints to generate … Kazuho Oku
- Re: [quicwg/base-drafts] Allow endpoints to gener… Martin Thomson
- Re: [quicwg/base-drafts] Allow endpoints to gener… Kazuho Oku
- Re: [quicwg/base-drafts] Allow endpoints to gener… Kazuho Oku
- Re: [quicwg/base-drafts] Allow endpoints to gener… Kazuho Oku
- Re: [quicwg/base-drafts] Allow endpoints to gener… Marten Seemann
- Re: [quicwg/base-drafts] Allow endpoints to gener… Kazuho Oku
- Re: [quicwg/base-drafts] Allow endpoints to gener… Kazuho Oku
- Re: [quicwg/base-drafts] Allow endpoints to gener… Kazuho Oku
- Re: [quicwg/base-drafts] Allow endpoints to gener… Martin Thomson
- Re: [quicwg/base-drafts] Allow endpoints to gener… Marten Seemann
- Re: [quicwg/base-drafts] Allow endpoints to gener… Martin Thomson
- Re: [quicwg/base-drafts] Allow endpoints to gener… Kazuho Oku
- Re: [quicwg/base-drafts] Allow endpoints to gener… Kazuho Oku
- Re: [quicwg/base-drafts] Allow endpoints to gener… Kazuho Oku
- Re: [quicwg/base-drafts] Allow endpoints to gener… Kazuho Oku
- Re: [quicwg/base-drafts] Allow endpoints to gener… Kazuho Oku
- Re: [quicwg/base-drafts] Allow endpoints to gener… Kazuho Oku
- Re: [quicwg/base-drafts] Allow endpoints to gener… Kazuho Oku
- Re: [quicwg/base-drafts] Allow endpoints to gener… Martin Thomson
- Re: [quicwg/base-drafts] Allow endpoints to gener… Kazuho Oku
- Re: [quicwg/base-drafts] Allow endpoints to gener… Kazuho Oku
- Re: [quicwg/base-drafts] Allow endpoints to gener… Martin Thomson
- Re: [quicwg/base-drafts] Allow endpoints to gener… Kazuho Oku
- Re: [quicwg/base-drafts] Allow endpoints to gener… Marten Seemann
- Re: [quicwg/base-drafts] Allow endpoints to gener… ianswett
- Re: [quicwg/base-drafts] Allow endpoints to gener… Kazuho Oku
- Re: [quicwg/base-drafts] Allow endpoints to gener… Kazuho Oku
- Re: [quicwg/base-drafts] Allow endpoints to gener… Marten Seemann
- Re: [quicwg/base-drafts] Allow endpoints to gener… Jana Iyengar
- Re: [quicwg/base-drafts] Allow endpoints to gener… Kazuho Oku
- Re: [quicwg/base-drafts] Allow endpoints to gener… Kazuho Oku
- Re: [quicwg/base-drafts] Allow endpoints to gener… Kazuho Oku
- Re: [quicwg/base-drafts] Allow endpoints to gener… Martin Thomson
- Re: [quicwg/base-drafts] Allow endpoints to gener… ianswett
- Re: [quicwg/base-drafts] Allow endpoints to gener… Martin Thomson
- Re: [quicwg/base-drafts] Allow endpoints to gener… Jana Iyengar
- Re: [quicwg/base-drafts] Allow endpoints to gener… Jana Iyengar
- Re: [quicwg/base-drafts] Allow endpoints to gener… Jana Iyengar
- Re: [quicwg/base-drafts] Allow endpoints to gener… ianswett
- Re: [quicwg/base-drafts] Allow endpoints to gener… Martin Thomson
- Re: [quicwg/base-drafts] Allow endpoints to gener… Jana Iyengar
- Re: [quicwg/base-drafts] Allow endpoints to gener… ianswett
- Re: [quicwg/base-drafts] Allow endpoints to gener… Jana Iyengar
- Re: [quicwg/base-drafts] Allow endpoints to gener… Jana Iyengar
- Re: [quicwg/base-drafts] Allow endpoints to gener… Martin Thomson
- Re: [quicwg/base-drafts] Allow endpoints to gener… Jana Iyengar
- Re: [quicwg/base-drafts] Allow endpoints to gener… Jana Iyengar
- Re: [quicwg/base-drafts] Allow endpoints to gener… Jana Iyengar
- Re: [quicwg/base-drafts] Allow endpoints to gener… Kazuho Oku
- Re: [quicwg/base-drafts] Allow endpoints to gener… Jana Iyengar
- Re: [quicwg/base-drafts] Allow endpoints to gener… Martin Thomson
- Re: [quicwg/base-drafts] Allow endpoints to gener… Jana Iyengar
- Re: [quicwg/base-drafts] Allow endpoints to gener… Martin Thomson
- Re: [quicwg/base-drafts] Allow endpoints to gener… ianswett
- Re: [quicwg/base-drafts] Allow endpoints to gener… Jana Iyengar
- Re: [quicwg/base-drafts] Allow endpoints to gener… ianswett
- Re: [quicwg/base-drafts] Allow endpoints to gener… Martin Thomson
- Re: [quicwg/base-drafts] Allow endpoints to gener… Jana Iyengar
- Re: [quicwg/base-drafts] Allow endpoints to gener… Jana Iyengar
- Re: [quicwg/base-drafts] Allow endpoints to gener… Jana Iyengar
- Re: [quicwg/base-drafts] Allow endpoints to gener… Martin Thomson
- Re: [quicwg/base-drafts] Allow endpoints to gener… Jana Iyengar
- Re: [quicwg/base-drafts] Allow endpoints to gener… Martin Thomson
- Re: [quicwg/base-drafts] Allow endpoints to gener… Jana Iyengar
- Re: [quicwg/base-drafts] Allow endpoints to gener… Jana Iyengar
- Re: [quicwg/base-drafts] Allow endpoints to gener… Kazuho Oku
- Re: [quicwg/base-drafts] Allow endpoints to gener… Jana Iyengar
- Re: [quicwg/base-drafts] Allow endpoints to gener… Jana Iyengar
- Re: [quicwg/base-drafts] Allow endpoints to gener… Jana Iyengar
- Re: [quicwg/base-drafts] Allow endpoints to gener… ianswett
- Re: [quicwg/base-drafts] Allow endpoints to gener… Kazuho Oku
- Re: [quicwg/base-drafts] Allow endpoints to gener… Jana Iyengar
- Re: [quicwg/base-drafts] Allow endpoints to gener… ianswett
- Re: [quicwg/base-drafts] Allow endpoints to gener… Jana Iyengar
- Re: [quicwg/base-drafts] Allow endpoints to gener… Jana Iyengar
- Re: [quicwg/base-drafts] Allow endpoints to gener… Jana Iyengar
- Re: [quicwg/base-drafts] Allow endpoints to gener… Jana Iyengar
- Re: [quicwg/base-drafts] Allow endpoints to gener… ianswett
- Re: [quicwg/base-drafts] Allow endpoints to gener… Marten Seemann
- Re: [quicwg/base-drafts] Allow endpoints to gener… Nick Banks
- Re: [quicwg/base-drafts] Allow endpoints to gener… Nick Banks
- Re: [quicwg/base-drafts] Allow endpoints to gener… Jana Iyengar
- Re: [quicwg/base-drafts] Allow endpoints to gener… Jana Iyengar
- Re: [quicwg/base-drafts] Allow endpoints to gener… ianswett
- Re: [quicwg/base-drafts] Allow endpoints to gener… ianswett
- Re: [quicwg/base-drafts] Allow endpoints to gener… Jana Iyengar
- Re: [quicwg/base-drafts] Allow endpoints to gener… Jana Iyengar
- Re: [quicwg/base-drafts] Allow endpoints to gener… Jana Iyengar
- Re: [quicwg/base-drafts] Allow endpoints to gener… Kazuho Oku
- Re: [quicwg/base-drafts] Allow endpoints to gener… Jana Iyengar
- Re: [quicwg/base-drafts] Allow endpoints to gener… Jana Iyengar
- Re: [quicwg/base-drafts] Allow endpoints to gener… Jana Iyengar
- Re: [quicwg/base-drafts] Allow endpoints to gener… Jana Iyengar
- Re: [quicwg/base-drafts] Behavior around key avai… ianswett
- Re: [quicwg/base-drafts] Behavior around key avai… ianswett
- Re: [quicwg/base-drafts] Behavior around key avai… ianswett
- Re: [quicwg/base-drafts] Behavior around key avai… Jana Iyengar
- Re: [quicwg/base-drafts] Behavior around key avai… Kazuho Oku
- Re: [quicwg/base-drafts] Behavior around key avai… Jana Iyengar
- Re: [quicwg/base-drafts] Behavior around key avai… Kazuho Oku
- Re: [quicwg/base-drafts] Behavior around key avai… ianswett
- Re: [quicwg/base-drafts] Behavior around key avai… ianswett
- Re: [quicwg/base-drafts] Behavior around key avai… martinduke
- Re: [quicwg/base-drafts] Behavior around key avai… Jana Iyengar
- Re: [quicwg/base-drafts] Behavior around key avai… Jana Iyengar
- Re: [quicwg/base-drafts] Behavior around key avai… Jana Iyengar
- Re: [quicwg/base-drafts] Behavior around key avai… Jana Iyengar
- Re: [quicwg/base-drafts] Behavior around key avai… Jana Iyengar
- Re: [quicwg/base-drafts] Behavior around key avai… Jana Iyengar