[kaffe] thread stress test on smp

Riccardo zuse at libero.it
Wed Nov 17 08:31:00 PST 2004


Hey,

I tried running Noa's test on solaris/sparc SMP with pthreads and jit.

what I did was

1. install kaffe
2 copy the script (slightly modified)
3. run it from inside the regression directory

see it stop after two executions ?

> bash ~/thrtest
Wed Nov 17 17:11:36 MET 2004
Wed Nov 17 17:11:36 MET 2004
Success.
Success.
Success.
Success.
Success.
Success.
Success.
Success.
Success.
Success.
sleep: bad character in argument
Wed Nov 17 17:11:41 MET 2004
Success.
Success.
Success.
Success.
Success.
Success.
Time out.  Failure.

I repeated and it failed after 1 run
> bash ~/thrtest
Wed Nov 17 17:17:03 MET 2004
Wed Nov 17 17:17:03 MET 2004
Success.
Success.
Success.
Success.
Success.
Time out.  Failure.

further executions confirm the last result.

And I don't think the cpu is too slow, a 2x HyperSparc should cope such 
a test.

strangely enough the same test doesn't fail during normal regression 
check.


-R

-----
#!/usr/local/bin/bash
date;
while true
do
        date;
        /usr/local/kaffe/bin/java ThreadState || break;
        sleep 0.1;
done





More information about the kaffe mailing list