Re: Clock Watching the Scheduler 2.2.10unip

John Alvord (jalvo@mbay.net)
Tue, 28 Sep 1999 02:22:21 GMT


On Mon, 27 Sep 1999 22:11:38 -0400 (EDT), "Richard B. Johnson"
<root@chaos.analogic.com> wrote:

>On Mon, 27 Sep 1999, Robert Redelmeier wrote:
>
>> While trying to determine kernel overhead, I wrote a small pgm
>> (below) using `rdtsc` to figure out kernel interrupts. I get
>> some strange results:
>>
>> 1) 500 interrupts take 5 seconds. No surprise there. Except
>> on SMP (& FreeBSD2.2.8) systems, where they only take
>> ~2.7 seconds. Are these spurrious interrupts? Or SMP?

500/5 = 100 = default HZ... so maybe you were interrupted 100 times a
second.

john alvord

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