Re: [chrony-users] Accurately measuring clock drift |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-users Archives
]
- To: chrony-users@xxxxxxxxxxxxxxxxxxxx
- Subject: Re: [chrony-users] Accurately measuring clock drift
- From: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
- Date: Wed, 21 Jun 2023 12:41:09 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1687344073; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=+Mjok1Qq8/YueJQwiKVwSwZfBOVP4L+GDZDuGCX5bzo=; b=B4dBeNjViHVTvlruKqOemZfCqt9gNoKDKAe4xZoRBYkFE5bSlrqPDnD5uknNZJ09T7XIG/ FwD9zZbG5tLEb2PSSW+dqA3UXDVN+/nOhDWIzwi3GPNwp+wFfhe2+hXoKpIgs+eFpto5e4 Dy3EFkJ1GLllZum6T69eXiggqF1xT0w=
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.