Re: [chrony-users] Clock selection algorithm |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-users Archives
]
- To: chrony-users@xxxxxxxxxxxxxxxxxxxx
- Subject: Re: [chrony-users] Clock selection algorithm
- From: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
- Date: Mon, 7 Mar 2022 10:33:38 +0100
- 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=1646645623; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Lh3kMRA5FyxEZxYdcB4IaDujTr7wHeQlUSgWVir0e2U=; b=LQqvOrh0YMN47c9unOXZBBxDRVLeTixSh/KIRosZVptMeR7/AguNz55VUQ77qncUFBf+tj eCXGltsWbaXSkO94VtgVz/8t5xWg35AvpO+dL3xHNynHcSrKsrWBOrGkUJOpXGe+vsiFSJ l/YnHK1pV6JVdw1GNrT/KM//2A/ghEE=
On Thu, Mar 03, 2022 at 07:23:30PM +0100, chrony-users@xxxxxxxxx wrote:
> But sometimes, probably due to interrupt latency, the offset of the PPS refclock has
> some spikes (e.g. spiking to 1 millisecond) and in this situation the PPS clock
> is sometimes marked as an outlier (x) because all the NTP refclocks are closer to the
> system time than this PPS sample is. Chrony selects an NTP refclock and increases
> the stratum. It spends some time (like 5-10 minutes) tracking the NTP servers before
> it reselects the PPS source. This then alerts our monitoring system.
1 millisecond is a lot for an interrupt delay. If you enable the
refclocks log, how many subsequent samples do you see impacted? If
it's not too many, you could simply increase the polling interval and
let the median filter take care of the outliers.
If that doesn't work and you want to force chronyd to keep the PPS
refclock selected, you can set a larger delay for the refclock (e.g.
delay 0.005) to make it overlap with the other sources and avoid the
falseticker status.
--
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.