From owner-freebsd-java Sun Sep 29 12:50: 9 2002 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 DFF7D37B401 for ; Sun, 29 Sep 2002 12:50:07 -0700 (PDT) Received: from keyser.soze.com (keyser.soze.com [194.165.93.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1BE8C43E65 for ; Sun, 29 Sep 2002 12:50:07 -0700 (PDT) (envelope-from stefan.arentz@soze.com) Received: by keyser.soze.com (Postfix, from userid 1000) id B7B15351E7; Sun, 29 Sep 2002 21:50:45 +0200 (CEST) Date: Sun, 29 Sep 2002 21:50:45 +0200 From: Stefan Arentz To: freebsd-java@FreeBSD.ORG Subject: Hacking on JDK 1.3.1 Message-ID: <20020929195045.GA51533@keyser.soze.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.99i Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi, Short introduction; I'm working on making the native JDK 1.3.1 a bit more stable on -STABLE (4.4 and 4.6.2-SMP in my case) and also trying to backport Bill Huey's excellent work on Hotspot. My current test applications are JBoss and Orion (because I want to run those in production on FreeBSD). Orion already flies, here are some very simple test results: Dynamic Content % ab -n 2500 -c 25 http://localhost:8080/examples/jsp/dates/date.jsp FreeBSD Native with compiler1: Requests per second: 205.64 [#/sec] (mean) Time per request: 121.569 [ms] (mean) Time per request: 4.863 [ms] (mean, across all concurrent requests) Transfer rate: 259.61 [Kbytes/sec] received Linux Compatibility with compiler1: Requests per second: 1329.07 [#/sec] (mean) RTime per request: 18.810 [ms] (mean) RTime per request: 0.752 [ms] (mean, across all concurrent requests) RTransfer rate: 1677.82 [Kbytes/sec] received Static Content % ab -n 2500 -c 25 http://localhost:8080/examples/jsp/dates/date.jsp FreeBSD Native with compiler1: Requests per second: 1119.76 [#/sec] (mean) Time per request: 22.326 [ms] (mean) Time per request: 0.893 [ms] (mean, across all concurrent requests) Transfer rate: 2501.53 [Kbytes/sec] received Linux Compatibility with compiler1: Requests per second: 1682.41 [#/sec] (mean) Time per request: 14.860 [ms] (mean) Time per request: 0.594 [ms] (mean, across all concurrent requests) Transfer rate: 3758.50 [Kbytes/sec] received The difference in JSP performance is odd, I'm looking into that now. Could this be because the version in the linuxulator is more efficient because of its threading implementation? There also seems to be a problem with compilation of JSP files. It only works when I use jikes instead of javac. Tough stuff, but I'm slowly making progress. Greetings, Stefan -- stefan.arentz@soze.com / http://www.soze.com/stefan "Think of Your cellular phone as a party line", Ian Goldberg To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message