Re: Clock Watching the Scheduler 2.2.10unip

Richard B. Johnson (root@chaos.analogic.com)
Tue, 28 Sep 1999 08:29:26 -0400 (EDT)


On Tue, 28 Sep 1999, John Alvord wrote:

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

Maybe 1 - 2 thousand times per second if your ethernet card is plugged
into a network.

Cheers,
Dick Johnson
**** FILE SYSTEM WAS MODIFIED ****
Penguin : Linux version 2.3.13 on an i686 machine (400.59 BogoMips).
Warning : It's hard to remain at the trailing edge of technology.

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