Re: [QUIC] QUIC ACK frames and one-way transfer time (was RE: Drafts structure and split)

Ryan Hamilton <rch@google.com> Wed, 26 October 2016 13:46 UTC

Return-Path: <rch@google.com>
X-Original-To: quic@ietfa.amsl.com
Delivered-To: quic@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 24182129498 for <quic@ietfa.amsl.com>; Wed, 26 Oct 2016 06:46:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.131
X-Spam-Level:
X-Spam-Status: No, score=-3.131 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_DNSWL_LOW=-0.7, RP_MATCHES_RCVD=-0.431, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=google.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 M94Jxn8-H6LZ for <quic@ietfa.amsl.com>; Wed, 26 Oct 2016 06:46:54 -0700 (PDT)
Received: from mail-wm0-x232.google.com (mail-wm0-x232.google.com [IPv6:2a00:1450:400c:c09::232]) (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 B755612967A for <quic@ietf.org>; Wed, 26 Oct 2016 06:46:53 -0700 (PDT)
Received: by mail-wm0-x232.google.com with SMTP id 140so20183998wmv.0 for <quic@ietf.org>; Wed, 26 Oct 2016 06:46:53 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=pmhgxFeRlJc3mb/GQDVpIVezlxl2jDzCqhAno+zSy34=; b=HEWmfu1l/w/+u8Z4a+K9qzbFnH27B4H4hCkowGpB/is/H6uxOqk1jDrJdYjBPrIts4 nfM9x4FoQjHG0ZYo7jjHkjjV5DnsV/QJx/8s+iaHJqEJBbKFVXfXF26P7xfgP3rzcGzR 4rPzqygVeeB13Dcw4EgT9Tx6RLtFqwiIm4O5MdzlEi0kGhGkNxhEB7vAy2Bl9lO3g9WF gXoUR6eOnYIcS5GNYsnk2zq+FelaUuf7hhyKko2gTqXg60wH8CqLtbBOq3LYygIYRBvM V7fF7mDASs+Lwn7QYfhY6AvsDptgu3fjBnfFtRRfBm1G3pboBQ22pcq5GnvNUrS6RCNw 9aGw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=pmhgxFeRlJc3mb/GQDVpIVezlxl2jDzCqhAno+zSy34=; b=Js2QxNxC0GL7OUPb+EoHeqDHiPqJp3yBDApuW4NVbJD+ExaYja0c3egVAHXLKUjVxs 34lGlr4IdhYlkIRZjXu1LBohmPgacs2spMVE5+ahU5+HIk8MYgtlOPKEdpGUQ8Zc6Grv k3o7VzJzvSgPErVDFNhnFxR+7THY/x1oxkPe/Pqu47QDW7b1py2Bpk88WbfaChYEc8bn i484uzXIE0JwSbRLdvbcPhxhoxpuf3w9YP7d/ujPFWaCahgCc7bCkn8A22k1yLzlxip4 PeJ3YQ+WfBG0EJ3itkvrNJrdtZsZbBGuz4fpT74eNl1R4okn0YQYm6UUzAhSgQ774YOZ Zo+g==
X-Gm-Message-State: ABUngvegO60CgZUC2JT7gUiQD3i7el+e0F2vWy85sDamB0MvO2gGd0cKHSOJ21+C0CoWV0vYUOHIFlcKErHWaOyX
X-Received: by 10.194.189.198 with SMTP id gk6mr2322999wjc.167.1477489612064; Wed, 26 Oct 2016 06:46:52 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.28.19.199 with HTTP; Wed, 26 Oct 2016 06:46:51 -0700 (PDT)
In-Reply-To: <DBXPR07MB35198069351E83CC0BE9014C2AB0@DBXPR07MB351.eurprd07.prod.outlook.com>
References: <DBXPR07MB35198069351E83CC0BE9014C2AB0@DBXPR07MB351.eurprd07.prod.outlook.com>
From: Ryan Hamilton <rch@google.com>
Date: Wed, 26 Oct 2016 06:46:51 -0700
Message-ID: <CAJ_4DfQZw3dOjutqxbtOcAut_iM4FVbYEh2EUNsE9XbPChHiWw@mail.gmail.com>
To: Ingemar Johansson S <ingemar.s.johansson@ericsson.com>
Content-Type: multipart/alternative; boundary="047d7bb70e2e7cc845053fc4db16"
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic/U2BlHe5hLqXMZuEc6ilvj5cevEs>
Cc: Ian Swett <ianswett@google.com>, Kyle Rose <krose@krose.org>, Christian Huitema <huitema@huitema.net>, Spencer Dawkins at IETF <spencerdawkins.ietf@gmail.com>, Jana Iyengar <jri@google.com>, marcelo bagnulo braun <marcelo@it.uc3m.es>, Jim Roskind <JimRoskind@gmail.com>, "quic@ietf.org" <quic@ietf.org>
Subject: Re: [QUIC] QUIC ACK frames and one-way transfer time (was RE: Drafts structure and split)
X-BeenThere: quic@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Mailing list to discuss QUIC standardization <quic.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/quic>, <mailto:quic-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/quic/>
List-Post: <mailto:quic@ietf.org>
List-Help: <mailto:quic-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/quic>, <mailto:quic-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 26 Oct 2016 13:46:58 -0000

Yes, clock synchronization is an issue, but QUIC makes an attempt to deal
with it. The receipt "time" in the ACK frame is not an actual wall time,
but is instead a time delta since the connection is established. Assuming
that the clocks are moving forward at roughly the same rate, this means
that the relative skew in these deltas is the time it took for the CHLO to
reach the server, and the peers can account for this in subsequent
calculations.


On Wed, Oct 26, 2016 at 4:06 AM, Ingemar Johansson S <
ingemar.s.johansson@ericsson.com> wrote:

> Hi
>
>
>
> Ryan. You are right that the QUIC ACK frames already contains the
> necessary information to compute the one way delay. It is of course not
> possible to deduce the true one way delay unless the sender and receiver
> clocks are synchronized. What is easy to determine is the queue delay that
> can be used in a way similar to how LEDBAT does it, there are some pros and
> cons with that approach.
>
> https://datatracker.ietf.org/doc/draft-johansson-cc-for-4g-5g/ describes
> a modification to Cubic that is based on this principle.
>
>
>
> /Ingemar
>
>
>
>
>
> *From:* Ryan Hamilton [mailto:rch@google.com]
> *Sent:* den 26 oktober 2016 06:09
> *To:* Jim Roskind <JimRoskind@gmail.com>
> *Cc:* Ian Swett <ianswett@google.com>; Kyle Rose <krose@krose.org>;
> Christian Huitema <huitema@huitema.net>; Spencer Dawkins at IETF <
> spencerdawkins.ietf@gmail.com>; marcelo bagnulo braun <marcelo@it.uc3m.es>;
> Jana Iyengar <jri@google.com>; quic@ietf.org
> *Subject:* Re: [QUIC] Drafts structure and split
>
>
>
>
>
>
>
> On Tue, Oct 25, 2016 at 7:13 PM, Jim Roskind <JimRoskind@gmail.com> wrote:
>
> On Mon, Oct 24, 2016 at 5:31 PM, Ian Swett <ianswett@google.com> wrote:
>
> ...
>
> It's worth noting that BBR is only a change to the congestion controller,
> ....
>
>
>
>
>
>
>
> BBR relies on getting estimates of transit time, so as to estimate
> variations in buffer sizes.  As a relatively rough estimate, I believe BBR
> in TCP relies on traditional-TCP RTT calculations, which includes the round
> trip sum of transit times in both directions.  I expect that better one-way
> transit time estimates can be harvested in QUIC, by changing the data
> included in ACK frames to better illuminate transit times in each
> directions (or more precisely, illuminate changes, from one packet to the
> next, in one-way transit times).
>
>
>
> ​Correct me if I'm wrong, but QUIC ACK frames already have this
> information. The contain the arrival time of each packet at the peer, which
> provides the one-way transfer time.
>
> ​
>
>
>
>  Such modifications appear at first blush to be notably larger than just a
> change to the congestion controller.
>
>
>
> Similarly, I'd expect modifications to support ECN in QUIC to run much
> deeper than a congestion controller.
>
>
>
> Jim
>
>
> _______________________________________________
> QUIC mailing list
> QUIC@ietf.org
> https://www.ietf.org/mailman/listinfo/quic
>
>
>
> _______________________________________________
> QUIC mailing list
> QUIC@ietf.org
> https://www.ietf.org/mailman/listinfo/quic
>
>