Re: [PHP] performance/load testing ...

2008-01-22 Thread Richard Lynch
apache benchmark, aka ab comes with apache and lets you hit your
server as many times as you want.

Also see wget and valgrind/callgrind

For Windows users, there's something called SuperSmack or some equally
silly name... :-)

On Mon, January 21, 2008 3:50 am, Jochem Maas wrote:
 hi guys,

 I need to do some performance testing for a site of mine.
 I want to compare performance of various combinations
 of using APC, Squid, Apache/LightHTTPD mod_php/fastcgi.

 all very well I can build the various setups but I'm stuck as
 to how to go about recreating realistic load on the machine in
 question.

 I don't want to have to go out and buy some commercial software.

 STFW is making my head spin.

 Does anyone have any tips, urls, advice as to how to start
 going about creating something like a 'test suite' for testing
 high load performance of a website?

 TIA

 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php




-- 
Some people have a gift link here.
Know what I want?
I want you to buy a CD from some indie artist.
http://cdbaby.com/from/lynch
Yeah, I get a buck. So?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] performance/load testing ...

2008-01-21 Thread Jochem Maas

hi guys,

I need to do some performance testing for a site of mine.
I want to compare performance of various combinations
of using APC, Squid, Apache/LightHTTPD mod_php/fastcgi.

all very well I can build the various setups but I'm stuck as
to how to go about recreating realistic load on the machine in
question.

I don't want to have to go out and buy some commercial software.

STFW is making my head spin.

Does anyone have any tips, urls, advice as to how to start
going about creating something like a 'test suite' for testing
high load performance of a website?

TIA

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] performance/load testing ...

2008-01-21 Thread Jochem Maas

Ron Rademaker schreef:

Hi Jochem,

Apache comes with an nice ab tool which stands for apache benchmarking. 
You can use this to benchmark stuff like concurrent requests.


indeed, I know ab, but it doesn't allow for a very realistic request 'spread'
- at least as far as I know.

I was hoping for a bit more detailed info on mimicking real-world site usage,
e.g. maybe using access logs as a source of url data?



Ron

Jochem Maas wrote:

hi guys,

I need to do some performance testing for a site of mine.
I want to compare performance of various combinations
of using APC, Squid, Apache/LightHTTPD mod_php/fastcgi.

all very well I can build the various setups but I'm stuck as
to how to go about recreating realistic load on the machine in
question.

I don't want to have to go out and buy some commercial software.

STFW is making my head spin.

Does anyone have any tips, urls, advice as to how to start
going about creating something like a 'test suite' for testing
high load performance of a website?

TIA





--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] performance/load testing ...

2008-01-21 Thread Paul Scott

On Mon, 2008-01-21 at 10:50 +0100, Jochem Maas wrote:
 Does anyone have any tips, urls, advice as to how to start
 going about creating something like a 'test suite' for testing
 high load performance of a website?
 

I went through a similar headache recently, and looked at a whole whack
of testing suites that are available. You can take a look at
http://www.opensourcetesting.org/performance.php first, but I ended up
using Apache JMeter most. It really is quite configurable and usable and
gives you a lot of information.

--Paul
-- 
.
| Chisimba PHP5 Framework - http://avoir.uwc.ac.za   |
::

All Email originating from UWC is covered by disclaimer 
http://www.uwc.ac.za/portal/public/portal_services/disclaimer.htm 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] performance/load testing ...

2008-01-21 Thread Ron Rademaker

Jochem Maas wrote:

Ron Rademaker schreef:

Hi Jochem,

Apache comes with an nice ab tool which stands for apache 
benchmarking. You can use this to benchmark stuff like concurrent 
requests.


indeed, I know ab, but it doesn't allow for a very realistic request 
'spread'

- at least as far as I know.
Indeed it doesn't, but you appear to want to figure out what 
optimization works best. You don't need realistic spread for that, even 
more I think you shouldn't want realistic spread for that but something 
comparable instead. If anything, the result of ab are very useful for 
comparing results.


I was hoping for a bit more detailed info on mimicking real-world site 
usage,

e.g. maybe using access logs as a source of url data?



Ron

Jochem Maas wrote:

hi guys,

I need to do some performance testing for a site of mine.
I want to compare performance of various combinations
of using APC, Squid, Apache/LightHTTPD mod_php/fastcgi.

all very well I can build the various setups but I'm stuck as
to how to go about recreating realistic load on the machine in
question.

I don't want to have to go out and buy some commercial software.

STFW is making my head spin.

Does anyone have any tips, urls, advice as to how to start
going about creating something like a 'test suite' for testing
high load performance of a website?

TIA








--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] performance/load testing ...

2008-01-21 Thread Jochem Maas

Ron Rademaker schreef:

Jochem Maas wrote:

Ron Rademaker schreef:

Hi Jochem,

Apache comes with an nice ab tool which stands for apache 
benchmarking. You can use this to benchmark stuff like concurrent 
requests.


indeed, I know ab, but it doesn't allow for a very realistic request 
'spread'

- at least as far as I know.
Indeed it doesn't, but you appear to want to figure out what 
optimization works best. You don't need realistic spread for that, even 
more I think you shouldn't want realistic spread for that but something 
comparable instead. If anything, the result of ab are very useful for 
comparing results.


hmm, you have a point - I guess I'll get stuck in.



I was hoping for a bit more detailed info on mimicking real-world site 
usage,

e.g. maybe using access logs as a source of url data?



Ron

Jochem Maas wrote:

hi guys,

I need to do some performance testing for a site of mine.
I want to compare performance of various combinations
of using APC, Squid, Apache/LightHTTPD mod_php/fastcgi.

all very well I can build the various setups but I'm stuck as
to how to go about recreating realistic load on the machine in
question.

I don't want to have to go out and buy some commercial software.

STFW is making my head spin.

Does anyone have any tips, urls, advice as to how to start
going about creating something like a 'test suite' for testing
high load performance of a website?

TIA










--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] performance/load testing ...

2008-01-21 Thread Eric Butera
On Jan 21, 2008 5:50 AM, Jochem Maas [EMAIL PROTECTED] wrote:
 Ron Rademaker schreef:
  Jochem Maas wrote:
  Ron Rademaker schreef:
  Hi Jochem,
 
  Apache comes with an nice ab tool which stands for apache
  benchmarking. You can use this to benchmark stuff like concurrent
  requests.
 
  indeed, I know ab, but it doesn't allow for a very realistic request
  'spread'
  - at least as far as I know.
  Indeed it doesn't, but you appear to want to figure out what
  optimization works best. You don't need realistic spread for that, even
  more I think you shouldn't want realistic spread for that but something
  comparable instead. If anything, the result of ab are very useful for
  comparing results.

 hmm, you have a point - I guess I'll get stuck in.


 
  I was hoping for a bit more detailed info on mimicking real-world site
  usage,
  e.g. maybe using access logs as a source of url data?
 
 
  Ron
 
  Jochem Maas wrote:
  hi guys,
 
  I need to do some performance testing for a site of mine.
  I want to compare performance of various combinations
  of using APC, Squid, Apache/LightHTTPD mod_php/fastcgi.
 
  all very well I can build the various setups but I'm stuck as
  to how to go about recreating realistic load on the machine in
  question.
 
  I don't want to have to go out and buy some commercial software.
 
  STFW is making my head spin.
 
  Does anyone have any tips, urls, advice as to how to start
  going about creating something like a 'test suite' for testing
  high load performance of a website?
 
  TIA
 
 
 
 
 

 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php



Maybe look at http://www.acme.com/software/http_load/

You can configure a big text file of urls for it to hit randomly and such.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php