Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Nov 2006 21:53:10 +0000
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        freebsd-java@freebsd.org
Subject:   Re: Performance of Java on FBSD vs. others...
Message-ID:  <4554F4C6.3090802@infracaninophile.co.uk>
In-Reply-To: <20061110213313.GA72658@ace.b020.ceid.upatras.gr>
References:  <20061110203714.GA89006@ace.b020.ceid.upatras.gr>	<20061110124459.M88944@turing> <20061110213313.GA72658@ace.b020.ceid.upatras.gr>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
Nikos Ntarmos wrote:
> On Fri, Nov 10, 2006 at 12:54:25PM -0800, Nick Johnson wrote:
 
>> I can't think of any other reason there'd be such a difference between
>> OSes.  Maybe someone else has some ideas.
> 
> 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"...
> 
> 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 
"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

-- 
Dr Matthew J Seaman MA, D.Phil.                       7 Priory Courtyard
                                                      Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey         Ramsgate
                                                      Kent, CT11 9PW


[-- Attachment #2 --]
-----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-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4554F4C6.3090802>