Re: [chrony-users] Chrony gets out of sync regularly |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-users Archives
]
- To: chrony-users@xxxxxxxxxxxxxxxxxxxx
- Subject: Re: [chrony-users] Chrony gets out of sync regularly
- From: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
- Date: Mon, 28 Feb 2022 13:12:27 +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=1646050352; 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=A6R+NfVMroyOQ9rgrU7gMLeJ64N+Xbnkk2w57S357II=; b=T0wuhFP7CQaJjUze0FTbUOkK1mHoJrBpLHiCRJ7b4BT9dYJuahDB09HqupVorPhKh2i/K6 osyUPhQxk94o3dYVh6Pbcpf2//M3bH03mqP34FI/okbFCVldsP5vHmDemf3TuWS7lZEEXZ oS4jJMS7NnQSbfqWKybun6opOGhdou4=
On Mon, Feb 28, 2022 at 10:37:09AM +0100, Gabriele Coppi wrote:
> On Mon, Feb 28, 2022 at 8:46 AM Miroslav Lichvar <mlichvar@xxxxxxxxxx>
> wrote:
> > On Fri, Feb 25, 2022 at 12:10:40PM +0100, Gabriele Coppi wrote:
> > > refclock SHM 0 precision 1e-1 delay 0.5 refid GPS
> > > refclock SHM 1 precision 1e-7 refid PPS
> >
> > You should remove the first source and just rely on the PPS-based
> > SHM 1, or alternatively use SHM 0 + PPS /dev/pps0. SHM 1 from gpsd is
> > sufficient.
> >
>
> I am using the SHM1 because the /dev/pps0 it is always reported as a
> falseticker. I checked with ppstest and I got out the signal, so I don't
> know why
As a falseticker against SHM 0, or some NTP server? If the latter, it
might be using the wrong edge of the pulse.
> > If you see both sources marked as falsetickers (x symbol) in the
> > chronyc sources output, that means they don't agree with each other.
> > If the offset of the SHM 0 is around 0.25s, small changes in the delay
> > would cause the behaviour you see.
> >
>
> Yes, the offset of SHM0 is always between 250 and 500ms.
That should be compensated with the offset option. But better it is to
not use the SHM 0 at all. As you see, its offset is too variable.
--
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.