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

Re: [apache-plusplus] Applications for HTTP servers (was "Process model for C++ Apache")





On Fri, 29 May 1998, Bret wrote:

> 	For example, I've got five kernel threads.  I've also got twenty fibers...
> for simplicity, say the mapping is even, four fibers to a thread.  Now,
> I've got five kernel-based context-switches, each of which may include four
> user-level context-switches.  Is that really as bad as twenty kernel-level
> context switches?

You should read
http://www.arctic.org/~dgaudet/apache/2.0/impl_threads.ps.gz
... that'll give you an idea how it's done on solaris.

Dean