Mailing List Archive


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

Re: [tlug] Apache MPM performance



On 2008-03-11 21:57 +0900 (Tue), Dimitar Dimitrov wrote:

> In your case, as you are using ab, which is a single-threaded
> benchmark you are not testing any of the advantages of the MDM module
> or the machine you bought.

Nguyen, you're using ab? There's your problem right there; It sends a
single request, waits for a response, and loops. It's fine for showing
the minimum speed of your web server, but not useful for determining a
reasonable maximum, or seeing if your server will fall down under load.

What you want is httperf, which will send a fixed number of requests per
second and tell you how many actually get a response and give you some
stats on response times. Basically, you just keep running it with a higher
and higher number of requests per second until your web server collapses
and dies, and then you have a better idea of what load you can handle.

You probably want it running on a separate machine from the web server
for serious benchmarking. However, it's fortunately single-threaded
(event-driven), so while it will eat up all the CPU it can, it won't use
more than one core, so on a multi-core machine it ought still to be a
reasonable benchmark.

cjs
-- 
Curt Sampson       <cjs@example.com>        +81 90 7737 2974   
Mobile sites and software consulting: http://www.starling-software.com


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links