RE: [chrony-users] Refclock Integration Advice

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


When I run ppstest and ppswatch, it will successfully print out the pulses.

When I run chronyd -d -d to see, I do see that chrony is giving me the following regarding my PPS:
"2020-11-23T13:33:25Z refclock.c:476:(check_pulse_edge) refclock pulse ignored offset=0.000008103 distance=0.000025204 max_error=0.000010000"
And 
"2020-11-23T13:33:23Z refclock_pps.c:150:(pps_poll) PPS sample ignored seq=90552 ts=1606138402.000128212"
 
Which seems to confirm it throwing/dropping some of my PPS. Is there a reason for this and a way to prevent this? I tried being as detailed in the conf file but adding the field width "0.00002" (20us).

Thank you
Ben Chang

-----Original Message-----
From: Miroslav Lichvar <mlichvar@xxxxxxxxxx> 
Sent: Monday, November 23, 2020 7:07 AM
To: chrony-users@xxxxxxxxxxxxxxxxxxxx
Subject: Re: [chrony-users] Refclock Integration Advice

On Fri, Nov 20, 2020 at 03:25:56PM +0000, Chang, Benjamin wrote:
> Am I forgetting something or misunderstanding something? Is maybe why my PPS so hard to sync to because the pulse is so short?

Too short pulse could definitely be a problem. If you run ppstest on the PPS device, do you see a new sample with each second?

> Do you have any suggestions on how to get chrony to better sync to my system? I did notice it seems to receive packets better when its not selected as a source, but that defeats the whole purpose.

That is odd. You could try building chronyd with the --enable-debug option and running chronyd -d -d to see if chronyd is getting the PPS samples and why it is dropping them. Your NTP server seems to be ok (the reported +/- value), so I don't think this is a problem in locking of the PPS refclock.

--
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.


--
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/