From owner-freebsd-java@FreeBSD.ORG Fri Nov 10 22:15:57 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 C687616A417 for ; Fri, 10 Nov 2006 22:15:57 +0000 (UTC) (envelope-from ntarmos@ceid.upatras.gr) Received: from poseidon.ceid.upatras.gr (poseidon.ceid.upatras.gr [150.140.141.169]) by mx1.FreeBSD.org (Postfix) with ESMTP id AFE0D43D5F for ; Fri, 10 Nov 2006 22:15:55 +0000 (GMT) (envelope-from ntarmos@ceid.upatras.gr) Received: from rhea.ceid.upatras.gr (rhea.ceid.upatras.gr [150.140.141.171]) by poseidon.ceid.upatras.gr (Postfix) with ESMTP id 990335C1B7D for ; Sat, 11 Nov 2006 00:15:55 +0200 (EET) Received: from localhost (localhost [127.0.0.1]) by rhea.ceid.upatras.gr (Postfix) with ESMTP id 9651D80003 for ; Sat, 11 Nov 2006 00:15:53 +0200 (EET) Received: from rhea.ceid.upatras.gr ([127.0.0.1]) by localhost (rhea [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 07939-10 for ; Sat, 11 Nov 2006 00:15:51 +0200 (EET) Received: from ace.b020.ceid.upatras.gr (unknown [150.140.143.234]) by rhea.ceid.upatras.gr (Postfix) with ESMTP id 9CAE980002 for ; Sat, 11 Nov 2006 00:15:51 +0200 (EET) Received: by ace.b020.ceid.upatras.gr (Postfix, from userid 1001) id 6BB4054; Sat, 11 Nov 2006 00:15:01 +0200 (EET) Date: Sat, 11 Nov 2006 00:15:01 +0200 From: Nikos Ntarmos To: freebsd-java@freebsd.org Message-ID: <20061110221501.GC72658@ace.b020.ceid.upatras.gr> Mail-Followup-To: freebsd-java@freebsd.org References: <20061110203714.GA89006@ace.b020.ceid.upatras.gr> <20061110124459.M88944@turing> <20061110213313.GA72658@ace.b020.ceid.upatras.gr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: NetCInS Lab., C.E.I.D., U. of Patras, Greece WWW-Homepage: http://ntarmos.dyndns.org/ X-PGP-Fingerprint: 9680 60A7 DE60 0298 B1F0 9B22 9BA2 7569 CF95 160A Office-Phone: +30-2610-996919 Office-Fax: +30-2610-969011 GPS-Info: 38.31N, 21.82E User-Agent: mutt-ng/devel-r804 (FreeBSD) X-Virus-Scanned: by amavisd-new at ceid.upatras.gr 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:15:57 -0000 Hi there. On Fri, Nov 10, 2006 at 10:52:47PM +0100, Arne H. Juul 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. \n\n