If we want to change the tick time for Linux Kernel, we need to change CONFIG_HZ parameter in Linux Kernel. Do we have other better ways to change it rather than compiling Linux Kernel. Please ignore the way to add ‘divider=10’ in grub config file because it is limited only for RH/CentOS distros.
Zhiqiang, please answer this question if you know it. I cannot find the answer after Google for a long time. Thank you.
HZ variable is extensively used as a macro, such as in
This is likely for performance.
This may make it compile-time configurable only.
So it can only be changed by compiling a new Kernel.