Date: Mon, 15 Jul 1996 14:28:34 +0200 From: sthaug@nethelp.no To: bde@zeta.org.au Cc: current@freebsd.org Subject: xntpd stepping clock backwards? (was: Re: NFSv3 fixes for review) Message-ID: <20426.837433714@verdi.nethelp.no> In-Reply-To: Your message of "Sun, 14 Jul 1996 18:05:15 %2B1000" References: <199607140805.SAA20603@godzilla.zeta.org.au>
next in thread | previous in thread | raw e-mail | index | archive | help
> >This fix seems to work right for me. I'm nervous about the use of the > >timeval, mostly because I'm not sure that it is monotonically > >increasing in the ntpd time synchronization case (and haven't > >looked deep enough to verify that the reported time from the > >microtime is not affected by adjustments. > > xntpd only does tiny adjustments which can't possibly make the clock > go backwards. OTOH, ntpdate or ordinary `date' can set the clock back > by years. Then why does my syslog show the following? It sure looks to me like xntpd sometimes steps the clock backwards. This is on 2.2-960612-SNAP. Steinar Haug, Nethelp consulting, sthaug@nethelp.no ---------------------------------------------------------------------- Jul 7 14:57:36 verdi xntpd[84]: time reset (step) 0.151413 s Jul 7 21:34:16 verdi xntpd[84]: time reset (step) 0.133152 s Jul 9 17:32:48 verdi xntpd[84]: time reset (step) -0.135963 s Jul 9 17:37:49 verdi xntpd[84]: time reset (step) 0.133687 s Jul 10 00:15:54 verdi xntpd[87]: time reset (step) -0.321460 s Jul 11 00:12:52 verdi xntpd[84]: time reset (step) -2.264120 s Jul 11 03:24:08 verdi xntpd[84]: time reset (step) -0.211536 s Jul 11 13:28:57 verdi xntpd[84]: time reset (step) -0.146236 s Jul 11 22:45:37 verdi xntpd[83]: time reset (step) -0.669474 s Jul 14 17:28:57 verdi xntpd[83]: time reset (step) 0.159320 s Jul 15 05:24:55 verdi xntpd[83]: time reset (step) 0.128810 s
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20426.837433714>