atom feed42 messages in org.freebsd.freebsd-javaPerformance of Java on FBSD vs. other...
FromSent OnAttachments
Nikos NtarmosNov 10, 2006 8:39 pm 
Nick JohnsonNov 10, 2006 8:54 pm 
Nikos NtarmosNov 10, 2006 9:33 pm 
Milo HysonNov 10, 2006 9:47 pm 
Arne H. JuulNov 10, 2006 9:52 pm 
Matthew SeamanNov 10, 2006 9:53 pm 
Nikos NtarmosNov 10, 2006 10:15 pm 
Chad Leigh -- Shire.Net LLCNov 10, 2006 10:25 pm 
Nikos NtarmosNov 10, 2006 10:34 pm 
Nick JohnsonNov 10, 2006 10:34 pm 
Arne H. JuulNov 10, 2006 10:50 pm 
David XuNov 11, 2006 12:37 am 
Nikos NtarmosNov 11, 2006 4:46 am 
Nikos NtarmosNov 11, 2006 4:46 am 
Nikos NtarmosNov 11, 2006 4:46 am 
Nikos NtarmosNov 11, 2006 4:46 am 
Ivan VorasNov 11, 2006 7:49 pm 
Nick JohnsonNov 12, 2006 3:09 am 
Kazuyuki ShudoNov 12, 2006 12:46 pm 
Nikos NtarmosNov 13, 2006 2:18 am 
Achilleas MantziosNov 13, 2006 9:08 am 
Massimo LusettiNov 13, 2006 9:15 am 
Nikos NtarmosNov 13, 2006 9:31 am 
Kazuyuki ShudoNov 13, 2006 10:39 am 
Nikos NtarmosNov 13, 2006 11:27 am 
Michael VinceNov 15, 2006 5:22 am 
Palle GirgensohnDec 12, 2006 7:29 am 
Achilleas MantziosDec 18, 2006 8:09 am 
Nick JohnsonDec 18, 2006 9:42 am 
Nikos NtarmosDec 18, 2006 7:46 pm 
Eugeny N DzhurinskyDec 19, 2006 12:32 am 
Achilleas MantziosDec 19, 2006 1:41 am 
Eugeny N DzhurinskyDec 19, 2006 1:45 am 
Achilleas MantziosDec 19, 2006 2:39 am 
Eugeny N DzhurinskyDec 19, 2006 2:42 am 
Nikos NtarmosDec 19, 2006 3:29 am 
Eugeny N DzhurinskyDec 19, 2006 3:34 am 
Ivan VorasDec 19, 2006 1:28 pm 
Eugeny N DzhurinskyDec 19, 2006 11:57 pm 
Andrew PantyukhinDec 20, 2006 1:33 am 
Eugeny N DzhurinskyDec 20, 2006 1:38 am 
Achilleas MantziosDec 20, 2006 2:52 am 
Subject:Performance of Java on FBSD vs. others...
From:Palle Girgensohn (gir@FreeBSD.org)
Date:Dec 12, 2006 7:29:11 am
List:org.freebsd.freebsd-java

Hi!

This mail thread died a while back. Any news, did you succeed in getting it faster?

We are experiencing similar slowness with tomcat - it seems it runs much faster on Linux. I have not done any tests yet, it is just a feeling, but developers here are already moaning and want to replace FreeBSD with Linux. I'd love to get the BSD boxes running as fast instead... Any input appreciated.

Regards, Palle

--On fredag, november 10, 2006 22.37.14 +0200 Nikos Ntarmos <ntar@ceid.upatras.gr> wrote:

Hi all.

I've spent the last week or so running the exact same Java code on the exact same hardware, under different OSs. The code i'm running is heavily cpu-bound (no i/o other than light logging), uses a lot of memory (~1G), and does not rely on threading libraries (i.e. the program creates two threads when it starts and that's all about it).

I'm running a small and a large version of the program (wrt memory requirements and run-time). The average execution time for the small version goes from ~200'' under win32, to ~220'' under linux, and to ~800'' under freebsd. For the large version, the numbers are ~1600'' for win32, ~1800'' for linux, and ~4700'' for freebsd.

This is all on a 1.7GHz Pentium-M laptop with 1G RAM (dmesg at http://ntarmos.dyndns.org/Computers/dmesgs/ace.dmesg), running -current as of Sep 29. The JDKs tested are diablo-jdk15 (1.5.0.07.01) and sun-jdk15 (1.5.0p6) for FreeBSD, and sun-jdk15 (1.5.0_07) for linux and win32.

Does anybody else see such a performance drop across OSs? Is there some specific (known) reason why freebsd lags behind the other two OSs by this 3x-4x factor? Any pointers as to some (sysctl or other) knob I've missed?

Thanks in advance.

\n\n