You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Jay Paulson <jp...@sedl.org> on 2005/10/14 15:25:43 UTC

[users@httpd] benchmarking - how to?

I want to benchmark a php program I wrote and I know Apache has a
benchmarking tool.  However, I've never used it and I don't know a thing
about benchmarking.  What are some general rules of thumb for doing a
benchmark?  How would I use the benchmarking tool in Apache to get real
world like results?  I'm sure I'm missing some questions but if anyone has
suggestions I would love to hear them as I have never done this before.

thanks for any help!


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] benchmarking - how to?

Posted by Joshua Kogut <jm...@gmail.com>.
Hey, thanks Chuck, I have been looking for something like this for a while,
*ab* isn't a very well doumented tool...

On 10/14/05, Chuck Amadi Systems Administrator <ch...@smtl.co.uk> wrote:
>
> Hi I have in the past run the ab utility.
>
> The blurb about ab benchmarking tool.
>
> For getting a benchmark, you can use a tool called *ab*, or Apache
> Bench. This is a tool that comes with the Apache server. If you have
> Apache 1.3 or later installed on Linux, *ab* is included. On Windows
> it's included with the Apache 2 release. Running *ab* is straightforward
> —just pass the uniform resource locator (URL) you want to test, like
> so:
>
> In browser address bar run:
>
> ab http://localhost/
>
> I hope this helps.
>
> Chuck
>
> On Fri, 2005-10-14 at 08:25 -0500, Jay Paulson wrote:
> > I want to benchmark a php program I wrote and I know Apache has a
> > benchmarking tool. However, I've never used it and I don't know a thing
> > about benchmarking. What are some general rules of thumb for doing a
> > benchmark? How would I use the benchmarking tool in Apache to get real
> > world like results? I'm sure I'm missing some questions but if anyone
> has
> > suggestions I would love to hear them as I have never done this before.
> >
> > thanks for any help!
> >
> >
> > ---------------------------------------------------------------------
> > The official User-To-User support forum of the Apache HTTP Server
> Project.
> > See <URL:http://httpd.apache.org/userslist.html> for more info.
> > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> > " from the digest: users-digest-unsubscribe@httpd.apache.org
> > For additional commands, e-mail: users-help@httpd.apache.org
> >
> >
> --
> Unix/ Linux Systems Administrator
> Chuck Amadi
> The Surgical Material Testing Laboratory (SMTL),
> Princess of Wales Hospital
> Coity Road
> Bridgend,
> United Kingdom, CF31 1RQ.
> Email chuck.smtl.co.uk <http://chuck.smtl.co.uk>
> Tel: +44 1656 752820
> Fax: +44 1656 752830
>
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>


--
|| jmkogut ||
email: jmkogut@gmail.com
|| Networking: Where all your problems are category 5. ||

Re: [users@httpd] benchmarking - how to?

Posted by Chuck Amadi Systems Administrator <ch...@smtl.co.uk>.
Hi I have in the past run the ab utility.

The blurb about ab benchmarking tool.

For getting a benchmark, you can use a tool called *ab*, or Apache
Bench. This is a tool that comes with the Apache server. If you have
Apache 1.3 or later installed on Linux, *ab* is included. On Windows
it's included with the Apache 2 release. Running *ab* is straightforward
—just pass the uniform resource locator (URL) you want to test, like
so: 

In browser address bar run:

ab http://localhost/ 

I hope this helps.

Chuck

On Fri, 2005-10-14 at 08:25 -0500, Jay Paulson wrote:
> I want to benchmark a php program I wrote and I know Apache has a
> benchmarking tool.  However, I've never used it and I don't know a thing
> about benchmarking.  What are some general rules of thumb for doing a
> benchmark?  How would I use the benchmarking tool in Apache to get real
> world like results?  I'm sure I'm missing some questions but if anyone has
> suggestions I would love to hear them as I have never done this before.
> 
> thanks for any help!
> 
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 
> 
-- 
Unix/ Linux Systems Administrator
Chuck Amadi
The Surgical Material Testing Laboratory (SMTL), 
Princess of Wales Hospital 
Coity Road 
Bridgend, 
United Kingdom, CF31 1RQ.
Email chuck.smtl.co.uk
Tel: +44 1656 752820 
Fax: +44 1656 752830



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org