Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Mar 2000 09:04:48 -0700 (MST)
From:      Nate Williams <nate@yogotech.com>
To:        Andrzej Bialecki <abial@webgiro.com>
Cc:        Craig Shaver <craig@ProGroup.COM>, FreeBSD ISP List <freebsd-isp@FreeBSD.ORG>
Subject:   Re: Java and FreeBSD
Message-ID:  <200003161604.JAA14236@nomad.yogotech.com>
In-Reply-To: <Pine.BSF.4.20.0003160945180.47286-100000@mx.webgiro.com>
References:  <38D098F6.D6BB4934@progroup.com> <Pine.BSF.4.20.0003160945180.47286-100000@mx.webgiro.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> > You can get the Apache stuff from apache.org to run java servlets and
> > jsp.  I am not sure if they have any links to the FreeBSD JVM, but you
> > should be able to get that off of freebsd.org.  From the benchmarks I
> > have seen it is the slowest platform to run this stuff on.  I think it
> > is due to the way threads are implemented and because there is no JIT
> > compiler.  Everything is done in bytecodes.
> > 
> > It does work.  Linux and Slowaris are better for this type of server
> > side java work.
> 
> As much as I love FreeBSD, I hate to say that performance of JDK1.1.8 on
> FreeBSD is horrible. It's perfectly ok to use it for development, and
> running lightly-loaded applications, but if you have to run heavy stuff on
> it, today I'd recommend against. :((
> 
> If I understand it correctly, this has a lot to do with two issues:
> 
> * it's not JDK1.2, which is working much faster. You can try it out with
> Blackdown JDK1.2 which is running on FreeBSD as well.

The reason for this is because the Blackdown team was given access to
the latest SUN JIT.  It has very little to do with JDK1.2 and everything
to do with using a well designed JIT.

> * well-designed kernel threads can provide much better performance for I/O
> bound applications. The solution to this is on the way, but not yet
> there...

Again, this has little to do with it, and the biggest reason is because
of the JIT.  For a much better performing JDK 1.1.8, try using one of
the JIT's in the ports area, either TYA or ShuJIT.  I've had good look
with the former...


Nate


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message




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