Hi all.

Here are the results of some measurements made with ab on Tomcat
versions 3.2.1, 3.3.m1 and 4.0.b1 with different JDKs.

System characteristics:
- Pentium III, 450 MHz / 128 MB RAM.
- Redhat Linux 6.2
- hdparm -T gives 170 MB/s

Software versions:
- 3.2.1
- 3.3 milestone 1
- 4.0 beta 1
- Apache 1.3.14 ( -DEAPI )
- mod_jk.so (EAPI) from 3.3.m1

JDKs (all fresh dowloads from 17 feb 2001):
- IBM SDK 1.3
- Sun SDK 1.3
- Blackdown FCS 1.3

Conditions:
- ab is running on the same system
- the test consists of 4 sets of 10000 requests at each condition
- Concurrency levels are 1, 10 and 100
- test targets are a servlet (examples/Hello.class from TC3.3.m1) and a
file containing only the string "<html></html>".
- both, standalone and with apache have been tested.
- TC 3.2.1 and 3.3.m1 where used out of the box. TC 4.0.b1 was set up
without file logging (SystemOutLogger), without AccessLogValve and with
maxProcessors set to 120.

This table summarizes the results. The values shown are requests per
second for the last set of 10000 requests at c=10. The first value of
each x/y set is for the static target (test.html). Apache was only
tested with the JDK from IBM.

Tomcat version    (IBM-JDK  | Sun-JDK  | Blackdown-JDK )
3.2.1 standalone  (668/994  | 491/783  | 463/749)
3.3.m1 standalone (759/1294 | 556/1158 | 544/1107)
4.0.b1 standalone (400/841  | 215/719  | 207/701)
3.2.1 Ajp12       (940/407)
3.3.m1 Ajp12      (960/421)
3.3.m1 Ajp13      (952/488)

The static part of the last 3 rows shows the response of Apache, not
Tomcat, about 950 req/sec.

The attached zip file contains the test script and the result files.
Some notes on the results:

- Tomcat 4.0.b1 shows long maximum times at c=100: 21 seconds.
- For c=1, TC 3.3.b1 gives 50 req/sec with Ajp13 and 196 to 344 req/sec
with Ajp12 (Hello servlet).
- No errors where reported by ab.

Suggestions for improving the tests are welcome.

Kind regards.
Rolf.

ab-tests.zip

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

Reply via email to