DragonFly BSD
DragonFly kernel List (threaded) for 2005-08
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: DragonFlyBSD threading model


From: Joerg Sonnenberger <joerg@xxxxxxxxxxxxxxxxx>
Date: Tue, 2 Aug 2005 00:21:53 +0200
Mail-followup-to: kernel@crater.dragonflybsd.org

On Mon, Aug 01, 2005 at 03:02:42PM -0700, walt wrote:
> Matthew Dillon wrote:
> 
> >    The LWKT scheduler is a fixed priority scheduler.  For example, if you 
> >    do a 'ps ax' you will see a ton of kernel threads in addition to 
> >    userland...
> 
> I don't.  But I have only uni-processor machines, and not very busy ones
> at that.  Would there be a difference between UP and MP machines in this
> regard?

You do, believe us :-) Just check the beginning, all the PID -1
processes are kernel threads. You should have one for all interrupts, at
least three for the network stack and some more for the VM subsystem.
Otherwise your system wouldn't work very well :-)

Joerg



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]