Threads & SMP
Greg Lewis
glewis at eyesbeyond.com
Sun Jan 11 23:11:29 PST 2004
On Sun, Jan 11, 2004 at 10:48:43PM +0000, Andrew Liles wrote:
> I have successfully installed jvm1.4.2 + patchset 6 and have it running a
> complex non-GUI application with no problem on a 2xCPU FreeBSD 4.9.
>
> What should I expect regarding applications with more than 1 Java thread on
> a multiprocessor box? Should I expect to see the work spread across CPUs?
On FreeBSD 5.x you should expect to see the load spread across both CPUs
if you are using libkse of libthread as a threading library. On FreeBSD
4.x the only threading library is libc_r which won't spread the load across
the CPUs.
--
Greg Lewis Email : glewis at eyesbeyond.com
Eyes Beyond Web : http://www.eyesbeyond.com
Information Technology FreeBSD : glewis at FreeBSD.org
More information about the freebsd-java
mailing list