mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* x86 local timer interrupts getting lost
@ 2000-12-01  1:30 David Wragg
  0 siblings, 0 replies; only message in thread
From: David Wragg @ 2000-12-01  1:30 UTC (permalink / raw)
  To: linux-kernel

I've noticed that on dual processor machines, the two values in the
LOC: line of /proc/interrupts are not in lockstep -- the difference
between them varies.  Using a perl script (below) to print out the
difference every second, I see it wander around (by much more than the
+/-1 error that /proc/interrupts involves).  Sometimes the difference
will jump, usually when the machine is under heavier interrupt load.
I've seen jumps of more than 10, up and down on the same machine.

The machines I've been testing this on are a dual PPro and a dual
Celeron, both running 2.4.0-test11.

Looking at the APIC documentation, it seems unlikely that the
frequency of the local timer interrupts could be wandering differently
on the two processors, so I suspect that the interrupts are actually
getting lost.  Does anyone know how this could be happening?


The perl script:

perl -e 'while(1) { open(IN, "</proc/interrupts") ; while (<IN>) { next unless /LOC:/; ($a, $b, $c) = split; } close(IN); print (($b - $c) . "\n"); sleep(1); }'



David Wragg
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-12-01  2:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-12-01  1:30 x86 local timer interrupts getting lost David Wragg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®