[ntp:questions] Time reset
david at ex.djwhome.demon.co.uk.invalid
Sun Apr 6 09:06:59 UTC 2008
Danny Mayer wrote:
> You cannot have advanced warning before stepping. It doesn't know until
> it decides it needs to do it.
Yes and no. You do not know that it will definitely step until the step
occurs, but you know that it definitely won't step 900 seconds earlier.
It can only step if it has been in the SPIK state for 900 seconds.
Note that the comment tabulating the state transitions in 4.2p4 is wrong.
> Yes. You can use -x to slew always.
-x doesn't prevent stepping. What it does, in recent ntpd's, is to set
the magnitude of the offset before a step will be considered to 600ms,
which is a strange choice, as the maximum value for which the kernel
discipline is used is 499ms!
If you actually want to completely stop stepping, you need to tinker the
value to the magic value of zero.
Note both -x and tinkering to zero effectively turn off the kernel
More information about the questions