[ntp:questions] Re: setting CONFIG_HZ=2000 makes ntpd go crazy

Martin Burnicki martin.burnicki at meinberg.de
Fri Feb 17 11:01:14 UTC 2006


Hai Zaar wrote:
[...]
> I use the patch below to speed up HZ from 1000 to 2000. I use this hack
> starting from kernel  2.6.7 and I have not experienced any particular
> problems. Recently I've started to use NTP and  have noticed that ntp
> client loose synchronization, if this patch is applied, i.e. it
> connects, synchronizes, and then after a few polls,  jitter just jumps
> to 5 digit number. I've rechecked the behavior on the kernel 2.6.11
> and results are the same - applied patch just "skews up" ntpd, while
> there are no any problems with vanilla kernels.

Have you recompiled NTP after you have changed the HZ setting for your
kernel? I could imagine that ntpd goes weird if it assumes a different
value for HZ than the kernel actually uses ...

Martin
-- 
Martin Burnicki

Meinberg Funkuhren
Bad Pyrmont
Germany




More information about the questions mailing list