Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Oct 2003 11:46:02 -0600
From:      Greg Lewis <glewis@eyesbeyond.com>
To:        Aniruddha Bohra <bohra@cs.rutgers.edu>
Cc:        freebsd-java@FreeBSD.org
Subject:   Re: SPEC JVM'98 on diablo-jdk1.3.1
Message-ID:  <20031001174601.GA10929@misty.eyesbeyond.com>
In-Reply-To: <3F7B02ED.1020506@cs.rutgers.edu>
References:  <3F7B02ED.1020506@cs.rutgers.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Oct 01, 2003 at 12:38:05PM -0400, Aniruddha Bohra wrote:
> 	We ran a couple of SPEC JVM benchmarks using the
> diablo-jdk1.3.1 package distributed by the FreeBSD Foundation
> on FreeBSD 4.8-STABLE from August 25.
> 	We compared it against the Linux JDK running on Linux-2.4.20.
> The performance on FreeBSD is 5 to 10 times lower than the Linux
> version.

The FreeBSD version is using the byte code interpreter, the Linux version
is using the HotSpot JVM.  This isn't really surprising.

> 	Are there any tuning parameters etc. that will help improve the
> performance? In any case, I would like to run this with native threads
> (right now it runs with green threads). How do I enable the native
> threads?

You can't enable native threads as the Diablo distribution doesn't include
native threads support (its not complete).  If you want something faster,
I'd suggest (in order):

1. Using the jdk14 port.
2. Use the jdk13 port and enabling HotSpot.
3. Install a JIT (e.g. shuJIT, OpenJIT).

None of these will get you a compliant JDK, but they will all get you
a faster JDK.

> 	Finally, does JAVA run on -current? Does it run with libkse or
> libthr?

You can build a JDK on -current.  However, the Diablo distribution doesn't
support FreeBSD 5.1.  I'm not sure if the fix has been committed to
-current which stopped it working on 5.1.

-- 
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?20031001174601.GA10929>