Re: [chrony-users] Accurately measuring clock drift

[ Thread Index | Date Index | More chrony.tuxfamily.org/chrony-users Archives ]


On Tue, Jun 20, 2023 at 12:35:25PM -0700, Thangalin wrote:
> It's armv7l running kernel 4.14 with chrony 3.4.

If it's using a GPIO pin, you can try this polling variant of the
pps-gpio driver to avoid interrupt delays:
https://github.com/mlichvar/pps-gpio-poll

When the module loads, it logs the delay in reading of the GPIO pin,
so you have an upper bound on the error.

> How would you go about measuring the clock drift between NTP and chrony so
> as to verify the drift has been reduced?

You need to use one source of information in both tests. With
a PPS device you can log the raw PPS offset reported in
/sys/class/pps/pps0/assert.

-- 
Miroslav Lichvar


-- 
To unsubscribe email chrony-users-request@xxxxxxxxxxxxxxxxxxxx 
with "unsubscribe" in the subject.
For help email chrony-users-request@xxxxxxxxxxxxxxxxxxxx 
with "help" in the subject.
Trouble?  Email listmaster@xxxxxxxxxxxxxxxxxxxx.


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/