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

Ingemar Johansson S <ingemar.s.johansson@ericsson.com> Wed, 26 October 2016 17:10 UTC

Return-Path: <ingemar.s.johansson@ericsson.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 6A9FD129721 for <quic@ietfa.amsl.com>; Wed, 26 Oct 2016 10:10:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.22
X-Spam-Level:
X-Spam-Status: No, score=-4.22 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=-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=ericsson.onmicrosoft.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 p1FNsLl_xqRb for <quic@ietfa.amsl.com>; Wed, 26 Oct 2016 10:10:21 -0700 (PDT)
Received: from sesbmg23.ericsson.net (sesbmg23.ericsson.net [193.180.251.37]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2066012969C for <quic@ietf.org>; Wed, 26 Oct 2016 10:10:20 -0700 (PDT)
X-AuditID: c1b4fb25-14bff7000000793b-38-5810e37a7247
Received: from ESESSHC006.ericsson.se (Unknown_Domain [153.88.183.36]) by (Symantec Mail Security) with SMTP id B0.1D.31035.B73E0185; Wed, 26 Oct 2016 19:10:19 +0200 (CEST)
Received: from EUR01-VE1-obe.outbound.protection.outlook.com (153.88.183.145) by oa.msg.ericsson.com (153.88.183.36) with Microsoft SMTP Server (TLS) id 14.3.319.2; Wed, 26 Oct 2016 19:10:18 +0200
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericsson.onmicrosoft.com; s=selector1-ericsson-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=jBPMu46Ds+nzg6dc93rXR8b1uZK187HEk/gnC/iYmzc=; b=gzVWABhy1b1p747rZe244K02AX1tA3AVxbHNhW2rhCz8jI0duy0I+nb1Riugnrsckv74sDQV4JNtCK+fhyep+8yx9VwGGAI3g2l941S3sMwmwv29mgy2edDjIiee1BcAbv8RFwy8eds+zdrdI6yEGepo3Fb/I1X9qbq76Co7Hls=
Received: from DBXPR07MB351.eurprd07.prod.outlook.com (10.141.12.151) by DBXPR07MB350.eurprd07.prod.outlook.com (10.141.12.146) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.693.7; Wed, 26 Oct 2016 17:10:17 +0000
Received: from DBXPR07MB351.eurprd07.prod.outlook.com ([10.141.12.151]) by DBXPR07MB351.eurprd07.prod.outlook.com ([10.141.12.151]) with mapi id 15.01.0649.027; Wed, 26 Oct 2016 17:10:17 +0000
From: Ingemar Johansson S <ingemar.s.johansson@ericsson.com>
To: Ryan Hamilton <rch@google.com>
Thread-Topic: [QUIC] QUIC ACK frames and one-way transfer time (was RE: Drafts structure and split)
Thread-Index: AQHSL499mWSd+VhNgk+Qp+hFPjBxkaC69qZw
Date: Wed, 26 Oct 2016 17:10:17 +0000
Message-ID: <DBXPR07MB351274DBBCBD2FA7655D83BC2AB0@DBXPR07MB351.eurprd07.prod.outlook.com>
References: <DBXPR07MB35198069351E83CC0BE9014C2AB0@DBXPR07MB351.eurprd07.prod.outlook.com> <CAJ_4DfQZw3dOjutqxbtOcAut_iM4FVbYEh2EUNsE9XbPChHiWw@mail.gmail.com>
In-Reply-To: <CAJ_4DfQZw3dOjutqxbtOcAut_iM4FVbYEh2EUNsE9XbPChHiWw@mail.gmail.com>
Accept-Language: sv-SE, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=ingemar.s.johansson@ericsson.com;
x-originating-ip: [213.113.27.92]
x-microsoft-exchange-diagnostics: 1; DBXPR07MB350; 7:qYXXTUbQGM9n2TzPGil9UcfWL7mtY/oACn/he8Z/YGRMMtcTAWUL2998Ih0hSvemgJWv0abvp/LG7YVwGEgAlD5nMEXvpGEKIjIXGT0aPMGw8rel8v6/HR5/C7REvvsIbohcb/Y461FA9owfVPH2MNYk+FYcj1Ob8IvJsN+SbxXe1FNYeNQcTEb2B6A+QLudIaC8NdCTGJxiFcVlfRq++DKClERLY9FqLn0hM91aKs9jDJzHzkoYHk3SgofXnCN+2xAvwvb1xStnMyM9rCtq7Qm9l6zQU3aTl2fEOf17B+/NdlW2yCjbf+dgTISFaaFRMzqMxYVOLZNWst4XkrZK/7ewpkZyJJUCto02jwflw6k=
x-forefront-antispam-report: SFV:SKI; SCL:-1SFV:NSPM; SFS:(10009020)(7916002)(377454003)(189002)(199003)(24454002)(87936001)(86362001)(7736002)(7906003)(10400500002)(189998001)(6116002)(102836003)(790700001)(2906002)(19580395003)(11100500001)(19580405001)(74316002)(7846002)(3846002)(81156014)(8676002)(3280700002)(81166006)(586003)(19300405004)(97736004)(19609705001)(8936002)(19617315012)(5002640100001)(3660700001)(2950100002)(6916009)(19625215002)(7696004)(5660300001)(76576001)(68736007)(110136003)(9686002)(66066001)(92566002)(16236675004)(76176999)(122556002)(33656002)(101416001)(77096005)(106356001)(106116001)(50986999)(2900100001)(54356999)(105586002)(15975445007)(217423001)(4326007)(217873001); DIR:OUT; SFP:1101; SCL:1; SRVR:DBXPR07MB350; H:DBXPR07MB351.eurprd07.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en;
x-ms-office365-filtering-correlation-id: f4801a9a-e3cd-40eb-a66d-08d3fdc2f5c7
x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:DBXPR07MB350;
x-microsoft-antispam-prvs: <DBXPR07MB3502598E7C593CEEA5DDE33C2AB0@DBXPR07MB350.eurprd07.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(37575265505322)(158342451672863)(120809045254105)(211936372134217)(176510541525296)(21748063052155);
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040176)(601004)(2401047)(8121501046)(5005006)(10201501046)(3002001); SRVR:DBXPR07MB350; BCL:0; PCL:0; RULEID:; SRVR:DBXPR07MB350;
x-forefront-prvs: 0107098B6C
received-spf: None (protection.outlook.com: ericsson.com does not designate permitted sender hosts)
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: multipart/alternative; boundary="_000_DBXPR07MB351274DBBCBD2FA7655D83BC2AB0DBXPR07MB351eurprd_"
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Oct 2016 17:10:17.7106 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 92e84ceb-fbfd-47ab-be52-080c6b87953f
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBXPR07MB350
X-OriginatorOrg: ericsson.com
X-Brightmail-Tracker: H4sIAAAAAAAAA02SbUhTYRTHe3bv7u6sxePUPJhSjoYvpJaFXMLUqGxBhUqU2IecektJp2xq Wl9SW+XLtHSSL9VmzYZZqSG+hIqKRS+KSZZZvqdhYh/KSqaobbsL/PY/5/zO/5zz8NCEeILv QicoUlmlQp4ooezI8sjmHT6Xv+LIXbk/tjElWZUCxjTWymceLjymmOIXVSRTN1tMMeqZRxRT oN/I6H5qSOahto0IEcpaK0YFMv2zNNnnsjekzGAw8WR/hxr4sryBRV4YFWUXGMcmJqSzSr+g aLv4uupCKiW7F2Vcvz9DXUHvXqI8JKQB74WR+V4qD9nRYlyHoEn9EXHBKwTD5XesAYk1BNTX rtiwEh7kFMzZgh4EHwpLCYsZhQOhpnvRauyIJdCfr+FZIAJ38KDyVoO14IDj4OnykLmbNkMs FGRt5Hh/+PbpBmnRJJbC1BejFRHhKChbZbhZVQjmGrKss4Q4HIaHlvgWjbAbjC+OWXsJ7Ayf p3U87jgMhrZ+gtNO8P3rqo2PhV/DGr7FH7A79GgvWvwB6wgYG6nnc0EPBUVTxQQHHYc/zeGc z2GoNLwhOZ0AKx1qHscXIqjW99mamxAUVS3ZKFfo+DFgnSw2H2x8orY9hAuMDuaim8irYt3i nE4G9WwfYdEibA+vy6fJCvMeBPaCuud+HOIO2vxJAac9QX3nrmB9Xo8Ej5CTilXFJJ333+PL KhNiVapkha+CTX2GzP+uq3FZ2oLezx/oRphGkk2iiSYcKebL01WZSd0IaELiKDJOmlOiOHnm JVaZfFaZlsiqutFWmpQ4iwJqxk+L8Xl5KnuBZVNY5f8qjxa6XEGZ+HbOaPq9sert1ODMzq6o k+76tZgeV4+JLadqrjWdic0IDpl4O3LUO9hhocIQHbVPpzkREHHGN9THGFB7LNLPfiW4tNHj kKO2UWJKXLP3LMapYUFl+rDSllDjYPbvZi3TfjDnweJCTfs56X7pkQ2mTntqc+dVN7FwS8HP dHYqQkKq4uW7vQmlSv4PgTqSCHMDAAA=
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic/g2qiXGa7sIkCifWogbksF0_29Uo>
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 17:10:24 -0000

