From owner-freebsd-java@FreeBSD.ORG Wed Oct 1 10:45:46 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AC82B16A4B3 for ; Wed, 1 Oct 2003 10:45:46 -0700 (PDT) Received: from mgr4.xmission.com (mgr4.xmission.com [198.60.22.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id 616CE43F3F for ; Wed, 1 Oct 2003 10:45:44 -0700 (PDT) (envelope-from glewis@eyesbeyond.com) Received: from mail by mgr4.xmission.com with spam-scanned (Exim 3.35 #1) id 1A4l2l-00082l-04 for freebsd-java@freebsd.org; Wed, 01 Oct 2003 11:45:43 -0600 Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr4.xmission.com with esmtp (Exim 3.35 #1) id 1A4l2c-0007xn-04; Wed, 01 Oct 2003 11:45:35 -0600 Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) h91Hk4jG011015; Wed, 1 Oct 2003 11:46:05 -0600 (MDT) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.12.9p1/8.12.9/Submit) id h91Hk2ja011014; Wed, 1 Oct 2003 11:46:02 -0600 (MDT) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Wed, 1 Oct 2003 11:46:02 -0600 From: Greg Lewis To: Aniruddha Bohra Message-ID: <20031001174601.GA10929@misty.eyesbeyond.com> References: <3F7B02ED.1020506@cs.rutgers.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3F7B02ED.1020506@cs.rutgers.edu> User-Agent: Mutt/1.4.1i X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on mgr4.xmission.com X-Spam-Status: No, hits=-0.9 required=8.0 tests=BAYES_10 autolearn=no version=2.60 X-Spam-Level: cc: freebsd-java@FreeBSD.org Subject: Re: SPEC JVM'98 on diablo-jdk1.3.1 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Oct 2003 17:45:46 -0000 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