From owner-freebsd-java@FreeBSD.ORG Fri Nov 10 22:50:23 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 D43AF16A521 for ; Fri, 10 Nov 2006 22:50:23 +0000 (UTC) (envelope-from arnej@pvv.ntnu.no) Received: from decibel.pvv.ntnu.no (decibel.pvv.ntnu.no [129.241.210.179]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0535B43D72 for ; Fri, 10 Nov 2006 22:49:53 +0000 (GMT) (envelope-from arnej@pvv.ntnu.no) Received: from arnej by decibel.pvv.ntnu.no with local (Exim 4.60) (envelope-from ) id 1GifBl-0001UV-7B; Fri, 10 Nov 2006 23:49:33 +0100 Date: Fri, 10 Nov 2006 23:49:33 +0100 (CET) From: "Arne H. Juul" To: Nikos Ntarmos In-Reply-To: <20061110221501.GC72658@ace.b020.ceid.upatras.gr> Message-ID: References: <20061110203714.GA89006@ace.b020.ceid.upatras.gr> <20061110124459.M88944@turing> <20061110213313.GA72658@ace.b020.ceid.upatras.gr> <20061110221501.GC72658@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: Fri, 10 Nov 2006 22:50:24 -0000 On Sat, 11 Nov 2006, Nikos Ntarmos wrote: >>> I was using -Xms256m -Xmx1024m. Tried with -Xms1024m -Xmx1024m, again >>> without any noticeable difference. >> >> What's "top" look like after running this for a minute or two? You >> said you had 1G = 1024MB of RAM; trying to have a heap of 1024m you >> may be swapping like crazy, if so try with 600m to 800m. > > Nope, it's not swap that's killing it... The program i'm running is a > p2p network simulation; first, it generates a number of nodes, then it > populates the resulting overlay with data, then it queries it. During > the node generation part, memory requirements are in the vicinity of > 200-300 MBytes, then they go up as data items get added. However, the > difference in performance shows up even in this first stage: ~1000'' for > FreeBSD, ~210'' for win32, ~220 for linux. is it possible to post the program for others to test? (if there's no trade secrets or similar in it) I'd like to run it; I've been compiling my own version of the Java VM with various tweaks on FreeBSD 4 and this sounds like a better test than the programs I've been using so far. - Arne H. J.