Re: [Ntp] Temperature Compensation for NTP?

Kurt Roeckx <kurt@roeckx.be> Wed, 09 December 2020 19:45 UTC

Return-Path: <kurt@roeckx.be>
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 E3AB03A10D8 for <ntp@ietfa.amsl.com>; Wed, 9 Dec 2020 11:45:50 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, 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 dD0PDgrhco8s for <ntp@ietfa.amsl.com>; Wed, 9 Dec 2020 11:45:49 -0800 (PST)
Received: from excelsior.roeckx.be (excelsior.roeckx.be [IPv6:2a05:7300:0:100::3]) (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 18C463A1141 for <ntp@ietf.org>; Wed, 9 Dec 2020 11:45:48 -0800 (PST)
Received: from intrepid.roeckx.be (localhost [127.0.0.1]) by excelsior.roeckx.be (Postfix) with ESMTP id BD38FA8A0B5B; Wed, 9 Dec 2020 19:45:46 +0000 (UTC)
Received: by intrepid.roeckx.be (Postfix, from userid 1000) id 7EF531FE0DE6; Wed, 9 Dec 2020 20:45:46 +0100 (CET)
Date: Wed, 09 Dec 2020 20:45:46 +0100
From: Kurt Roeckx <kurt@roeckx.be>
To: Hal Murray <hmurray@megapathdsl.net>
Cc: ntp@ietf.org
Message-ID: <X9Epanr9dQLoSN1F@roeckx.be>
References: <stenn@nwtime.org> <d406413e-c539-cb74-daf4-5298a8a1db83@nwtime.org> <20201208233226.B32FA40605C@ip-64-139-1-69.sjc.megapath.net>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <20201208233226.B32FA40605C@ip-64-139-1-69.sjc.megapath.net>
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/wi3zxdko5liF-MJJtlqwHTHdVyk>
Subject: Re: [Ntp] 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 19:45:51 -0000

On Tue, Dec 08, 2020 at 03:32:26PM -0800, Hal Murray wrote:
> kurt@roeckx.be said:
> > I think defining NTP as a impulse response is the wrong approach. It's an
> > implementation detail. If other systems use different algorithms, it should
> > only have an effect on the uncertainty. If it causes big problems, it's an
> > implementation problem. 
> 
> Not quite.  It's easy to get problems when chaining PLLs.  I don't understand 
> it well enough to explain and I don't have a handy reference.
> 
> The typical problem is that somebody tweaks a time constant so his system 
> recovers faster, then months later something crazy happens when triggered by 
> the right input data.

As far as I know, NTP's impulse response overshoots to have a
faster response. And gettings a chain to work with overshooting
complicates things, because it's possible that each next host
overshoots more. As I understand that, to avoid that problem,
NTP does not tell what it's best estimate of the time is, but
slowly moves to that time.


Kurt