Ricardo A. Reis wrote:
>>You can not create 4 threads, because each thread
>>defaults has 2M stack, you will out of address space.
David,
I don't attempt to create 40k threads, i barely increase the limit for
single process for 40k.
I like a test libmicro with default sets.
Ricardo A.
>>You can not create 4 threads, because each thread
>>defaults has 2M stack, you will out of address space.
David,
I don't attempt to create 40k threads, i barely increase the limit for
single process for 40k.
I like a test libmicro with default sets.
Ricardo A. Reis
UNIFESP
___
Ricardo A. Reis wrote:
>the pthread_create benchmark is trying to create 2 threads, the
>default allowed number is 1500.
Hi,
I increase default limits for *per_proc for 4
sysctl -a |grep threads
kern.threads.thr_concurrency: 0
kern.threads.thr_scope: 0
kern.threads.virtual_cpu: 2
>the pthread_create benchmark is trying to create 2 threads, the
>default allowed number is 1500.
Hi,
I increase default limits for *per_proc for 4
sysctl -a |grep threads
kern.threads.thr_concurrency: 0
kern.threads.thr_scope: 0
kern.threads.virtual_cpu: 2
kern.threads.max_threads_h