Date: Tue, 12 Dec 2006 16:25:29 +0100 From: Palle Girgensohn <girgen@FreeBSD.org> To: Nikos Ntarmos <ntarmos@ceid.upatras.gr>, freebsd-java@freebsd.org Subject: Re: Performance of Java on FBSD vs. others... Message-ID: <B142E761BC54C0CA22CD9BFD@rambutan.pingpong.net> In-Reply-To: <20061110203714.GA89006@ace.b020.ceid.upatras.gr> References: <20061110203714.GA89006@ace.b020.ceid.upatras.gr>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <ntarmos@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 > _______________________________________________ > freebsd-java@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-java > To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B142E761BC54C0CA22CD9BFD>