That was interesting.
I probably need some pen and paper exercise to figure out how good synchronization one can get this. If it is within 20-30ms (rough figure) then it can be useful. Otherwise it can still be useful as it can help to remedy for instance late comers advantage and base-delay inflation issues that is a known problem for LEDBAT.

/Ingemar

From: Ryan Hamilton [mailto:rch@google.com]
Sent: den 26 oktober 2016 15:47
To: Ingemar Johansson S <ingemar.s.johansson@ericsson.com>
Cc: Jim Roskind <JimRoskind@gmail.com>; 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] QUIC ACK frames and one-way transfer time (was RE: Drafts structure and split)

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<mailto: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<mailto:rch@google.com>]
Sent: den 26 oktober 2016 06:09
To: Jim Roskind <JimRoskind@gmail.com<mailto:JimRoskind@gmail.com>>
Cc: Ian Swett <ianswett@google.com<mailto:ianswett@google.com>>; Kyle Rose <krose@krose.org<mailto:krose@krose.org>>; Christian Huitema <huitema@huitema.net<mailto:huitema@huitema.net>>; Spencer Dawkins at IETF <spencerdawkins.ietf@gmail.com<mailto:spencerdawkins.ietf@gmail.com>>; marcelo bagnulo braun <marcelo@it.uc3m.es<mailto:marcelo@it.uc3m.es>>; Jana Iyengar <jri@google.com<mailto:jri@google.com>>; quic@ietf.org<mailto:quic@ietf.org>
Subject: Re: [QUIC] Drafts structure and split



On Tue, Oct 25, 2016 at 7:13 PM, Jim Roskind <JimRoskind@gmail.com<mailto:JimRoskind@gmail.com>> wrote:
On Mon, Oct 24, 2016 at 5:31 PM, Ian Swett <ianswett@google.com<mailto: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<mailto:QUIC@ietf.org>
https://www.ietf.org/mailman/listinfo/quic


_______________________________________________
QUIC mailing list
QUIC@ietf.org<mailto:QUIC@ietf.org>
https://www.ietf.org/mailman/listinfo/quic