[ntp:questions] NTP + kernel frequency

Hal Murray hal-usenet at ip-64-139-1-69.sjc.megapath.net
Sat Nov 10 17:07:21 UTC 2007

>> 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.

These are my opinions, not necessarily my employer's.  I hate spam.

More information about the questions mailing list