PThread - Java



Hello,

In order to load balance a java application on multi-processor
machine, I'd like to repart the monolitic java process on diffents
linux processes.

The news of the v1.4.2 of the Sun JVM show that it support the NPTL
library. However, the way it is used (tested in v0.60 on RedHat
Enterprise3) show that the created processes are in fact processes
which doesn't appears in the top command nor in ps -ax. With ps -amx
it shows all the processes and they are not reparted on the various
processor as they depend on the father process.

Do you know a way of having a better load balancing of monolitic java
process on a multi-proc server ?

Does the JVM 1.5 (or 1.6) manage better the thread based on the
pthread ? JRockit have a better behaviour ?

For information the application is a J2EE one with web apps + EJB
sessions & entities under JBoss 4.

Regards,
Blured.

.