Re: [chrony-users] Poor synchronization to local NTP server |
[ Thread Index | Date Index | More chrony.tuxfamily.org/chrony-users Archives ]
First of all, there doesn't seem to be anything wrong from the data you sent. NIST servers are notoriously bad time sources compared to most pool sources in my experience. I’m interpreting the “estimated error” of (say) 109ms to my local server as significantly worse than 27ms to
time.nist.gov. Also the “source state” column indicates that I’m syncing with
time.nist.gov and not using the local time server at all.
In “the field” this host will not be able to reach
time.nist.gov, and I just want to match the local time server as closely as I can. 100+ ms of error seems excessive if I can get 200 round-trip pings to that server in the same time.
I can understand if chrony is able to figure out that the local server is just adding extra servers between my device and the Stratum 0 device as Dan suggests, and therefore prefers to choose a shorter path. But my main concern is synchronizing
the clocks of these two hosts.
Second, you are showing data from about three minutes of chrony activity. It may be too soon to say. It has now been about an hour and it’s roughly the same. But I can keep an eye on it.
Third, try adding two or three other pool servers. You can't tell if asdfasdfa is off or something like asymmetry is causing the pool server to seem off. Ok, I switched from time.nist.gov to {0,1,2,3}.pool.ntp.org. Chrony decided to sync to
time.cloudfare.com which has the best “estimated error” value, about 9ms. My local server is 3rd worst.
Fourth, what does ntpq tell you on the ntpd server? How accurate does it think it is? ntpq> peers
remote refid st t when poll reach delay offset jitter ============================================================================== LOCAL(0) .LOCL. 10 l 95m 64 0 0.000 +0.000 0.000 198.51.100.1 .STEP. 16 u - 1024 0 0.000 +0.000 0.000 *12.167.151.1 66.85.78.80 3 u 14 64 377 18.227 +30.128 3.218
|
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |