[Ntp] Antwort: Re: Antw: [EXT] Re: Temperature Compensation for NTP?

kristof.teichel@ptb.de Wed, 09 December 2020 12:04 UTC

Return-Path: <kristof.teichel@ptb.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 2E89D3A123E for <ntp@ietfa.amsl.com>; Wed, 9 Dec 2020 04:04:34 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.42
X-Spam-Level:
X-Spam-Status: No, score=-1.42 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, HTML_MIME_NO_HTML_TAG=0.377, HTML_NONELEMENT_30_40=0.001, MIME_HTML_ONLY=0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=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 vpBAUCeKAKWc for <ntp@ietfa.amsl.com>; Wed, 9 Dec 2020 04:04:32 -0800 (PST)
Received: from mx1.bs.ptb.de (mx1.bs.ptb.de [192.53.103.120]) (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 253F63A123F for <ntp@ietf.org>; Wed, 9 Dec 2020 04:04:31 -0800 (PST)
Received: from smtp-hub.bs.ptb.de (smtpint01.bs.ptb.de [141.25.87.32]) by mx1.bs.ptb.de with ESMTP id 0B9C4TDJ027388-0B9C4TDL027388 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 9 Dec 2020 13:04:29 +0100
Received: from lotus.bs.ptb.de (lotus.bs.ptb.de [141.25.85.200]) by smtp-hub.bs.ptb.de (Postfix) with ESMTPS id C7C04A737BA; Wed, 9 Dec 2020 13:04:29 +0100 (CET)
MIME-Version: 1.0
X-Disclaimed: 1
Sensitivity:
Importance: Normal
X-Priority: 3 (Normal)
In-Reply-To: <06a3f575-0f32-8686-40c4-e948e619527e@thalesgroup.com>
References: <06a3f575-0f32-8686-40c4-e948e619527e@thalesgroup.com>, <5FCF48F1020000A10003D5E1@gwsmtp.uni-regensburg.de> <F8A667ED0200007A43047E14@gwsmtp.uni-regensburg.de> <5FD07720020000A10003D684@gwsmtp.uni-regensburg.de>
From: kristof.teichel@ptb.de
To: FUSTE Emmanuel <emmanuel.fuste@thalesgroup.com>
Cc: "ntp@ietf.org" <ntp@ietf.org>
Message-ID: <OFC100EA2B.0D5BBA74-ONC1258639.00422784-C1258639.00425388@ptb.de>
Date: Wed, 09 Dec 2020 13:04:27 +0100
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/o4HknEthRBbmR0hpZ6XpmnRqLEg>
Subject: [Ntp] Antwort: Re: Antw: [EXT] Re: Temperature Compensation for NTP?
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 12:04:34 -0000

I agree with the faction who believes that things like temperature correction should be outside of a document whose main focus is the on-wire protocol part of NTP (be it version 4 or 5)

I would also prefer it if the on-wire protocol and any algorithms deriving offset/correction data from it would be split into different documents, with potentially a third one for the actual techniques used for clock disciplining.
This would mean quite a lot of work in the short term, such as defining interfaces for what the single modules need from one another. 
But I think the clarification would be worth it (for example, it would create a place where integrating temperature corrections makes sense).


Best regards,
Kristof


-----"ntp" <ntp-bounces@ietf.org> schrieb: -----
An: "ntp@ietf.org" <ntp@ietf.org>
Von: "FUSTE Emmanuel"
Gesendet von: "ntp"
Datum: 09.12.2020 10:55
Betreff: Re: [Ntp] Antw: [EXT] Re: Temperature Compensation for NTP?

Le 09/12/2020 à 08:05, Ulrich Windl a écrit :
>
> As said before, I think describing the protocol without the algorithms and clock model behind does not make sense, and when describing the clock model, one has to explain where clock wander and error estimate mainly comes from.
> Also one of the design goals of NTP has been to provide "reasonalbe" time and error estimate even when there are no servers available and to lengthen the polling interval. I think considering the temperature (optionally), can help improving those capabilities, so why ignore?
>
Because improving capabilities of the oscillator is not the NTP job. NTP
algorithm is a consumer of those capabilities, we should have way to
provide these capabilities to the NTP algorithm but it is not the job of
NTP to interfere with them.
Chrony implement poor man temperature compensation, great. But if I use
TCXO or OCXO considering the temperature (and which one ?) is non sense.
And I could even implement this basic crystal TC in a kernel driver for
better integration with the timekeeping machinery and interface for the
same result, NTP is completely out of the picture.
If I know the aging curve I could implement it too in this same driver
or in chrony to better free running precision.
An oscillator could characterized by stability temp stability in ppm/c,
Alan variance, phase noise, aging curve and more.
For sure, only a metrology lab or the oscillator maker could give you
the characteristics of an oscillator and on most hardware and computers,
the oscillator spec are not provided or know.
NTP appliance provider job is to use such advanced oscillators and
compensation technique to provide better global characteristics and be
better clock source for serving NTP.
The job of NTP is to steer the system clock and so possibly the
underlying oscillator in one way and to provide measurements in the
other way.
So the only question is : what property/characteristics/metric of the
underlying oscillator/clock the NTP servo/clock model need to do its job
better rather than default values ?
With the modern granularity and precision of measurements thanks to HW
time stamping availability and oscillators quality, the spectrum of
possibility is too wide for hard coded good for all default values.

Regards,
Emmanuel.
_______________________________________________
ntp mailing list
ntp@ietf.org
https://www.ietf.org/mailman/listinfo/ntp" rel="nofollow">https://www.ietf.org/mailman/listinfo/ntp