[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Max number of threads on HPPA

On Sun, Jan 17, 2010 at 10:31 AM, Frans Pop <elendil@planet.nl> wrote:
> Michael Hanke wrote:
>> I maintain ODIN, a simulator for magnetic resonance imaging sequences. I
>> utilizes threads for its simulations and its test suite tries to create
>> 256 thread. This test suite runs during package build-time -- and always
>> fails on HPPA, and just HPPA, e.g.

Can you please ptrace the failing test with -ff and get me the log?

> Sounds similar to http://bugs.debian.org/557982. That BR is closed because
> it was worked around, but I think the underlying issue is unresolved.
> Carlos?

It does sound similar to BR 557982, the workaround in that issue was
to ignore the failure, effectively marking this test as "Expected
failure" for the hppa target.

The maximum thread count with default stacks is ~381 threads, but if
each thread has a lot of thread local data then this number goes down.

Please understand that we are still stress testing the threading on
hppa, and not all of the problems have been worked out. Thank you for
your patience.

>> I have no access to a HPPA machine and hence cannot look at
>> /proc/sys/kernel/threads-max without uploading a new package version.
> On my box:
> $ uname -r
> 2.6.32-trunk-parisc64-smp
> $ cat /proc/sys/kernel/threads-max
> 15984

This is the maximum, but it is only achievable if you reduce the
default 8MB stack size.


Reply to: