Re: Max number of pthreads in one process?
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Thread-index: Aci6r0wrivegQyaiEd2jIgAdT0T19A== Thread-topic: Max number of pthreads in one process? User-agent: Microsoft-Entourage/11.4.0.080122
------------------------------
Message: 3 Date: Mon, 19 May 2008 20:53:56 -0700 From: Eric Gouriou <eric.gouriou@pobox.com> Subject: Re: Max number of pthreads in one process? To: Darwin Dev <darwin-dev@lists.apple.com> Message-ID: <78202132-F85E-401E-91F2-CCDEBF848A94@pobox.com> Content-Type: text/plain; charset="us-ascii"
On May 19, 2008, at 11:52 AM, Mike wrote:
Army Research Lab wrote: [... way too many threads ...]
I believe I read somewhere the max # of processes per thread on OS X is 256, although you may want to check that. I think I recall reading it somewhere in the Multithreading Guide.
It is 2500 on Leopard, per a recent discussion on the Java-Dev mailing list.
As in that discussion, I'll reiterate my (somewhat informed) opinion that getting anywhere close to that limit is a recipe for a performance disaster.
Eric
Don't worry, I'm not REALLY planning on doing anything like that! :) This was more of a 'what-if' exercise, just to see if any bugs turn up. And, as it turns out, one did. Thanks, Cem Karan _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... This email sent to site_archiver@lists.apple.com
participants (1)
-
Army Research Lab