Welcome to WebmasterWorld Guest from 54.167.29.212

Forum Moderators: Ocean10000 & incrediBILL & phranque

Message Too Old, No Replies

understanding apache bench?

     

jamie

9:11 am on Oct 26, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



i have just been benchmarking some of my scripts and am not quite sure what is what. e.g.:

QUESTION 1:

ab -n 1000 -c 50 /mypage.php

what is the difference between the -n and the -c switch.

does it mean that each user is requesting 20 pages (1000 / 50)?
or that each user is requesting 1000 pages?

--
QUESTION 2:

these are the results for different parameters:

ab -n 1000 -c 50 /mypage.php = 70 requests p.s.

ab -n 10 -c 50 /mypage.php = 15 requests p.s.

why should the time be so much faster when more pages are being requested?

any help is really appreciated. many thanks!

jdMorgan

5:16 am on Oct 28, 2003 (gmt 0)

WebmasterWorld Senior Member jdmorgan is a WebmasterWorld Top Contributor of All Time 10+ Year Member



Anyone have any benchmark-interpretation experince to share with jamie here?
<bump>

Jim

 

Featured Threads

Hot Threads This Week

Hot Threads This Month