Note: The on demand timer patch can be enabled by changing the kernel config option
CONFIG_NO_IDLE_HZ=n and a kernel recompile. Alternatively, the on demand timer
patch can be activated and deactivated permanently with the following convenient method.
Use the sysctl command to switch the setting in the proc file system:
1. 'sysctl -w kernel.hz_timer=1' enables the 100 Hz timer. The on demand timer patch is
deactivated.
2. 'sysctl -w kernel.hz_timer=0' disables the 100 Hz timer. The on demand timer patch is
activated.
Enable & disable “on demand” timer patch on the fly (no reboot required but not a
permanent change, lost after reboot) echoing values 0 or 1 into /proc/sys/kernel/hz_timer.
Tuesday, February 24, 2009
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment