
20 Jun
2007
20 Jun
'07
4:49 a.m.
How should one define CFG_HZ? It seems that it's to be set to 1000. However my system clock speed is not this. What are the rules for setting this value? This constant is used in the timing functions of some boards.
Is this a little off-topic?
1000 could be OK. Some people use 250. Others go as far as using 100. It says how many times the kernel will wake up each second to perform some tasks. A very exciting feature of recent kernels is that you will not need that to happen. You might want to check this:
http://lwn.net/Articles/223185/
And google for CONFIG_NO_HZ.
Regards.