Re: [Ntp] CLOCK_TAI (was NTPv5: big picture)

Magnus Danielson <magnus@rubidium.se> Mon, 04 January 2021 23:03 UTC

Return-Path: <magnus@rubidium.se>
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 BF6E73A09F5 for <ntp@ietfa.amsl.com>; Mon, 4 Jan 2021 15:03:33 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.461
X-Spam-Level:
X-Spam-Status: No, score=-0.461 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, NICE_REPLY_A=-0.262, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=rubidium.se
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 jJBcKqFEMhP5 for <ntp@ietfa.amsl.com>; Mon, 4 Jan 2021 15:03:30 -0800 (PST)
Received: from pio-pvt-msa1.bahnhof.se (pio-pvt-msa1.bahnhof.se [79.136.2.40]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4F3FA3A09D7 for <ntp@ietf.org>; Mon, 4 Jan 2021 15:03:27 -0800 (PST)
Received: from localhost (localhost [127.0.0.1]) by pio-pvt-msa1.bahnhof.se (Postfix) with ESMTP id B29513F6DD; Tue, 5 Jan 2021 00:03:24 +0100 (CET)
Authentication-Results: pio-pvt-msa1.bahnhof.se; dkim=pass (2048-bit key; secure) header.d=rubidium.se header.i=@rubidium.se header.b="F+y849Lw"; dkim-atps=neutral
X-Virus-Scanned: Debian amavisd-new at bahnhof.se
Received: from pio-pvt-msa1.bahnhof.se ([127.0.0.1]) by localhost (pio-pvt-msa1.bahnhof.se [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lcuiV0nGzVxB; Tue, 5 Jan 2021 00:03:19 +0100 (CET)
Received: by pio-pvt-msa1.bahnhof.se (Postfix) with ESMTPA id C8D3A3F694; Tue, 5 Jan 2021 00:03:18 +0100 (CET)
Received: from machine.local (unknown [192.168.0.15]) by magda-gw (Postfix) with ESMTPSA id 6FEB79A052D; Tue, 5 Jan 2021 00:03:18 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=rubidium.se; s=rubidium; t=1609801398; bh=D3fFU3E4DSbF13VBsjoyj/sp8Ae6twplW/OGxlByr7c=; h=Cc:Subject:To:References:From:Date:In-Reply-To:From; b=F+y849LwMnq1EghoQxZFIGX0mpLpZYXST69fLENYzsJGlSfp7eOHFAunTZCMe5Ja8 K1zIfZm59SrfBmhc0hz16TzvWtbPJNOQIdXWfFsuROc7i2h45MYHS5QctEeYkTDZ9e XuuFKWESQZcuRMkqBXp2MKndyCZXjeuepjiAMu7y9Hv9BlRi3m0UmT68mrc6wkVXmR YDpkMVDohiu2yMgZ0H4CZk/yzOO5CwOyOysC1OJGOh7aSiBlpYFba+1IJ/msCdv8F/ B0d6bMN7+2u999hwC/UpQEKACW0OnHUcJOSCQfo919tLmJ0fjmbXIF2qQxNy6tmj7C vBkytQgttxQ3g==
Cc: magnus@rubidium.se, Warner Losh <imp@bsdimp.com>, NTP WG <ntp@ietf.org>
To: Philip Prindeville <philipp@redfish-solutions.com>
References: <20210102081603.1F63C40605C@ip-64-139-1-69.sjc.megapath.net> <cecaf661-92af-8b35-4c53-2f025c928144@rubidium.se> <CANCZdfrURzZp5EoU8A-Q9K1tZN0DvLJ10a3ekQtvfrLJExuriA@mail.gmail.com> <cbfd20ae-7cc1-4ef8-0db4-540a11f64378@rubidium.se> <24EEF821-8ED9-46CF-8790-1DF63B102D76@redfish-solutions.com>
From: Magnus Danielson <magnus@rubidium.se>
Message-ID: <6a3a6032-29fa-d426-df3d-140bde4f0eca@rubidium.se>
Date: Tue, 05 Jan 2021 00:03:16 +0100
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:78.0) Gecko/20100101 Thunderbird/78.6.0
MIME-Version: 1.0
In-Reply-To: <24EEF821-8ED9-46CF-8790-1DF63B102D76@redfish-solutions.com>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Content-Language: en-US
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/c8yfv1U0CHf_3AJRUL4m_zDm6xo>
Subject: Re: [Ntp] CLOCK_TAI (was NTPv5: big picture)
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: Mon, 04 Jan 2021 23:03:34 -0000

Philip,

On 2021-01-04 21:33, Philip Prindeville wrote:
>
>> On Jan 4, 2021, at 1:21 PM, Magnus Danielson <magnus@rubidium.se> wrote:
>>
>> Warner,
>>
>> On 2021-01-04 19:29, Warner Losh wrote:
>>>
>>> On Mon, Jan 4, 2021 at 9:34 AM Magnus Danielson <magnus@rubidium.se> wrote:
>>>> It's not in NetBSD or FreeBSD.
>>> Unfortunately not. However, that could probably be changed if enough
>>> interest exists.
>>>
>>> There were a number of issues with it in Linux.
>> What issues are these that you refer to?
>>> If there's a clearer definition of what it should be and how things should be updated as leap second knowledge evolves, I'd be happy to get it into FreeBSD...
>> I think that part of the discussion is really not part of NTP WG discussion, but I am sure things can be figured out.
>>
> Again, disagree.  I remember the days of the IETF where (1) a document describing a protocol was required, and (2) a successful “bake-off” demonstrating 3 unrelated interoperating implementations was equally required…

Which is fine if it was relevant, which it really isn't.

The details of how various implementations choose to do things is really
not what the protocol should go into, but it is good that the protocol
and details is done so the implementation becomes feasible. Wither the
kernel use TAI only or can handle various time-scales in parallel is in
my mind to very much degree an implementation detail. There Linux and
BSD can make different approaches with various benefits, and this is why
you want at least two implementations, with assumed different
implementation decisions, to bring it up on the standard track so that
you learned something. There are many ways to implement things, and not
all involve even the kernel to be involved at all. So, I think the
discussion about how the kernel handling things in itself is not the NTP
WG issue, other than showing it's feasible to do. If we agree that it's
feasible, we move on. If someone has an issue for another way to
implement, sure we try to resolve that. The WG should however not
specify how that should be done, and that was the actual question at
hand which I discussed.

> FreeBSD is as good a platform as any to demonstrate one of those implementations.

For sure. That was not the topic at all.

Cheers,
Magnus