[ntp:questions] Can a clock drift be too big for ntpd?

Uwe Klein uwe_klein_habertwedt at t-online.de
Sat Oct 20 11:44:30 UTC 2007


Patrick Nolan wrote:
> On 2007-10-19, Richard B. Gilbert <rgilbert88 at comcast.net> wrote:

>>Check the value of a Kernel variable called "HERTZ".  Some Linux systems 
>>set it to 1000 which is not good for NTP.  If yours is set to 1000 (or 
>>250) try changing it to 100.
> 
> 
> More ignorance on my part.  Where would I look for this?  I searched 
> the kernel source code and didn't find it.
you can do ( the .config file used is compiled into the kernel )
	zcat /proc/config.gz  | grep HZ

Looks like this:
	# CONFIG_HZ_100 is not set
	CONFIG_HZ_250=y
	# CONFIG_HZ_1000 is not set
	CONFIG_HZ=250
( 250 Hz for my box )

usually it is also copied into /boot/ when installing the new
kernel as config-<$kernelversion>

Change it in the /usr/src/linux/.config	file or use
make <UI of choice>config in /usr/src/linux/ before building
a new kernel.

uwe




More information about the questions mailing list