Performance of Java on FBSD vs. others...

Matthew Seaman m.seaman at infracaninophile.co.uk
Fri Nov 10 21:53:44 UTC 2006


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 250 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-java/attachments/20061110/eba70eaa/signature.pgp


More information about the freebsd-java mailing list