From owner-freebsd-java@FreeBSD.ORG Fri Nov 10 22:34:35 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 E13E616A4E7 for ; Fri, 10 Nov 2006 22:34:35 +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 DDB0743D5F for ; Fri, 10 Nov 2006 22:33:33 +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 6536D5C13E3 for ; Sat, 11 Nov 2006 00:33:30 +0200 (EET) Received: from localhost (localhost [127.0.0.1]) by rhea.ceid.upatras.gr (Postfix) with ESMTP id 60C0E80002 for ; Sat, 11 Nov 2006 00:33:28 +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 10135-07 for ; Sat, 11 Nov 2006 00:33:26 +0200 (EET) Received: from ace.b020.ceid.upatras.gr (unknown [150.140.143.234]) by rhea.ceid.upatras.gr (Postfix) with ESMTP id C8D4980001 for ; Sat, 11 Nov 2006 00:33:26 +0200 (EET) Received: by ace.b020.ceid.upatras.gr (Postfix, from userid 1001) id 001E954; Sat, 11 Nov 2006 00:32:36 +0200 (EET) Date: Sat, 11 Nov 2006 00:32:36 +0200 From: Nikos Ntarmos To: freebsd-java@freebsd.org Message-ID: <20061110223236.GD72658@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> <4554F4C6.3090802@infracaninophile.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4554F4C6.3090802@infracaninophile.co.uk> 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:34:36 -0000 Hi Matthew. On Fri, Nov 10, 2006 at 09:53:10PM +0000, Matthew Seaman wrote: > Is this the same issue with syscalls as affects MySQL? As in > unconstrained calling of gettimeofday() or similar because such > "syscalls are free"? Which is pretty much true in Linux, at the > cost of not returning the time particularly accurately. > > Look at http://wikitest.freebsd.org/MySQL -- especially the point > about "frequent queries of the system time". Try tweaking the > 'kern.timecounter.choice' sysctl and see if that makes much > difference. That was my first thought too. I've tried with ACPI-fast, TSC, and i8254 and saw no noticeable difference (btw k.t.hardware is the one to be set to whatever value and k.t.choice the one to be queried for available time counters)... \n\n