G
Giovanni Azua
Hello all,
I have rewritten a lengthy process to split
the long running job into several threads
2*CPU_count:
"2*(Runtime.getRuntime().availableProcessors())"
In Windows W2K and 2003 Server all of the CPUs (4 physical)
are used, so it really parallelize nicely but on Solaris does
not use more than one physical CPU, the second CPU remains
always idle.
Is there any way to ensure maximal usage of the physical CPUs
from Java? or is it something I must tweak on the specific OS?
TIA,
Best Regards,
Giovanni
I have rewritten a lengthy process to split
the long running job into several threads
2*CPU_count:
"2*(Runtime.getRuntime().availableProcessors())"
In Windows W2K and 2003 Server all of the CPUs (4 physical)
are used, so it really parallelize nicely but on Solaris does
not use more than one physical CPU, the second CPU remains
always idle.
Is there any way to ensure maximal usage of the physical CPUs
from Java? or is it something I must tweak on the specific OS?
TIA,
Best Regards,
Giovanni