Re: Per Process Thread Limit

Aron Rubin <[email protected]>
Newsgroups gmane.linux.ngpt.devel
Organization Lockheed Martin ATL
Message-ID <[email protected]>
Then will I be unable to go beyond 1024 with non NGPT patched kernels?

Aron

Howell, David P wrote:
>>From my test/development system:
> - The supported kernels are called out in INSTALL in the tarball. I'm
>   using linux-2.4.19-pre8 with the 2.4.19-pre8 futex patch, prior to 
>   the release of NGPT 1.9.3. 
> - I'm running NGPT 1.9.2.
> - The distribution I use is Red Hat 7.2 with the later kernel
> At this point I would use ngpt-1.9.3 with the latest kernel patches.
> 
> Dave Howell
> 
> -----Original Message-----
> From: Aron Rubin [mailto:[email protected]]
> Sent: Monday, June 17, 2002 4:00 PM
> Cc: [email protected];
> [email protected]
> Subject: Re: [pthreads-devel] Per Process Thread Limit
> 
> 
> Do you know what kernels/distributions/patches with this work with?
> 
> Aron
> 
> Howell, David P wrote:
> 
>>This is limited by the virtual memory space. I've spawned 27K threads with
> 
> 
>>'test_str02 -l' on my Linux box with 1G memory and 128M swap. 
>>
>>The tunables to lower the thread stack size can extend this, default is
> 
> 64K;
> 
>>if you can safely lower it for your threads it gives more space, I've used
> 
> 
>>16K before for a high thread count process that needed more threads. Use
> 
> the
> 
>>'export DEFAULTTHREADSTACKSIZE=16' for 16K default thread stacks, or use
> 
> the
> 
>>pthread_attr_stacksize() attribute for the threads.
>>
>>Dave Howell
>>
>>-----Original Message-----
>>From: Aron Rubin [mailto:[email protected]]
>>Sent: Monday, June 17, 2002 3:06 PM
>>To: [email protected];
>>[email protected]
>>Subject: [pthreads-devel] Per Process Thread Limit
>>
>>
>>Does NGPT allow for a higher per process thread limit. Right now it 
>>seems the highest number of threads possible per process is 1024.
>>
>>Aron
>>
>>_______________________________________________
>>pthreads-devel mailing list
>>[email protected]
>>http://www-124.ibm.com/developerworks/oss/mailman/listinfo/pthreads-devel
> 
> 
> 
> _______________________________________________
> pthreads-devel mailing list
> [email protected]
> http://www-124.ibm.com/developerworks/oss/mailman/listinfo/pthreads-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.