Re: [quicwg/base-drafts] Clarify bytes_in_flight (#551)
Martin Thomson <notifications@github.com> Tue, 23 May 2017 01:14 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 9D72C1294AC for <quic-issues@ietfa.amsl.com>; Mon, 22 May 2017 18:14:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.399
X-Spam-Level:
X-Spam-Status: No, score=-8.399 tagged_above=-999 required=5 tests=[BAYES_05=-0.5, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_IMAGE_ONLY_32=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H2=-2.8, 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 rYYLZ-aEDn05 for <quic-issues@ietfa.amsl.com>; Mon, 22 May 2017 18:14:04 -0700 (PDT)
Received: from github-smtp2a-ext-cp1-prd.iad.github.net (github-smtp2-ext5.iad.github.net [192.30.252.196]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 61EBF129455 for <quic-issues@ietf.org>; Mon, 22 May 2017 18:14:04 -0700 (PDT)
Date: Mon, 22 May 2017 18:14:03 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2014; t=1495502043; bh=shF8hS3d/mJXFtgdZAWS0QVIJ9/C6cv8YdGBWKsKwqY=; h=From:Reply-To:To:Cc:In-Reply-To:References:Subject:List-ID: List-Archive:List-Post:List-Unsubscribe:From; b=LzGDgVITMZNZSm6b70NR2kBAKKvZXbYwWN7s2r95XZ1MpFt1g88memq9WB2Xauk5k sWfX0alx63TKHHky7TSCbryD78pokYeVP5rttaBJpC33vHiQ0PisVHJ5GgIPqPCQi3 wx8kEDCUXq2aCbLBWgWt/d4Uekded1+fUcJrAYUQ=
From: Martin Thomson <notifications@github.com>
Reply-To: quicwg/base-drafts <reply+0166e4ab95ad10efb14979c7d87df0c197a3d36069e9fbf892cf00000001153b4edb92a169ce0dbd3499@reply.github.com>
To: quicwg/base-drafts <base-drafts@noreply.github.com>
Cc: Subscribed <subscribed@noreply.github.com>
Message-ID: <quicwg/base-drafts/pull/551/review/39621337@github.com>
In-Reply-To: <quicwg/base-drafts/pull/551@github.com>
References: <quicwg/base-drafts/pull/551@github.com>
Subject: Re: [quicwg/base-drafts] Clarify bytes_in_flight (#551)
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="--==_mimepart_59238cdb94260_b9a3fa78da09c306519a"; 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/AaPy79e7Hohj1wG7W2kJHwnbJEE>
X-BeenThere: quic-issues@ietf.org
X-Mailman-Version: 2.1.22
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, 23 May 2017 01:14:06 -0000
martinthomson commented on this pull request.
> @@ -615,6 +615,8 @@ are described in this section.
bytes_in_flight:
: The sum of the size in bytes of all sent packets that contain at least
one retransmittable frame, and have not been acked or declared lost.
+ The size does not include IP or UDP overhead. Ack only frames do not
+ count towards byte_in_flight.
> The reason acks shouldn't count towards bytes in flight is one never wants to delay an ack due to lack of congestion window.
You can count acknowledgment-only packets, and it will only cause bytes_in_flight to hit the critical threshold faster. If you want to send an ACK without paying attention to the congestion window, then you could move the special logic to the sending of a packet:
```
if (!congested) {
packet.send();
} else if (packet.contains(ACK)) {
packet.strip_everything_except(ACK);
packet.send();
}
```
I think that we should probably discuss at some point. I have no problem with landing something that is more concrete than what we currently have in the meantime.
--
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/551#discussion_r117879147
- [quicwg/base-drafts] Clarify bytes_in_flight (#55… ianswett
- Re: [quicwg/base-drafts] Clarify bytes_in_flight … Martin Thomson
- Re: [quicwg/base-drafts] Clarify bytes_in_flight … ianswett
- Re: [quicwg/base-drafts] Clarify bytes_in_flight … Martin Thomson
- Re: [quicwg/base-drafts] Clarify bytes_in_flight … mirjak
- Re: [quicwg/base-drafts] Clarify bytes_in_flight … ianswett
- Re: [quicwg/base-drafts] Clarify bytes_in_flight … Martin Thomson
- Re: [quicwg/base-drafts] Clarify bytes_in_flight … Martin Thomson
- Re: [quicwg/base-drafts] Clarify bytes_in_flight … ianswett
- Re: [quicwg/base-drafts] Clarify bytes_in_flight … janaiyengar
- Re: [quicwg/base-drafts] Clarify bytes_in_flight … ianswett