On Tue, 10 Jun 2003, Tom Duerbusch wrote: > I set it to '0' as suggested for VM types. But after a boot, it is back > to '1'. The documentation on this doesn't say anything about needing to > put it in a boot script. Seems to imply that this is a one time only > thing. ... > 3. Is the docs wrong and I do have to put it in a boot script?
There is already a script, it configure it, take these steps: 1) Create/Update the sysctl config file, e.g. by: # echo kernel.hz_timer=0 >>/etc/sysctl.conf Verify and activate the current config in /etc/sysctl.conf: # sysctl -p If successful, it prints: kernel.hz_timer = 0 2) Activate the boot service to call sysctl -p at boot: chkconfig -a boot.sysctl (ignore the output in this case) Which creates a symlink to boot.sysctl in /etc/init.d/boot.d/ 3/Test) After the next reboot, # sysctl kernel.hz_timer should print: kernel.hz_timer = 0 Bernhard Kaindl