[Ntp] Antw: Re: Antw: [EXT] Re: An NTPv5 design sketch

Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de> Wed, 22 April 2020 06:41 UTC

Return-Path: <Ulrich.Windl@rz.uni-regensburg.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 AEA643A07EC for <ntp@ietfa.amsl.com>; Tue, 21 Apr 2020 23:41:32 -0700 (PDT)
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 nObaRNxTzZQ8 for <ntp@ietfa.amsl.com>; Tue, 21 Apr 2020 23:41:30 -0700 (PDT)
Received: from mx3.uni-regensburg.de (mx3.uni-regensburg.de [IPv6:2001:638:a05:137:165:0:4:4e79]) (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 4B2833A07E1 for <ntp@ietf.org>; Tue, 21 Apr 2020 23:41:30 -0700 (PDT)
Received: from mx3.uni-regensburg.de (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id C640F6000050 for <ntp@ietf.org>; Wed, 22 Apr 2020 08:41:27 +0200 (CEST)
Received: from gwsmtp.uni-regensburg.de (gwsmtp1.uni-regensburg.de [132.199.5.51]) by mx3.uni-regensburg.de (Postfix) with ESMTP id 9A472600004F for <ntp@ietf.org>; Wed, 22 Apr 2020 08:41:27 +0200 (CEST)
Received: from uni-regensburg-smtp1-MTA by gwsmtp.uni-regensburg.de with Novell_GroupWise; Wed, 22 Apr 2020 08:41:27 +0200
Message-Id: <5E9FE715020000A1000387CE@gwsmtp.uni-regensburg.de>
X-Mailer: Novell GroupWise Internet Agent 18.2.1
Date: Wed, 22 Apr 2020 08:41:25 +0200
From: Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de>
To: doug.arnold@meinberg-usa.com
Cc: "ntp@ietf.org" <ntp@ietf.org>
References: <CAJm83bBV+Pox3r6KU49ShwMOvr=R+U_vDKJtSZhfT6XX4qWmbA@mail.gmail.com> <20200414112541.GD1945@localhost> <CAJm83bCxuS_X68-pvpOWCPSmjAjTeYNJVuuOEhV-i82R7B28Mg@mail.gmail.com> <20200414155241.GF1945@localhost> <CAJm83bC1EhwQQ=+B7XPbEkvhOWvxU8zjCd290Fj5N43aMJQTkg@mail.gmail.com> <20200415072023.GG1945@localhost> <CAJm83bAEDuLk6vSa82D3smXO4x7iDywoy+FpC=gdm=m3SLrVLg@mail.gmail.com> <20200416082557.GI1945@localhost> <1ECC0FB5-3079-471E-847D-6E8DFBE1B9D7@akamai.com> <25459_1587477108_5E9EFA73_25459_2_31_CAJU8_nUXUEtsddE9byQgEfMknLSz8ywMs23CNyYKFKOYPgLbQA@mail.gmail.com>, <5E9EFC87020000A1000386A5@gwsmtp.uni-regensburg.de> <DB8PR02MB5611C758B4CD7D17E4EC9C26CFD50@DB8PR02MB5611.eurprd02.prod.outlook.com>
In-Reply-To: <DB8PR02MB5611C758B4CD7D17E4EC9C26CFD50@DB8PR02MB5611.eurprd02.prod.outlook.com>
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="=__Part4B748705.0__="
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/cD6azlTou3CP9FG4TBnKcfgtBJI>
Subject: [Ntp] Antw: Re: Antw: [EXT] Re: An NTPv5 design sketch
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, 22 Apr 2020 06:41:33 -0000

As I just had pressed "reply", only Doug  got the response. Please see it attached. Sorry.

>>> Doug Arnold <doug.arnold@meinberg-usa.com> schrieb am 21.04.2020 um 20:14 in
Nachricht
<DB8PR02MB5611C758B4CD7D17E4EC9C26CFD50@DB8PR02MB5611.eurprd02.prod.outlook.com>

> There are use cases for this concept:

--- Begin Message ---
>>> Doug Arnold <doug.arnold@meinberg-usa.com> schrieb am 21.04.2020 um 20:14
in
Nachricht
<DB8PR02MB5611C758B4CD7D17E4EC9C26CFD50@DB8PR02MB5611.eurprd02.prod.outlook.com>

> There are use cases for this concept:
> 
> The virtual clock can be kept as a backup to some other source of time, and

> could take over the system clock if the other source of time went away. 
That 
> would allow the NTP servo loop to be warmed up  and experience less startup

> transient when it took over.
> 
> One could have several sources of time come into a device, through different

> mechanisms, each run its own virtual servo loop. A combining algorithm, 
> outside of each of the mechanisms, controls the clock using information from

> all of the mechanisms.
> 
> A device might have a clock running on some arbitrary timescale as part of a

> closed system, but keep a virtual NTP clock just to log events with standard

> time.
> 
> Here is a crazy one, but a company actually uses it in their network.  Time

> is distributed by both PTP and NTP.  If the time from the two distribution 
> mechanisms agree to within the expected error bounds, then the clock is set

> by PTP, which is assumed to be more accurate.  If PTP and NTP time disagree

> by too much, then the clock is set by NTP, which is assumed to be more 
> robust.  Kind of embarrassing for both protocols if you ask me.

What does the current NTP implementation do if you have two stratum-1 sources
disagreeing on the correct time while being of "high quality"? Toss a coin?
Officially it does not, but the results are quite similar. It's named "clock
hopping". "prefer" isn't really a solution if you have no control over such
(stratum-1) sources...

> 
> There are probably other use cases.
> 
> Doug
> 
> ________________________________
> From: ntp <ntp‑bounces@ietf.org> on behalf of Ulrich Windl 
> <Ulrich.Windl@rz.uni‑regensburg.de>
> Sent: Tuesday, April 21, 2020 7:00 AM
> To: Rich Salz <rsalz=40akamai.com@dmarc.ietf.org>; Kyle Rose
<krose@krose.org>
> Cc: ntp@ietf.org <ntp@ietf.org>; mlichvar@redhat.com <mlichvar@redhat.com>;

> Daniel Franke <dfoxfranke@gmail.com>
> Subject: [Ntp] Antw: [EXT] Re: An NTPv5 design sketch
> 
>>>> Kyle Rose <krose@krose.org> schrieb am 21.04.2020 um 15:51 in Nachricht
>
<25459_1587477108_5E9EFA73_25459_2_31_CAJU8_nUXUEtsddE9byQgEfMknLSz8ywMs23CNy
> YKF
> OYPgLbQA@mail.gmail.com>:
>> On Tue, Apr 21, 2020 at 9:35 AM Salz, Rich <rsalz=
>> 40akamai.com@dmarc.ietf.org> wrote:
>>
>>>
>>> >    The device may be very simple. It may not have an OS and NTP may be
>>>     the only networking it does. It could be measuring intervals in a
>>>     physics experiment, or controlling a robot in a factory.
>>>
>>> I would like to see this use‑case *not* be a requirement for NTPv5.
>>>
>>
>> Strong agree, but because NTP's purpose is to synchronize wallclock time
>> first. Intervals are a second‑class citizen, and anyway conflict with the
>> first requirement once you get beyond very short intervals.
> 
> An interesting concept would be a "virtually corrected (software) clock" 
> that leaves the OS clock alone, keeping the offset and drift als variable.
So 
> at any time the OS clock could be "fixed" from the virtual clock as if it 
> were continuously adjusted all the time. Eventually this would allow to run

> multiple versions of NTP on a single host ;‑)
> 
> 
> _______________________________________________
> ntp mailing list
> ntp@ietf.org 
> https://www.ietf.org/mailman/listinfo/ntp 



--- End Message ---