Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Jan 2004 00:15:44 -0700
From:      Greg Lewis <glewis@eyesbeyond.com>
To:        Andrew Liles <andrew.liles@starfishzone.com>
Cc:        freebsd-java@freebsd.org
Subject:   Re: Threads & SMP
Message-ID:  <20040112071544.GA1095@misty.eyesbeyond.com>
In-Reply-To: <6.0.0.22.2.20040111224426.01e22c98@localhost>
References:  <6.0.0.22.2.20040111224426.01e22c98@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
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@eyesbeyond.com
Eyes Beyond                         Web     : http://www.eyesbeyond.com
Information Technology              FreeBSD : glewis@FreeBSD.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040112071544.GA1095>