tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Lin <>
Subject Re: Sun JVM vs. JRockit
Date Fri, 06 Jun 2003 02:05:48 GMT
from the benchmarks I ran, JRockit is faster than Sun VM on windows. On linux it wasn't stable
thought you might find that info interesting.
peter lin

Victor Popiol <> wrote:
Info for those interested in benchmarking Tomcat + JVM.

Original configuration:
Windows 2000.
256 MB Ram
JVM: 1.3.1
Tomcat 4.0.4 with Jasper2
Application is struts based (1.0.2)

This server was upgraded to Tomcat 4.1.24 and JDK 1.4.1

After having set up everything, I realized that the performance had drop

For example, a request to the same page (20 threads) before the upgrade
was producing 6.5 pages/sec. After the upgrade to Tomcat 4.1.24 and JDK
1.4.1 the performance was 4.3 pages/sec.

Since I was't sure what was producing this performance degradation, I
started to experiment with JDBC, Connectors, etc, but no change. Only
when I degraded the JVM to 1.3.1, the performance went up to 8

Since our next release of the application uses features from JDK 1.4.1,
I could not stay in JDK 1.3.1.

So I decided to try BEA's JRockit 8.1 which complies with Sun's JDK
1.4.1. The performance improved greatly to 14 pages/sec.

The problem now was that I could not run Tomcat as an NT service using
JRockit. The service would start, but after a few seconds, it would die
abruptly. No errors reported.

I saw one posting in this list with the same problem, but no solution.

So I decided to install the Java Service Wrapper

After setting it up, I was able to run Tomcat with JRockit as an NT

So far it looks really promising. We will conduct some more testing
during the rest of the week and hopefully install this configuration in
our production servers next week.


To unsubscribe, e-mail:
For additional commands, e-mail:

Do you Yahoo!?
Free online calendar with sync to Outlook(TM).
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message