marc fleury wrote:
> |In the default configuration of most Linux kernels, there is a maximum
> |of 512 processes and/or threads, which is a compiled-in limit (at
> |least up through 2.2 - I haven't checked 2.4).  A normal user by
> |default can only create a maximum of 256 processes/threads, so your
> |load test is doomed to failure on most Linux systems, at least with a
> |JVM which uses native threads.  A green threads JVM would most likely
> |survive it, though, although then you lose scalability on SMP systems.
> 
> yes we will test 2.4 (compiled for our machine specifically, beast, we will
> see)

If you would like to test on Linux with more available
threads it is simple: Just change the constant NR_TASKS
in include/linux/tasks.h and recompile your kernel.

But I still cannot see how you could crash the kernel
by starting many threads. The only way that should be
possible is if you are root.


Best Regards,

Ole husgaard.

Reply via email to