On Thu, Feb 08, 2001 at 01:07:42AM -0600, Bruce Guenter wrote:
> On Wed, Feb 07, 2001 at 05:45:43PM +0100, Jacques <Frip'> WERNERT wrote:
> > ok, on my Solaris, the qmail distribution is "forking" almost 10 to 20
> > processes per second.
> >
> > This cost a lot in system ressources and system calls
>
> Are you kidding? What kind of hardware are you using? On my Celeron
> PC, I can fork and exec 200 shared processes per second, and almost 300
> staticly-linked processes per second.
Not all Unices are created equal...
Linux is extremely good at forking (in fact so good that it's threads
implementation is a special-case fork), whereas others are better at threads.
If you look at where Apache is going (OS-specific optimizations to squeeze
the best out of each platform), it would certainly make sense to do a
threads version for some of the slower Unices...
...or simpler yet - stop using them... :-)
--
Cheers
Jason Haar
Unix/Special Projects, Trimble NZ
Phone: +64 3 9635 377 Fax: +64 3 9635 417