Re: [chrony-users] Multi-PPS+RTC Setup Questions |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-users Archives
]
- To: chrony-users@xxxxxxxxxxxxxxxxxxxx
- Subject: Re: [chrony-users] Multi-PPS+RTC Setup Questions
- From: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
- Date: Tue, 29 Sep 2020 17:48:22 +0200
- Authentication-results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=mlichvar@xxxxxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1601394508; 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=+r96B5icznExrNV6ZuRl1hsKmNZynCY0GSH9My70M1A=; b=hH4x27Zrp6eaUsZ15xxDS6tF4CyX3A71uTmJxxpTkWrLEOJwcuQqnl/CxsS+x+xW21lS/q CkX6/OOqwnesOroQKj4k+2JODytj9V/I/Ig9I7aFVXs/XKkCvU22xorsF8zaps0BSTcLk8 /20wLYMtMZ8RR8Ofgv0fbo9hd/kISS4=
On Tue, Sep 29, 2020 at 11:29:13AM -0400, Matt Corallo wrote:
> Right, ok, so should I presume this isn't a bug normally, but is caused by
> whatever nonsense brokenness is going on in my u-blox receivers that they
> mysteriously sync to different time despite identical setups?
The problem with refclocks is that there is a missing estimate on
their accuracy, which is needed in the source selection (in terms of
the root distance). Ideally it should be provided by the user for each
clock, but it's not always needed.
It's not ununusal for PPS signals from different GPS receivers to be
slightly off from each other, but I think a larger error usually comes
from the timestamping of the pulse. If there is an interrupt involved
(e.g. pps-ldisc or pps-gpio), it will add a few microseconds of delay,
that can change over time (CPU speed, utilization, etc). If you had an
I210 and tried it with a HW-timestamped PPS, you would see how this
interrupt delay is changing.
What PPS driver do you use? Are your PPS signals configured to trigger
at different times (avoiding two interrupts at the same time)?
--
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.