NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: time consistently behind 6 seconds every day



Pretty much no clock is perfect, so you always have drift.
That is why you should be running ntpd.

If you don't, then you will have this difference that only grows with time. And it's different on every system. Which also is why there are no really good knobs available for tweaking this manually. Manual tweaking is hard, and it is also actually not constant. Clocks are affected by temperature, power levels, age, and god knows what else...

Run ntpd!

  Johnny

On 2019-08-03 02:36, reed%reedmedia.net@localhost wrote:
See these daily NTP offsets:

Jul 19 20:40:14 t1 ntpdate[16879]: step time server 23.239.26.89 offset
6.039924 sec
Jul 20 20:40:14 t1 ntpdate[4698]: step time server 206.55.191.142 offset
6.038794 sec
Jul 21 20:40:14 t1 ntpdate[22152]: step time server 69.89.207.99 offset
6.036992 sec
Jul 22 20:40:14 t1 ntpdate[20684]: step time server 96.42.83.78 offset
6.039788 sec
Jul 23 20:40:15 t1 ntpdate[27466]: step time server 96.235.18.130 offset
6.036430 sec
Jul 24 20:40:14 t1 ntpdate[908]: step time server 198.46.248.36 offset
6.039517 sec

That is from a daily cron job running ntpdate.

I know I can run ntpd to keep in sync and I will probably do that on
this system.

But are there any NetBSD tunings that I should consider to also make
sure its system better keeps track of time?

NetBSD 8.0 amd64. Please let me know about any sysctls or dmesg output
or other diagnostic info that may be useful.

Thanks!

   Jeremy C. Reed

p.s. I noticed this because I flagged a DNS RRSIG Inception time in the
future by 6 seconds off. I checked and I was off by 5.717946 and fixed a
moment later and I was off by 5.726703. Still I think the other system
was at least a fraction of a second fast since was serving very new
signature.

echo 'EhZ[h ^jjf0%%h[[Zc[Z_W$d[j%Xeeai%ZW[ced#]dk#f[d]k_d%' | \
   tr            '#-~'            '\-.-{'



--
Johnny Billquist                  || "I'm on a bus
                                  ||  on a psychedelic trip
email: bqt%softjar.se@localhost             ||  Reading murder books
pdp is alive!                     ||  tryin' to stay hip" - B. Idol


Home | Main Index | Thread Index | Old Index