HotSpot vs. Jikes + performance tuning

2004-07-26 Thread Michael Mehrle
I'm starting to run Tomcat 5.0.27 on a production server box. The question I
have is as to which JVM to run it under. Last time I checked (a year ago)
jikes was a lot faster, but then again things are in constant flux. Also, my
production server (RedHat 9.0 on a Celeron 2.6GHz and 512MB of RAM) could
not be set up with the latest version of Apache (don't ask - it's my hosting
company) and so I'm serving static content under Tomcat as well. I expect
there to be a lot of traffic on this site and maximizing resources is a
MUST.

ANY input would be appreciated.

Michael


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: HotSpot vs. Jikes + performance tuning

2004-07-26 Thread Shapira, Yoav
Hi,
I also haven't compared Jikes and javac in a while, but my impression is
that JDK 1.4.2 made things very close to equal and even made javac
faster sometimes.

Yoav Shapira
Millennium Research Informatics


>-Original Message-
>From: Michael Mehrle [mailto:[EMAIL PROTECTED]
>Sent: Monday, July 26, 2004 2:33 PM
>To: Tomcat Users List
>Subject: HotSpot vs. Jikes + performance tuning
>
>I'm starting to run Tomcat 5.0.27 on a production server box. The
question
>I
>have is as to which JVM to run it under. Last time I checked (a year
ago)
>jikes was a lot faster, but then again things are in constant flux.
Also,
>my
>production server (RedHat 9.0 on a Celeron 2.6GHz and 512MB of RAM)
could
>not be set up with the latest version of Apache (don't ask - it's my
>hosting
>company) and so I'm serving static content under Tomcat as well. I
expect
>there to be a lot of traffic on this site and maximizing resources is a
>MUST.
>
>ANY input would be appreciated.
>
>Michael
>
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: HotSpot vs. Jikes + performance tuning

2004-07-26 Thread QM
On Mon, Jul 26, 2004 at 11:33:25AM -0700, Michael Mehrle wrote:
:I'm starting to run Tomcat 5.0.27 on a production server box. The
:question I have is as to which JVM to run it under.
:[snip]
:content under Tomcat as well. I expect there to be a lot of traffic on
:this site and maximizing resources is a MUST.
:
: ANY input would be appreciated.

Well, since you asked:

0/ test, test, test: that is, test load and functionality under various
JVMs.  See which one performs best, per your requirements.

1/ Tune, tune, tune: there's much more to performance than just the
JDK.  You'll also have to take heap, GC, etc into consideration.

2/ install this same JVM + configuration in production.

Ideally, you'd have similar hardware in both your test and production
environments, such that any tuning you do could be applied to both.

Given what I see on the list, I get the impression most of the people
here (or at least, most of the posters ;) use Sun's JVM.  -but YYMV, and
thus, you'd do yourself a favor to test it for yourself.

-QM

-- 

software  -- http://www.brandxdev.net
tech news -- http://www.RoarNetworX.com


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]