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

Martin Burnicki <martin.burnicki@meinberg.de> Wed, 06 January 2021 10:31 UTC

Return-Path: <martin.burnicki@meinberg.de>
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 31C663A0927 for <ntp@ietfa.amsl.com>; Wed, 6 Jan 2021 02:31:14 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.361
X-Spam-Level:
X-Spam-Status: No, score=-2.361 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, 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=meinberg.de
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 URF_eiW1Z_9n for <ntp@ietfa.amsl.com>; Wed, 6 Jan 2021 02:31:11 -0800 (PST)
Received: from server1a.meinberg.de (server1a.meinberg.de [176.9.44.212]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id BD8463A0905 for <ntp@ietf.org>; Wed, 6 Jan 2021 02:31:11 -0800 (PST)
Received: from srv-kerioconnect.py.meinberg.de (unknown [193.158.22.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by server1a.meinberg.de (Postfix) with ESMTPSA id 613EC71C0BB4; Wed, 6 Jan 2021 11:31:09 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=meinberg.de; s=dkim; t=1609929069; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ORhJuUwvmh8eWQmqsB6d4oFPL5vZe867GQDYfK2lXos=; b=TAW+zDVMK1wsLvIurFQZs/ljggN3PYxJqM7FuS918nhzuijKPUCKE/HFyXYN3RI0PEmiSu 9hfG4rVlg2g9lgIOAf79mlMIXZfB/plbgKU5+tT05lH8FAu+DrO6h30cYIiRr40XZltz14 oXOouqBWItU7ciycv7ae/XOIB9U83qcf1CvLI2k3RRJbU484pgQS0F0cOYIhDfLNGAsLaY EogVl6sC56RdmKwiq9eLEalSeNNIs72Oq8pFF8xZR7sQ02bQVNqF3lBw0PyEjOUPexAKwx bzJYkZWSfieDAKeYGayOTmFjsZHVR5RGky8I6gZjolxowcBIDfZB8M2eavRx2Q==
X-Footer: bWVpbmJlcmcuZGU=
Received: from localhost ([127.0.0.1]) by srv-kerioconnect.py.meinberg.de with ESMTPSA (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)); Wed, 6 Jan 2021 11:31:07 +0100
To: Philip Prindeville <philipp@redfish-solutions.com>, Magnus Danielson <magnus@rubidium.se>
Cc: NTP WG <ntp@ietf.org>, Warner Losh <imp@bsdimp.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> <6a3a6032-29fa-d426-df3d-140bde4f0eca@rubidium.se> <FA39602B-038C-4844-9F10-82AAE4F8689A@redfish-solutions.com> <edaa2188-786d-bf8b-1f52-0064816564f9@rubidium.se> <DDFB3B00-083D-4B54-8A01-DE56B654703F@redfish-solutions.com>
From: Martin Burnicki <martin.burnicki@meinberg.de>
Organization: Meinberg Funkuhren GmbH & Co. KG, Bad Pyrmont, Germany
Message-ID: <9994b7fa-6123-8a04-a5d1-92f18d524721@meinberg.de>
Date: Wed, 06 Jan 2021 11:31:07 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0
MIME-Version: 1.0
In-Reply-To: <DDFB3B00-083D-4B54-8A01-DE56B654703F@redfish-solutions.com>
Content-Type: text/plain; charset="utf-8"
Content-Language: en-US
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/xTc2B7XAHgYRX0Du3KhIfE--gJg>
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: Wed, 06 Jan 2021 10:31:14 -0000

Philip Prindeville wrote:
> 
>> On Jan 5, 2021, at 4:04 AM, Magnus Danielson <magnus@rubidium.se> wrote:
>>
>> The particular thread started out with an ambition to steer how kernel
>> implement things, that I think is outside the scope of the WG. What is
>> inside is that regardless of how it is implemented, the needed
>> definitions, information and similar is provided such that
>> implementations (the notion kernel and user space may actually be
>> completely irrelevant in some implementations) can reasonably be
>> implemented, both in clarity and consistency.
> 
> 
> I don’t agree.
> 
> It’s completely acceptable for the WG to mandate certain requirements like “must have RTC”, “RTC must be accurate to <= 16 ppm”, “must have persistent storage for storing […]”, etc.  Look at RFC-1122, 1123, and 1812…

Sorry, I disagree here.

There are lots of simple clients that don't have a RTC and simply get
the initial time via NTP.

Having a hard requirement for a battery buffered RTC chip would just
limit the number of scenarios where NTP can be used.

> Such a requirement was that the sysUpTime in MIB2 required a 100Hz (or better) clock.

It's OK that a specific application has such requirement, but I don't
think a protocol like NTP should have it.

Martin
-- 
Martin Burnicki

Senior Software Engineer

MEINBERG Funkuhren GmbH & Co. KG
Email: martin.burnicki@meinberg.de
Phone: +49 5281 9309-414
Linkedin: https://www.linkedin.com/in/martinburnicki/

Lange Wand 9, 31812 Bad Pyrmont, Germany
Amtsgericht Hannover 17HRA 100322
Geschäftsführer/Managing Directors: Günter Meinberg, Werner Meinberg,
Andre Hartmann, Heiko Gerstung
Websites: https://www.meinberg.de  https://www.meinbergglobal.com
Training: https://www.meinberg.academy