From owner-freebsd-java@FreeBSD.ORG Sat Nov 11 04:46:47 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 7E6BD16A403 for ; Sat, 11 Nov 2006 04:46:47 +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 E5D4243D45 for ; Sat, 11 Nov 2006 04:46:46 +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 DB9F25C1B0F for ; Sat, 11 Nov 2006 06:46:46 +0200 (EET) Received: from localhost (localhost [127.0.0.1]) by rhea.ceid.upatras.gr (Postfix) with ESMTP id DD18080002 for ; Sat, 11 Nov 2006 06:46:44 +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 03567-06 for ; Sat, 11 Nov 2006 06:46:37 +0200 (EET) Received: from ace.b020.ceid.upatras.gr (unknown [150.140.143.234]) by rhea.ceid.upatras.gr (Postfix) with ESMTP id 3E72680001 for ; Sat, 11 Nov 2006 06:46:37 +0200 (EET) Received: by ace.b020.ceid.upatras.gr (Postfix, from userid 1001) id D516654; Sat, 11 Nov 2006 05:57:58 +0200 (EET) Date: Sat, 11 Nov 2006 05:57:58 +0200 From: Nikos Ntarmos To: freebsd-java@freebsd.org Message-ID: <20061111035758.GA88440@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> <20061110221501.GC72658@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: Sat, 11 Nov 2006 04:46:47 -0000 Hi again. On Fri, Nov 10, 2006 at 11:49:33PM +0100, Arne H. Juul wrote: > 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. Of course. No trade secret there... :) Grab [1]. It's an implementation of [2] over [3]. Example command line arguments: java -classpath :classes \ netcins.p2p.dhs.testing.DHSSingleMetricTest \ 1000 100000 64 32 10 where 1000 is the number of nodes in the simulated system, 100000 the number of items to be added, and the other numbers are parameters of the simulated application. It should take a while to do the whole hog, but don't wait for it to finish. After all nodes are online, it prints out the time it took it to generate them all. If it takes more than 200-220'' (win32 and linux times respectively), we're done. On my 1.7GHz Pentium-M it's more like 800''... BTW the given application has two modes of simulated execution: plain event-driven simulation and simulation with network i/o over virtual nodes... Well, the latter easily crashes my freebsd box any time i run it for more than 2000 nodes, no matter how heavily i tweak my kernel conf, boot.conf, sysctl.conf, et al. \n\n [1] http://ntarmos.dyndns.org/Misc/DHS-FreePastry-2.0b2.tgz [2] N. Ntarmos, P. Triantafillou, and G. Weikum. "Counting at large: Efficient cardinality estimation in Internet-scale data networks." In Proc. ICDE '06. [3] http://freepastry.org/