Re: Linux 2.4.7-ac1
Alan Cox (alan@lxorguk.ukuu.org.uk)
Thu, 26 Jul 2001 18:47:52 +0100 (BST)
> pth_str02 test (simple test that tries to create 1000 threads) could only
> make it up to 980 threads on my machine. Saw this change in fork.c with
> 2.4.7-ac1:
>
> - max_threads = mempages / (THREAD_SIZE/PAGE_SIZE) / 2;
> + max_threads = mempages / (THREAD_SIZE/PAGE_SIZE) / 16;
>
> Any reason why this was done? I think the max I was ever able to hit before
> was somewhere around 1018 or so, so it's not that big of a drop. I was just
Im just playing with better choices of parameters to be more conservative
about thread allocations
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/