Re: [quicwg/base-drafts] Ack Delay and TLP (#1796)
Nick Banks <notifications@github.com> Tue, 25 September 2018 14:43 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 6C07C130F53 for <quic-issues@ietfa.amsl.com>; Tue, 25 Sep 2018 07:43:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.999
X-Spam-Level:
X-Spam-Status: No, score=-7.999 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, 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 iCcB5s0nhuWa for <quic-issues@ietfa.amsl.com>; Tue, 25 Sep 2018 07:43:09 -0700 (PDT)
Received: from out-5.smtp.github.com (out-5.smtp.github.com [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 24C351312DA for <quic-issues@ietf.org>; Tue, 25 Sep 2018 07:43:09 -0700 (PDT)
Date: Tue, 25 Sep 2018 07:43:08 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2014; t=1537886588; bh=P18GUHoY6yb67Z4hfQfy/ywGX4eKGrWELcB2rcgYxIg=; h=Date:From:Reply-To:To:Cc:In-Reply-To:References:Subject:List-ID: List-Archive:List-Post:List-Unsubscribe:From; b=2XpGWIaJPHtufLsSsRUFTu8gPnb4ZUSoCdAfoUAMbsvWxXGRmBPUa7ZmNpTNpbVzi WBBwGAZqGpGPwPIL0ntAn+J4hkC2Aght6XU/Hb+n8GfIZ4EKMDXKXfOl+m2xoLEK5P nbxGl1kx+N7CVppyjb2M383RMIHHXViGHG1iaZgY=
From: Nick Banks <notifications@github.com>
Reply-To: quicwg/base-drafts <reply+0166e4ab1a091c55dba370c419d1568f333f185dfbe2f99a92cf0000000117c20b7c92a169ce15ac2c4e@reply.github.com>
To: quicwg/base-drafts <base-drafts@noreply.github.com>
Cc: Subscribed <subscribed@noreply.github.com>
Message-ID: <quicwg/base-drafts/pull/1796/review/158577350@github.com>
In-Reply-To: <quicwg/base-drafts/pull/1796@github.com>
References: <quicwg/base-drafts/pull/1796@github.com>
Subject: Re: [quicwg/base-drafts] Ack Delay and TLP (#1796)
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="--==_mimepart_5baa497ce0a3_f743fd7834d45b48112f5"; charset="UTF-8"
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: nibanks
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/iRU1uykM1JwJLw6O1qsQmLQkb2s>
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, 25 Sep 2018 14:43:11 -0000
nibanks commented on this pull request. > @@ -834,8 +827,13 @@ Pseudocode for SetLossDetectionTimer follows: timeout = timeout * (2 ^ rto_count) if (tlp_count < kMaxTLPs): // Tail Loss Probe - tlp_timeout = max(1.5 * smoothed_rtt - + max_ack_delay, kMinTLPTimeout) + if (bytes_in_flight < 2400): + // Less than one full-sized packet in flight. + tlp_timeout = max(1.5 * smoothed_rtt Should the comment here be `Less than two full-sized packets in flight`? > @@ -834,8 +827,13 @@ Pseudocode for SetLossDetectionTimer follows: timeout = timeout * (2 ^ rto_count) if (tlp_count < kMaxTLPs): // Tail Loss Probe - tlp_timeout = max(1.5 * smoothed_rtt - + max_ack_delay, kMinTLPTimeout) + if (bytes_in_flight < 2400): + // Less than one full-sized packet in flight. + tlp_timeout = max(1.5 * smoothed_rtt + + max_ack_delay, kMinTLPTimeout) + else: + tlp_timeout = max(1.5 * smoothed_rtt, I believe the `1.5` here should be `2` according to the text you have above. > @@ -365,7 +352,11 @@ receiver. The timer duration, or Probe Timeout (PTO), is set based on the following conditions: -* PTO SHOULD be scheduled for max(1.5*SRTT+MaxAckDelay, kMinTLPTimeout) +* If less than 2400 bytes are in flight, PTO SHOULD be scheduled for Having this somewhat magic number here just feels weird. This is the number of bytes 'we, locally' have in flight right? So don't we know our current sending MTU? Can't it just be two times that? -- 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/1796#pullrequestreview-158577350
- [quicwg/base-drafts] Ack Delay and TLP (#1796) ianswett
- Re: [quicwg/base-drafts] Ack Delay and TLP (#1796) Nick Banks
- Re: [quicwg/base-drafts] Ack Delay and TLP (#1796) ianswett
- Re: [quicwg/base-drafts] Ack Delay and TLP (#1796) ianswett
- Re: [quicwg/base-drafts] Ack Delay and TLP (#1796) Nick Banks
- Re: [quicwg/base-drafts] Ack Delay and TLP (#1796) ianswett
- Re: [quicwg/base-drafts] Ack Delay and TLP (#1796) ianswett
- Re: [quicwg/base-drafts] Ack Delay and TLP (#1796) Rui Paulo
- Re: [quicwg/base-drafts] Ack Delay and TLP (#1796) ianswett
- Re: [quicwg/base-drafts] Ack Delay and TLP (#1796) Rui Paulo
- Re: [quicwg/base-drafts] Ack Delay and TLP (#1796) ianswett
- Re: [quicwg/base-drafts] Ack Delay and TLP (#1796) ianswett
- Re: [quicwg/base-drafts] Ack Delay and TLP (#1796) ianswett
- Re: [quicwg/base-drafts] Ack Delay and TLP (#1796) ianswett
- Re: [quicwg/base-drafts] Ack Delay and TLP (#1796) ianswett
- Re: [quicwg/base-drafts] Ack Delay and TLP (#1796) ianswett
- Re: [quicwg/base-drafts] Ack Delay and TLP (#1796) ianswett
- Re: [quicwg/base-drafts] Ack Delay and TLP (#1796) ianswett
- Re: [quicwg/base-drafts] Ack Delay and TLP (#1796) MikkelFJ
- Re: [quicwg/base-drafts] Ack Delay and TLP (#1796) ianswett
- Re: [quicwg/base-drafts] Ack Delay and TLP (#1796) ianswett
- Re: [quicwg/base-drafts] Ack Delay and TLP (#1796) ianswett
- Re: [quicwg/base-drafts] Ack Delay and TLP (#1796) janaiyengar
- Re: [quicwg/base-drafts] Ack Delay and TLP (#1796) janaiyengar
- Re: [quicwg/base-drafts] Ack Delay and TLP (#1796) janaiyengar
- Re: [quicwg/base-drafts] Ack Delay and TLP (#1796) janaiyengar