Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[tlug] Apache MPM performance



Hi all,

A cool feature of Sun T5220 server is that it has 8 cores, and supports up to 64 threads.
The brochure says so what I don't think I know how to get the most out of it! ( multithread! )

To benchmark Apache 1.3. 37 and Apache 2.2.8 MPM on T5220, I install both version
of Apache into T5220 ( from source ), enable Apache module on 2.2.8
( on 1.3.37, MPM is turned on by default ), then I run the ab from another host.
The commands looks like:

( Apache 1.3.37 runs on port 80 )
ab -k -c 1000 -t 30 http://t5220_ip/~vuhung/home/tmp/file.jpg

( Apache 2.2.8 runs on port 8011 )
ab -k -c 100 -t 30 http://t5220_ip:8011/real_09.jpg
( file.jpg is 400K in size )

Results:

Apache 1.3.37:
Time taken for tests:   30.048 seconds
Time per request:       3882.496 [ms] (mean)
Time per request:       3.882 [ms] (mean, across all concurrent requests)

Apache 2.2.8:
Time taken for tests:   30.083 seconds
Time per request:       490.518 [ms] (mean)
Time per request:       4.905 [ms] (mean, across all concurrent requests)

I expected that for Apache 2.2.8, at least the "time per request should have been reduced ).



--
Best Regards,
Nguyen Hung Vu ( Nguyễn Vũ Hưng )
vuhung16plus{remove}@example.com
An inquisitive look at Harajuku
http://www.flickr.com/photos/vuhung/sets/72157600109218238/
Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links