Re: [art] Predictable Internet Time

Tony Finch <dot@dotat.at> Tue, 28 March 2017 20:12 UTC

Return-Path: <dot@dotat.at>
X-Original-To: art@ietfa.amsl.com
Delivered-To: art@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9D4EA1294E7 for <art@ietfa.amsl.com>; Tue, 28 Mar 2017 13:12:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.921
X-Spam-Level:
X-Spam-Status: No, score=-1.921 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_PASS=-0.001] autolearn=ham autolearn_force=no
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 KTlqejWtcqqi for <art@ietfa.amsl.com>; Tue, 28 Mar 2017 13:12:09 -0700 (PDT)
Received: from ppsw-42.csi.cam.ac.uk (ppsw-42.csi.cam.ac.uk [131.111.8.142]) (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 5E8C51295EE for <art@ietf.org>; Tue, 28 Mar 2017 13:12:09 -0700 (PDT)
X-Cam-AntiVirus: no malware found
X-Cam-ScannerInfo: http://help.uis.cam.ac.uk/email-scanner-virus
Received: from grey.csi.cam.ac.uk ([131.111.57.57]:49196) by ppsw-42.csi.cam.ac.uk (ppsw.cam.ac.uk [131.111.8.138]:25) with esmtps (TLSv1:ECDHE-RSA-AES256-SHA:256) id 1csxTI-000mV4-8h (Exim 4.89) (return-path <dot@dotat.at>); Tue, 28 Mar 2017 21:12:04 +0100
Date: Tue, 28 Mar 2017 21:12:04 +0100
From: Tony Finch <dot@dotat.at>
To: Joe Touch <touch@isi.edu>
cc: Philip Homburg <pch-ietf-art@u-1.phicoh.com>, art@ietf.org
In-Reply-To: <1cb57d13-4145-eb74-7d6a-954fe3a1059c@isi.edu>
Message-ID: <alpine.DEB.2.11.1703282033370.2180@grey.csi.cam.ac.uk>
References: <m1csrkh-0000GYC@stereo.hq.phicoh.net> <1cb57d13-4145-eb74-7d6a-954fe3a1059c@isi.edu>
User-Agent: Alpine 2.11 (DEB 23 2013-08-11)
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset="US-ASCII"
Archived-At: <https://mailarchive.ietf.org/arch/msg/art/OOSV42FhwmW4aWqQJ4ABHYIrcB8>
Subject: Re: [art] Predictable Internet Time
X-BeenThere: art@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Applications and Real-Time Area Discussion <art.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/art>, <mailto:art-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/art/>
List-Post: <mailto:art@ietf.org>
List-Help: <mailto:art-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/art>, <mailto:art-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 28 Mar 2017 20:12:12 -0000

Joe Touch <touch@isi.edu> wrote:

> Section 3 states that in the definition of a solar day. Section 4.2
> explains that UT0 is one of many different "means", and that UT0 is the
> most common in current use.

No, UT1 is the most common form of mean solar time. (UT0 is basically
mean solar time at a particular observatory; UT1 is corrected for polar
motion so it is globally consistent.)

> GPS isn't one of the clocks averaged into TAI (AFAICT); it's a separate
> source that's sync'd to TAI to ensure the 25 ns max delta.

Well, GPS is an ensemble clock (each sat has its own clock) which is
steered with reference to UTC(USNO). UTC(USNO) feeds into the BIPM paper
clocks.

The USNO says that GPS's maximum deviation from UTC(USNO) is 1us though
in practice it is within a few hundred nanoseconds. The NAV message has
additional information that allows GPS receivers to get the UTC(USNO) time
to within 40ns.

http://www.usno.navy.mil/USNO/time/gps/usno-gps-time-transfer

> > - It is not clear to me why NTP would differ 100ms from TAI.
>
> It's in the spec.

Where in which spec?

> Uptime is just a printout of the delta of the POSIX time when a computer
> started and the current POSIX time.

CLOCK_MONOTONIC cannot be reset, so it is more reliable than that.

Tony.
-- 
f.anthony.n.finch  <dot@dotat.at>  http://dotat.at/  -  I xn--zr8h punycode
Trafalgar: In southeast, variable 3 or 4. In northwest, southerly 5 to 7. In
southeast, slight or moderate. in northwest, moderate or rough. In southeast,
fair. In northwest, rain or showers. Good, occasionally poor.