On Nov 15, 2010, at 12:29 PM, SteveW wrote:
> With the default step threshold of 128 ms, if a machine's time is
> within 128 ms of the ntp server's time, when it syncs with the server,
> will it exit from ntpd -g -q without stepping the clock?

That should be the case.  If the offset is less than 128ms, it should invoke 
adjtime() to slew the clock instead of stepping it via settimeofday() / 
clock_settime().

> This appears to be the behavior I am seeing.  I tried setting the
> clock on my machine off by 110 msec from the ntp server and it didn't
> step the clock.  When I set it off by 220 msec it did step it.

That sounds right.

Regards,
-- 
-Chuck

_______________________________________________
questions mailing list
[email protected]
http://lists.ntp.org/listinfo/questions

Reply via email to