bug in interrupt handling
Santiago Gala
sgala at apache.org
Sun May 20 01:03:26 PDT 2007
I see that in most if not all x86* machines interrupt 0 is assigned to
the timer interrupt, not sure about other architectures.
A test in http://powertop.googlecode.com/svn/trunk/powertop.c
if (nr > 0 && delta > 0)
push_line(line, delta);
makes it skip interrupt 0. While it is designed to skip over NMI, LOC,
etc., it is missing a valid value.
Here (no NO_HZ for X86_64 arch), and using my quick port to python of
the original code, I'm seeing the timer interrupt as the biggest
offender, but I guess it will appear even for people with NO_HZ.
A Related Question: Is LOC relevant for the Wake-ups per second count?
I'm really no hardware expert, but here LOC shows counts ~timer *for
each core*.
Regards
Santiago
More information about the Power
mailing list