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