[Ntp] Timescales

Hal Murray <hmurray@megapathdsl.net> Wed, 09 December 2020 10:18 UTC

Return-Path: <hmurray@megapathdsl.net>
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 5244C3A194F for <ntp@ietfa.amsl.com>; Wed, 9 Dec 2020 02:18:36 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 1.036
X-Spam-Level: *
X-Spam-Status: No, score=1.036 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_DYNAMIC_IPADDR=1.951, PDS_RDNS_DYNAMIC_FP=0.001, RDNS_DYNAMIC=0.982, SPF_HELO_NONE=0.001, SPF_NONE=0.001] autolearn=no 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 QjWTz1ZpNN4c for <ntp@ietfa.amsl.com>; Wed, 9 Dec 2020 02:18:35 -0800 (PST)
Received: from ip-64-139-1-69.sjc.megapath.net (ip-64-139-1-69.sjc.megapath.net [64.139.1.69]) by ietfa.amsl.com (Postfix) with ESMTP id 8125E3A194D for <ntp@ietf.org>; Wed, 9 Dec 2020 02:18:34 -0800 (PST)
Received: from shuksan (localhost [127.0.0.1]) by ip-64-139-1-69.sjc.megapath.net (Postfix) with ESMTP id 7CB0240605C; Wed, 9 Dec 2020 02:18:30 -0800 (PST)
X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.3
To: ntp@ietf.org
cc: Hal Murray <hmurray@megapathdsl.net>
From: Hal Murray <hmurray@megapathdsl.net>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Date: Wed, 09 Dec 2020 02:18:30 -0800
Message-Id: <20201209101830.7CB0240605C@ip-64-139-1-69.sjc.megapath.net>
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/Pioy9qV_JB9GBmSpo2Zes6lp0ms>
Subject: [Ntp] Timescales
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: Wed, 09 Dec 2020 10:18:36 -0000

Crazy idea dept...  But maybe...

Can we make the basic time transfer protocol use a simple/clean time scale, 
say TAI with nothing in the basic protocol about leap seconds?

The idea is to push the leap second stuff to a sub-protocol or whereever.  
Keep the main protocol clean.  Let the client handle leap seconds.

("sub-protocol" doesn't seem like a good term, but I can't think of a better 
one right now.)

If you had such a split, would you package the extras as extensions or a 
separate mode?

Is there anything that would go in such a sub-protocol that involves "now"?  
For example, you might want to implement leap-smearing by saying "the offset 
from TAI is now xxxx" but you don't need that.  The client can compute the 
offset.

Aside from leap-second stuff, what else would get packaged that way?

------

Given TAI, there are 2 pieces of information that a clients needs to handle 
UTC and its leap seconds.  The first is the current TAI-UTC offset.  The 
second is when the next leap second happens.  That data changes very 
infrequently and with plenty of warning.  There is no need to clutter up 
on-the-wire protocols with it.  A client could get it from a leap-seconds file 
distributed by their distro.


-- 
These are my opinions.  I hate spam.