lkml.org 
[lkml]   [1999]   [Sep]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Clock Watching the Scheduler 2.2.10unip
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/

\
 
 \ /
  Last update: 2005-03-22 13:54    [W:0.046 / U:0.200 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site