Re: [quicwg/base-drafts] kDefaultInitialRtt too large (#752)

Ryan Hamilton <notifications@github.com> Wed, 30 August 2017 13:59 UTC

Return-Path: <bounces+848413-a050-quic-issues=ietf.org@sgmail.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 467DD120727 for <quic-issues@ietfa.amsl.com>; Wed, 30 Aug 2017 06:59:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.02
X-Spam-Level:
X-Spam-Status: No, score=-2.02 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, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, 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 yGhCBVRkGfgz for <quic-issues@ietfa.amsl.com>; Wed, 30 Aug 2017 06:59:10 -0700 (PDT)
Received: from o3.sgmail.github.com (o3.sgmail.github.com [192.254.112.98]) (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 EC9AF132E9C for <quic-issues@ietf.org>; Wed, 30 Aug 2017 06:59:08 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=github.com; h=from:reply-to:to:cc:in-reply-to:references:subject:mime-version:content-type:content-transfer-encoding:list-id:list-archive:list-post:list-unsubscribe; s=s20150108; bh=AM75KvDPO7ceK3w//6S/iPw5EWs=; b=crJL0uTpNRg8IEYp q6VJ9Ylo3/PO0vGUFeiYMwG5ki6nKFIHC563F5lnv92tJQJ/MnKkkqJOfojuUkPT 6LpsX1bMEhv7qrCik3xfA6vXDZvFhNwMyhbOmnS7ejBTunJr7YIwuhu570cMcmQo vLReMzMSttV8X2NSl0j4nSmMrSY=
Received: by filter0200p1las1.sendgrid.net with SMTP id filter0200p1las1-22783-59A6C4AA-55 2017-08-30 13:59:06.914519662 +0000 UTC
Received: from github-smtp2a-ext-cp1-prd.iad.github.net (github-smtp2a-ext-cp1-prd.iad.github.net [192.30.253.16]) by ismtpd0002p1iad1.sendgrid.net (SG) with ESMTP id 5WtDBF2SRA6rHmFbn5uK8A for <quic-issues@ietf.org>; Wed, 30 Aug 2017 13:59:06.839 +0000 (UTC)
Date: Wed, 30 Aug 2017 13:59:07 +0000
From: Ryan Hamilton <notifications@github.com>
Reply-To: quicwg/base-drafts <reply+0166e4ab53e4f5bb3f1786df7c8784d48b2d0e6ffdfd36b492cf0000000115be86aa92a169ce0f1cc61a@reply.github.com>
To: quicwg/base-drafts <base-drafts@noreply.github.com>
Cc: Subscribed <subscribed@noreply.github.com>
Message-ID: <quicwg/base-drafts/issues/752/325998995@github.com>
In-Reply-To: <quicwg/base-drafts/issues/752@github.com>
References: <quicwg/base-drafts/issues/752@github.com>
Subject: Re: [quicwg/base-drafts] kDefaultInitialRtt too large (#752)
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="--==_mimepart_59a6c4aaaa408_76963f81285cfc2c87af"; charset="UTF-8"
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: RyanAtGoogle
X-GitHub-Recipient: quic-issues
X-GitHub-Reason: subscribed
X-Auto-Response-Suppress: All
X-GitHub-Recipient-Address: quic-issues@ietf.org
X-SG-EID: l64QuQ2uJCcEyUykJbxN122A6QRmEpucztpreh3Pak2+s5qZxRALniV+aNxvMs+rlTqu0pDP7KvzRa ZaHBiuhTOUfE2BNMRIiQhrwYlZBuIktRe5pI6rrWItg3jyNxh8XPrxVb46m8h9Xhr/p4QeeoaskH83 KIZJADzMfwgAr0eCaUHe5uv7fXaCFtxmmJF9vefKZGgu0HzW1dIJ2YP5IPhH0umnn7YjYN8YSdDWCv M=
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic-issues/zWFenksIAlzxbVSiaxQvGjYBivs>
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: Wed, 30 Aug 2017 13:59:12 -0000

We have RTT data from Chrome which shows that the initial RTT distribution:

PercentileValue
25.00% 22.58
50.00% 46.28
75.00% 88.08
95.00% 240.0
99.00% 733.9
99.50% 1187


>From this table, 100ms looks like a fine choice. 1s, on the other hand, is
more than 10x the value at the median and is larger than the RTT for 99% of
users. As Patrick says, I think the goal of QUIC is to make the web faster
and would prefer to err on the side of faster.

Cheers,

Ryan

On Wed, Aug 30, 2017 at 6:24 AM, Patrick McManus <notifications@github.com>
wrote:

> I think the IETF in the past has valued bandwidth over PLT.
>
> For QUIC - I think that's backwards.
>
> QUIC has already made the latency over bw trade with the CI by using a
> 1200 byte CI instead of a 3 way handshake. I'd like to think that the CI is
> a small fraction of total quic bandwidth and this is worthwhile.
>
> We've seen applications (especially http applications) push back against
> the historical TCP situation in a number of places even in a TCP context..
> showing that the tradeoff wants to favor latency.
>
>    -
>
>    for years chrome and firefox have both started a new TCP connection
>    when a previous connection attempt has not yet connected after ~300ms. This
>    is to workaround the 3 second OS level timer - which is considered too high
>    of a delay especially when you're otherwise staring at a idle spinner. And
>    yes, that commonly results in 2 completed connections without any TCP level
>    retransmissions - but in the grand scheme of things a couple of packets is
>    a nop but the benefit is significant.
>    -
>
>    chrome, firefox, and edge commonly initiate tcp connections before
>    they have any http data to send on them (perhaps this is done totally
>    speculatively, perhaps it is done by opening N when you only need 1 at the
>    moment.. in anticipation). Mostly this is done for latency purposes - get
>    the tcp and tls handshakes out of the way so they are ready for http data
>    when it happens (some of it can go away when we think 0rtt quic would work
>    instead). Many of these connections close without ever transferring
>    meaningful data - but that's a latency over bandwidth tradeoff (and the
>    bandwidth consumed is small enough in comparison that it doesn't
>    meaningfully impact the real data transfer that goes on).
>    -
>
>    TCP PLT, default on in linux distributions, is another illustration of
>    http applications willing to trade off some wasted retransmissions against
>    the tyranny of large timers.
>
> Also worth nothing that enabling fec extensions is within the wg charter
> (although doing them is not) - and fec is the ultimate in latency over
> bandwidth tradeoff but much harder to get right than the redundant control
> traffic we're talking about here.
>
> —
> You are receiving this because you are subscribed to this thread.
> Reply to this email directly, view it on GitHub
> <https://github.com/quicwg/base-drafts/issues/752#issuecomment-325988912>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/ASp6yveduPeRDwobG7mEAcHI2pexNhG_ks5sdWKSgaJpZM4PFcXh>
> .
>


-- 
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/issues/752#issuecomment-325998995