[Gllug] Max number of pthreads in Linux ?

Richard Jones rich at annexia.org
Wed Mar 26 20:54:00 UTC 2008


On Wed, Mar 26, 2008 at 07:38:49AM +0100, salsaman at xs4all.nl wrote:
> does anybody know the maximum number of threads libpthread will support on
> Linux ?

I'm fascinated to know what the use case is for threads, over separate
processes or (even better) a fully distributed solution like MPI.

Processes scale over NUMA architectures, and MPI (and similar) scales
over clusters.  They are safer and easier to use because all sharing
and synchronization needs to be explicit, and it's more predictable
because factors like false sharing don't come into play.  These
factors are such a win so why would anyone want to use threads?

Rich.

-- 
Richard Jones
Red Hat
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list