From owner-freebsd-java@FreeBSD.ORG Fri Nov 10 21:53:44 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 7823316A47B for ; Fri, 10 Nov 2006 21:53:44 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (ns0.infracaninophile.co.uk [81.187.76.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3A3FF43D53 for ; Fri, 10 Nov 2006 21:53:42 +0000 (GMT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from [IPv6:::1] (localhost [IPv6:::1]) by smtp.infracaninophile.co.uk (8.13.8/8.13.8) with ESMTP id kAALrGJa029881 for ; Fri, 10 Nov 2006 21:53:17 GMT (envelope-from m.seaman@infracaninophile.co.uk) Authentication-Results: smtp.infracaninophile.co.uk from=m.seaman@infracaninophile.co.uk; sender-id=softfail; spf=softfail X-SenderID: Sendmail Sender-ID Filter v0.2.14 smtp.infracaninophile.co.uk kAALrGJa029881 Message-ID: <4554F4C6.3090802@infracaninophile.co.uk> Date: Fri, 10 Nov 2006 21:53:10 +0000 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 1.5.0.8 (X11/20061110) MIME-Version: 1.0 To: freebsd-java@freebsd.org References: <20061110203714.GA89006@ace.b020.ceid.upatras.gr> <20061110124459.M88944@turing> <20061110213313.GA72658@ace.b020.ceid.upatras.gr> In-Reply-To: <20061110213313.GA72658@ace.b020.ceid.upatras.gr> X-Enigmail-Version: 0.94.0.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig1A004A43291D54FA66B7B6B5" X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (smtp.infracaninophile.co.uk [IPv6:::1]); Fri, 10 Nov 2006 21:53:37 +0000 (GMT) X-Virus-Scanned: ClamAV 0.88.6/2185/Fri Nov 10 11:04:49 2006 on happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, DKIM_POLICY_TESTING, NO_RELAYS autolearn=ham version=3.1.7 X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on happy-idiot-talk.infracaninophile.co.uk 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 21:53:44 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig1A004A43291D54FA66B7B6B5 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable Nikos Ntarmos wrote: > On Fri, Nov 10, 2006 at 12:54:25PM -0800, Nick Johnson wrote: =20 >> I can't think of any other reason there'd be such a difference between= >> OSes. Maybe someone else has some ideas. >=20 > I was thinking something along the lines of "there are bits and pieces > of jre/jdk implemented in native code and fbsd doesn't have'em yet", or= > (hopefully) "you have to sysctl-turn a.b.c on"... >=20 > I'm really interested in hunting this down, since I'm going to spend a > considerable part of the next few weeks running even larger versions of= > the program in question, and switching back and forth between freebsd > (OS-of-choice for coding) and win32 (apparently the fastest of the > three in executing the code) is a major pain (and loss of time). Is this the same issue with syscalls as affects MySQL? As in unconstrained calling of gettimeofday() or similar because such=20 "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. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW --------------enig1A004A43291D54FA66B7B6B5 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFVPTM8Mjk52CukIwRCMSNAJ4hrlKUnMOH9R4Dt3Q8TwMV8BZtmwCeISME AtaVnTYiz+BphnESpI5DKJM= =jDB/ -----END PGP SIGNATURE----- --------------enig1A004A43291D54FA66B7B6B5--