Re: thousands of threads & kernel continuations

David Williams (djw@smooth1.demon.co.uk)
Sun, 27 Apr 1997 20:57:22 +0100


In message <Pine.HPP.3.94.970426174342.20756A-100000@emmy.smith.edu>,
Michael Callahan <mjc@stelias.com> writes
>
>I agree with what Alan, David and others have said about 1000s of threads
>being the wrong answer to the question--essentially no matter what the
>question is. (This is assuming you don't have a machine with 1000s of
>CPUs!)
>
Exactly - If you only have 5 CPUs you can only ever have 5 threads
actively run on CPUs at the same time. Perhaps a few more to handle
disk I/O, one if you use Kernel Asyncchronous I/O and a few to handle
network actively, Informix RBBMS recommond one per 200-300 users i.e.
clients.

Why have more??

-- 
David Williams