Re: Linux 2.4.7-ac1

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Thu Jul 26 2001 - 12:47:52 EST


> 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/



This archive was generated by hypermail 2b29 : Tue Jul 31 2001 - 21:00:28 EST