From owner-freebsd-java@FreeBSD.ORG Sun Nov 12 03:09:19 2006 Return-Path: X-Original-To: freebsd-java@freebsd.org 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 A1AB316A407 for ; Sun, 12 Nov 2006 03:09:19 +0000 (UTC) (envelope-from freebsd@spatula.net) Received: from turing.morons.org (morons.org [64.147.161.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6E6EB43D5A for ; Sun, 12 Nov 2006 03:09:17 +0000 (GMT) (envelope-from freebsd@spatula.net) Received: by turing.morons.org (Postfix, from userid 1001) id 7179617035; Sat, 11 Nov 2006 19:09:20 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by turing.morons.org (Postfix) with ESMTP id 6E1611702F; Sat, 11 Nov 2006 19:09:20 -0800 (PST) Date: Sat, 11 Nov 2006 19:09:20 -0800 (PST) From: Nick Johnson X-X-Sender: spatula@turing To: Nikos Ntarmos In-Reply-To: <20061111042829.GB88440@ace.b020.ceid.upatras.gr> Message-ID: <20061111190456.G88944@turing> References: <20061110203714.GA89006@ace.b020.ceid.upatras.gr> <20061110124459.M88944@turing> <20061110213313.GA72658@ace.b020.ceid.upatras.gr> <20061110142436.G88944@turing> <20061111042829.GB88440@ace.b020.ceid.upatras.gr> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-java@freebsd.org Subject: Re: Performance of Java on FBSD vs. others... X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Nov 2006 03:09:19 -0000 On Sat, 11 Nov 2006, Nikos Ntarmos wrote: > Ummm... It looks more like "apples under freebsd" and "apples under > linux or win32" to me... :) Not if the platform defaults differ, as I said. Compare the defaults for survivor space on Windows vs Solaris for example. > It appears like JIT isn't quite as good on BSDs as it is on linux or > win32 or solaris. I scoured through the source code of the JDK and it's > crawling with ifdef's where solaris and linux seem to be better > instrumented than BSDs... ifdefs are evaluated at compile time, so this would make no difference. > Please note that I don't mean this e-mail (thread) as a "look, freebsd > sucks" thing. After all, I've already said that freebsd _is_ my > OS-of-choice for (at least) development chores. However, such a > performance lag is a show-stopper for me (especially with various > related deadlines approaching fast). I think we'd all like to know what causes the performance difference, especially in the light that others of us haven't experienced it. There may be something about your specific hardware configuration that FreeBSD handles less elegantly such that it's a general performance problem vs a Java one. Have you run any benchmarks on the system itself? Like something written in C or C++ using threads? This might have nothing to do with Java at all. Nick -- When you're a kid, they tell you it's all grow up, get a job, get married, get a house, have a kid, and that's it. No, the truth is the world is so much stranger than that. It's so much darker, and so much madder. And so much better. -- Elton, Doctor Who, "Love and Monsters" This message has been brought to you by Nick Johnson 2.1 and the number 6. http://healerNick.com/ http://morons.org/ http://spatula.net/