Re: [Ntp] Timescales, leapseconds and smearing

Steve Allen <sla@ucolick.org> Tue, 08 December 2020 20:49 UTC

Return-Path: <sla@ucolick.org>
X-Original-To: ntp@ietfa.amsl.com
Delivered-To: ntp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 60B4D3A1158 for <ntp@ietfa.amsl.com>; Tue, 8 Dec 2020 12:49:43 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level:
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=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 CWu5l6vRKNqP for <ntp@ietfa.amsl.com>; Tue, 8 Dec 2020 12:49:42 -0800 (PST)
Received: from smtp.ucolick.org (zilan.ucolick.org [128.114.23.234]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3DBC33A09F5 for <ntp@ietf.org>; Tue, 8 Dec 2020 12:49:42 -0800 (PST)
Received: from smtp.ucolick.org (localhost [127.0.0.1]) by smtp.ucolick.org (Postfix) with ESMTP id 1F4092A8E for <ntp@ietf.org>; Tue, 8 Dec 2020 12:49:41 -0800 (PST)
Received: from geneva.ucolick.org (geneva.ucolick.org [128.114.23.183]) by smtp.ucolick.org (Postfix) with ESMTP id 1C20629BC for <ntp@ietf.org>; Tue, 8 Dec 2020 12:49:41 -0800 (PST)
Received: from geneva.ucolick.org (localhost [127.0.0.1]) by geneva.ucolick.org (Postfix) with ESMTP id 139D26CD for <ntp@ietf.org>; Tue, 8 Dec 2020 12:49:41 -0800 (PST)
Received: (from sla@localhost) by geneva.ucolick.org (8.14.7/8.14.7/Submit) id 0B8KneOx001602 for ntp@ietf.org; Tue, 8 Dec 2020 12:49:40 -0800
Date: Tue, 08 Dec 2020 12:49:40 -0800
From: Steve Allen <sla@ucolick.org>
To: NTP WG <ntp@ietf.org>
Message-ID: <20201208204940.GA32733@ucolick.org>
References: <X86sVykHUqlkXP96@roeckx.be> <20201208093104.GR2352378@localhost> <20201208164429.GA11385@ucolick.org> <X8/izxFXcwF0v2Q7@roeckx.be>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Disposition: inline
In-Reply-To: <X8/izxFXcwF0v2Q7@roeckx.be>
User-Agent: Mutt/1.9.2 (2017-12-15)
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/SSj3X2xP9gZfx7ic5oHvYYZNGXQ>
Subject: Re: [Ntp] Timescales, leapseconds and smearing
X-BeenThere: ntp@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <ntp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ntp>, <mailto:ntp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ntp/>
List-Post: <mailto:ntp@ietf.org>
List-Help: <mailto:ntp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ntp>, <mailto:ntp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 08 Dec 2020 20:49:43 -0000

On Tue 2020-12-08T21:32:15+0100 Kurt Roeckx hath writ:
> Whatever value is used in NTP, it's never the true value, it's
> always an estimate.

Please explain this in the document.

> The TAI value we would use is an estimate of
> TAI with error bounds. If BIM is off by 12 us, and BIM is used as
> a source for NTP, they can either compensate for that 12 us, or add
> the 12 us in the error calculation.

Rather than TAI I suggest TAI-like, specifically with a parameter N that
allows the time scale to be N seconds different than TAI.
Particular values of N would be

TAI -  0        attempting to match what TAI should be
TAI - 10        the POSIX time_t value used for IANA tz "right" zones
TAI - 19        the source is GPS system time or Galileo system time
TAI - 33        the source is BeiDou system time
TAI - 37        the source is Windows10 system time (after 2017-01-01)
TAI -  N        this futureproofs for the next purely atomic source of time

--
Steve Allen                    <sla@ucolick.org>              WGS-84 (GPS)
UCO/Lick Observatory--ISB 260  Natural Sciences II, Room 165  Lat  +36.99855
1156 High Street               Voice: +1 831 459 3046         Lng -122.06015
Santa Cruz, CA 95064           https://www.ucolick.org/~sla/  Hgt +250 m