Re: [quicwg/base-drafts] Editorial recovery fixes (#1551)

Martin Thomson <notifications@github.com> Thu, 12 July 2018 02:25 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 54570130FDA for <quic-issues@ietfa.amsl.com>; Wed, 11 Jul 2018 19:25:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.009
X-Spam-Level:
X-Spam-Status: No, score=-8.009 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, T_DKIMWL_WL_HIGH=-0.01, URIBL_BLOCKED=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 wTZP4WcvOUFw for <quic-issues@ietfa.amsl.com>; Wed, 11 Jul 2018 19:25:16 -0700 (PDT)
Received: from out-6.smtp.github.com (out-6.smtp.github.com [192.30.252.197]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D26CE130F93 for <quic-issues@ietf.org>; Wed, 11 Jul 2018 19:25:15 -0700 (PDT)
Date: Wed, 11 Jul 2018 19:25:15 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2014; t=1531362315; bh=3Hhe2ZhwK6UUpyY1Yg7lQI44cLJP/xROoPQ1aX/lLw0=; h=Date:From:Reply-To:To:Cc:In-Reply-To:References:Subject:List-ID: List-Archive:List-Post:List-Unsubscribe:From; b=1x1zezm3QNDUN1PY0nH8wmY1RILGTYrOG3hCpY98UGv7znCQpS15/tEeoisWaddtM XYh8JxCvm6TSDTQ0exNpbavB0Crd2YXEesWRvWpSUEzlkT7hf3Vh3iM3yWFxax+1h9 dbtJ6RV1F+TpsO0B0DTGTx7YA5/NGInoQW3kX91w=
From: Martin Thomson <notifications@github.com>
Reply-To: quicwg/base-drafts <reply+0166e4ab515ec71684866d812b420a18f48ab7d6a42c383e92cf00000001175e7e0b92a169ce144b173f@reply.github.com>
To: quicwg/base-drafts <base-drafts@noreply.github.com>
Cc: Subscribed <subscribed@noreply.github.com>
Message-ID: <quicwg/base-drafts/pull/1551/review/136482465@github.com>
In-Reply-To: <quicwg/base-drafts/pull/1551@github.com>
References: <quicwg/base-drafts/pull/1551@github.com>
Subject: Re: [quicwg/base-drafts] Editorial recovery fixes (#1551)
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="--==_mimepart_5b46bc0b1b03c_2b7b2b0030b6cf50720683"; charset="UTF-8"
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: martinthomson
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/ybM7aAWOFLFQNYYUYBRGYCiqgw0>
X-BeenThere: quic-issues@ietf.org
X-Mailman-Version: 2.1.27
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: Thu, 12 Jul 2018 02:25:19 -0000

martinthomson commented on this pull request.

A few suggestions.

> @@ -216,9 +215,9 @@ implemented in QUIC.
 
 An unacknowledged packet is marked as lost when an acknowledgment is received
 for a packet that was sent a threshold number of packets (kReorderingThreshold)
-after the unacknowledged packet. Receipt of the ack indicates that a later
-packet was received, while kReorderingThreshold provides some tolerance for
-reordering of packets in the network.
+and/or a threshold amount of time after the unacknowledged packet. Receipt of the
+ack indicates that a later packet was received, the reordering threshold

s/the ack/an acknowledgement/

Is this sentence missing an "If" at the start?  Maybe instead, "The reordering threshold provides some tolerance for reordering when acknowledgments indicate that packets were reordered."

> @@ -227,12 +226,13 @@ We derive this recommendation from TCP loss recovery {{?RFC5681}}
 reordering, causing a sender to detect spurious losses. Detecting spurious
 losses leads to unnecessary retransmissions and may result in degraded
 performance due to the actions of the congestion controller upon detecting
-loss. Implementers MAY use algorithms developed for TCP, such as TCP-NCR
-{{?RFC4653}}, to improve QUIC's reordering resilience, though care should be
-taken to map TCP specifics to QUIC correctly. Similarly, using time-based loss
-detection to deal with reordering, such as in PR-TCP, should be more readily
-usable in QUIC. Making QUIC deal with such networks is important open research,
-and implementers are encouraged to explore this space.
+loss and spurious retransmissions. Implementers MAY use algorithms developed
+for TCP, such as TCP-NCR {{?RFC4653}}, to improve QUIC's reordering resilience,
+though care should be taken to map TCP specifics to QUIC correctly.
+
+QUIC implementations may use time-based loss detection to deal with reordering,
+such as in PR-TCP. Making QUIC deal with such networks is important open
+research, and implementers are encouraged to explore this space.

MAY?  Cite and expand PR-TCP?

This paragraph looks like a good candidate for excision.  It's not really necessary for this document to encourage research.

> @@ -249,7 +249,7 @@ retransmittable packets are not acknowledged during this time, then these
 packets MUST be marked as lost.
 
 An endpoint SHOULD set the alarm such that a packet is marked as lost no earlier
-than 1.25 * max(SRTT, latest_RTT) since when it was sent.
+than 1.125 * max(SRTT, latest_RTT) since when it was sent.

This isn't really editorial.

> @@ -628,7 +629,7 @@ are as follows:
   this packet, but it is not retransmittable.
 
 * is_handshake_packet: A boolean that indicates whether a packet contains
-  handshake data.
+  a CRYPTO frame in a long header packet.

Maybe say " A boolean that indicates whether the packet contains cryptographic handshake messages critical to the completion of the QUIC handshake.  In this version of QUIC, this includes any packet with the long header that includes a CRYPTO frame."

> @@ -653,7 +654,7 @@ Pseudocode for OnPacketSent follows:
 
 ### On Receiving an Acknowledgment
 
-When an ACK frame is received, it may acknowledge 0 or more packets.
+When an ACK frame is received, it may acknowledge 0 or more new packets.

... it could newly acknowledge any number of 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/1551#pullrequestreview-136482465