Re: Problem Report: Question about FETCH_PROBABILITY behavior.
Status: Alpha
Brought to you by:
coroberti
From: David H. <dho...@is...> - 2009-01-28 22:18:02
|
Robert, I did a fresh compile of curl-loader v0.44 (aka stable) and got the following results in three consecutive runs: Test total duration was 82 seconds and CAPS average 2: H/F Req:404,1xx:0,2xx:404,3xx:0,4xx:0,5xx:0,Err:0,T- Err:0,D:1ms,D-2xx:1ms,Ti:1346B/s,To:620B/s H/F/S Req:0,1xx:0,2xx:0,3xx:0,4xx:0,5xx:0,Err:0,T- Err:0,D:0ms,D-2xx:0ms,Ti:0B/s,To:0B/s Operations: Success Failed Timed out URL0:local 0 178 0 0 0 0 URL1:ACE 4 226 0 0 0 0 Test total duration was 68 seconds and CAPS average 2: H/F Req:338,1xx:0,2xx:338,3xx:0,4xx:0,5xx:0,Err:0,T- Err:0,D:1ms,D-2xx:1ms,Ti:1359B/s,To:625B/s H/F/S Req:0,1xx:0,2xx:0,3xx:0,4xx:0,5xx:0,Err:0,T- Err:0,D:0ms,D-2xx:0ms,Ti:0B/s,To:0B/s Operations: Success Failed Timed out URL0:local 5 141 0 0 0 0 URL1:ACE 8 197 0 0 0 0 Test total duration was 72 seconds and CAPS average 2: H/F Req:355,1xx:0,2xx:355,3xx:0,4xx:0,5xx:0,Err:0,T- Err:0,D:1ms,D-2xx:1ms,Ti:1347B/s,To:620B/s H/F/S Req:0,1xx:0,2xx:0,3xx:0,4xx:0,5xx:0,Err:0,T- Err:0,D:0ms,D-2xx:0ms,Ti:0B/s,To:0B/s Operations: Success Failed Timed out URL0:local 0 165 0 0 0 0 URL1:ACE 1 190 0 0 0 0 These seem closer to the v0.47 results than the expected frequencies. Shall I test earlier versions? Thanks, //david On Wed, 2009-01-28 at 01:25 +0200, Robert Iakobashvili wrote: > Hi David, > > On Wed, Jan 28, 2009 at 1:05 AM, David Hotchkiss <dhotchkiss@iso- > ne.com> wrote: > Hi Robert, > > Thanks for your quick response. Per your suggestion, I > slightly > modified './conf-examples/fetch-probability.conf' as follows: > =-=-=-= > ########### GENERAL SECTION ################################ > > BATCH_NAME= fetch-prob > CLIENTS_NUM_MAX=5 > INTERFACE =eth0 > NETMASK=255.255.240.0 > IP_ADDR_MIN= 10.56.1.1 > IP_ADDR_MAX= 10.56.15.254 > > CYCLES_NUM= 100 > URLS_NUM= 2 > > ########### URL SECTION #################################### > > URL=http://localhost:8080/index.html > URL_SHORT_NAME="local" > REQUEST_TYPE=GET > TIMER_URL_COMPLETION = 0 > TIMER_AFTER_URL_SLEEP = 1000 > FETCH_PROBABILITY = 70 > > URL=http://localhost:8080/one.html > > URL_SHORT_NAME="ACE" > REQUEST_TYPE=GET > TIMER_URL_COMPLETION = 0 > TIMER_AFTER_URL_SLEEP = 1000 > FETCH_PROBABILITY = 30 > =-=-=-= > > With five clients and 100 cycles, I would expect that out of a > potential > 500 requests for each URL that the actual requests made during > a curl- > loader run would be something like this: > > URL:local ~350 total requests ( (5 clients * 100 cycles) * > 0.7) > URL:ACE ~150 total requests ( (5 clients * 100 cycles) * > 0.3) > > Here are the results from three different runs: > > 1) > Test total duration was 62 seconds and CAPS average 2: > H/F Req:309,1xx:0,2xx:309,3xx:0,4xx:0,5xx:0,Err:0,T- > Err:0,D:1ms,D-2xx:1ms,Ti:1362B/s,To:627B/s > H/F/S Req:0,1xx:0,2xx:0,3xx:0,4xx:0,5xx:0,Err:0,T- > Err:0,D:0ms,D-2xx:0ms,Ti:0B/s,To:0B/s > Operations: Success Failed Timed out > > URL0:local 6 132 0 0 0 0 > URL1:ACE 8 177 0 0 0 0 > > 2) > Test total duration was 69 seconds and CAPS average 1: > H/F Req:343,1xx:0,2xx:343,3xx:0,4xx:0,5xx:0,Err:0,T- > Err:0,D:1ms,D-2xx:1ms,Ti:1360B/s,To:625B/s > H/F/S Req:0,1xx:0,2xx:0,3xx:0,4xx:0,5xx:0,Err:0,T- > Err:0,D:0ms,D-2xx:0ms,Ti:0B/s,To:0B/s > Operations: Success Failed Timed out > > URL0:local 0 134 0 0 0 0 > URL1:ACE 3 209 0 0 0 0 > > 3) > Test total duration was 77 seconds and CAPS average 2: > H/F Req:382,1xx:0,2xx:382,3xx:0,4xx:0,5xx:0,Err:0,T- > Err:0,D:1ms,D-2xx:1ms,Ti:1356B/s,To:624B/s > H/F/S Req:0,1xx:0,2xx:0,3xx:0,4xx:0,5xx:0,Err:0,T- > Err:0,D:0ms,D-2xx:0ms,Ti:0B/s,To:0B/s > Operations: Success Failed Timed out > > URL0:local 5 168 0 0 0 0 > URL1:ACE 7 214 0 0 0 0 > > As you can see, the outcomes are significantly different from > what I > expected. > > Can you help shed some light on what is going on? Is the error > in my > expectations, the configuration, or curl-loader? > > Thanks, > > //david > > > Looks like something may be broken in this version of curl-loader. > Can you try some earlier varsion, e.g. curl-loader stable? > Thanks. > > -- > Truly, > Robert Iakobashvili, Ph.D. > ...................................................................... > Assistive technology that understands you > ...................................................................... > |