Re: Draft time stamps for Quic

Tal Mizrahi <tal.mizrahi.phd@gmail.com> Wed, 26 February 2020 06:58 UTC

Return-Path: <tal.mizrahi.phd@gmail.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 CDE213A0F1F for <quic@ietfa.amsl.com>; Tue, 25 Feb 2020 22:58:13 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.099
X-Spam-Level:
X-Spam-Status: No, score=-2.099 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 t_09p369sIeQ for <quic@ietfa.amsl.com>; Tue, 25 Feb 2020 22:58:12 -0800 (PST)
Received: from mail-wr1-x42f.google.com (mail-wr1-x42f.google.com [IPv6:2a00:1450:4864:20::42f]) (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 4DC553A0F1E for <quic@ietf.org>; Tue, 25 Feb 2020 22:58:12 -0800 (PST)
Received: by mail-wr1-x42f.google.com with SMTP id e8so1556743wrm.5 for <quic@ietf.org>; Tue, 25 Feb 2020 22:58:12 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=69Y1FFr/6jCMPuwwFnzTguJoQjUWx8bo5QpJcZbz+1E=; b=UvOhAxSOOiYPikldqNMHojLRlcBxM2ICcxR430t5Y+BDpiiF/gg5SalidW2EQwky9n DfwdNu1CbCpQ1nGblepKyean8LnZ1/OkIgrHyic7Y49iqULdHAsbLXTzNDEk7v9eQfko 01fpPZJuxNNtP7GaoUQcw5MM5mTB6oY/IDnq5YGOKQjBRpJ2o+m+EOkYCzi9YAg48p+C eQtMtzCtxYXOYasACtzAnY5VrdVznT6NVqckL+U5XCmrtnvVpuEYgHZGLCY0OHD3c3cf Hb/UuyGelZ7cqfTZr33YO3Cr7gqUTQoOUQkqz4mzL0duKwW3J+iacS68Ia3hlOlGHzkz curw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=69Y1FFr/6jCMPuwwFnzTguJoQjUWx8bo5QpJcZbz+1E=; b=Rt4dEcYHDQK9AN9qpGjTyb7sgfah2OZclptbGpBw6n/JiifCl/KvBmg9mxiz+imZya RYwT2Jb16bk4gjDFMfEPvHJ2YZPp8LDn0hLGJmkn0O4uVnFo0N1bLNju7NXqwMMzQmme 4WkBEJS7NNWfCFG4RS9u98/3kb9KdRo26uweXbGbPWQYDE0agRD2uHET0haAHQZhenvF lSnlXSz7sjbs+0dhwTvKWudCa9UsVKylCP1KVnJlfAymor5X6/W4Z//6i1f88XAfw4r3 YhdENaH+wqheMQW45wQhyrCVTfNlQEQGsjnfGbdV/ks/YGFR+XHP8lSCiwMOjg+K11FU khVw==
X-Gm-Message-State: APjAAAWbbBbfz9Cne1+gOYh+AK9zYKowLZXqSWVF/UZ/l94EAycpZII9 nA3cyX0gXyq4nV9Wbbjkluho3IO5HI6y5SFLo/cjDSeYP1c=
X-Google-Smtp-Source: APXvYqw9XetPpIrA0t9wnmdB1WbPULsRuonYS3GygwVtph/yXTyLCZy1onogWJDRR3SKQU+hVQOeNTAsIdj7mqSu4N0=
X-Received: by 2002:adf:f588:: with SMTP id f8mr3718916wro.188.1582700290745; Tue, 25 Feb 2020 22:58:10 -0800 (PST)
MIME-Version: 1.0
References: <158261032173.24275.11527026977274904601.idtracker@ietfa.amsl.com> <450bf28f-04a0-9bb4-e01e-471767b02e75@huitema.net> <CACsn0cmFEEK7Q1BiyeZ861RX+0HUa8ddGc8Gy-_0v9xYJhtUrQ@mail.gmail.com>
In-Reply-To: <CACsn0cmFEEK7Q1BiyeZ861RX+0HUa8ddGc8Gy-_0v9xYJhtUrQ@mail.gmail.com>
From: Tal Mizrahi <tal.mizrahi.phd@gmail.com>
Date: Wed, 26 Feb 2020 08:57:59 +0200
Message-ID: <CABUE3Xnnc-1WRqXzzPzid4E=_ZQOAfX5wxJz03jq_ht59LPhmQ@mail.gmail.com>
Subject: Re: Draft time stamps for Quic
To: Christian Huitema <huitema@huitema.net>
Cc: IETF QUIC WG <quic@ietf.org>, Watson Ladd <watsonbladd@gmail.com>
Content-Type: text/plain; charset="UTF-8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic/GHBMoU-CM-XyRBRmPLHSP0By5Ew>
X-BeenThere: quic@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Main mailing list of the IETF QUIC working group <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 Feb 2020 06:58:14 -0000

Hi Christian,

Thanks for putting this draft together.

Two aspects that may be worth a bit more consideration:
- One-way-delay measurement requires the endpoints to be synchronized.
Since the epoch that was chosen in this draft is the beginning of the
connection, endpoints need to be synchronized about the beginning time
of the connection. The draft suggests to synchronize the beginning of
the connection by measuring the "phase_shift" value. Using
"latest_rtt/2" for the phase_shift calculation seems to assume that
the delay is symmetric. I agree with Watson's comment about symmetry -
if the path is asymmetric all the measurements will be biased.
- "We understand that clocks may drift over time, and that simply
estimating a phase shift at the beginning of a connection may be too
simplistic" - this is an important issue. It is not uncommon for PC
clocks to drift by 1 millisecond (or more) per minute. Accurate
measurement will probably require a more accurate synchronization
mechanism.

Cheers,
Tal.

On Wed, Feb 26, 2020 at 7:19 AM Watson Ladd <watsonbladd@gmail.com> wrote:
>
> So I was under the impression that one cannot determine whether
> asymmetric delay or clock skew is the problem between two machines.
> There are as many variables as unknowns. At best you can determine if
> the one way delay is changing on a leg. Having spent a good part of
> the last month on a project that would be much simpler if that wasn't
> case I'd be happy to know I was wrong.
>
> Sincerely,
> Watson
>