[ntp:questions] NTP + kernel frequency

David L. Mills mills at udel.edu
Sun Nov 11 17:10:15 UTC 2007

Hal Murray wrote:
>>>On Linux, a simpler way can be to look at /proc/interrupts - e.g.
>>>(probably Linux-version- and possibly config-specific):
>>>$ (cat /proc/interrupts; sleep 10; cat /proc/interrupts) | \
>>>  awk '/timer/{prev=now; now=$2} END{printf "%dHz\n", int((now-prev)/10)}'
>>This yields 41Hz on my Via C7 machine (which has frequency scaling and 
>>runs a 2.6.22-based kernel) while it's idle, and a higher number (e.g. 
>>90Hz) while it's doing something. It yields 100Hz on a Soekris 4801 
>>running 2.4.31.
> There is a lot of work going on in the Linux kernel to avoid
> unnecessary timer interrupts in order to save power on laptops
> and other systems running off batteries.

More information about the questions mailing list