Re: Problem Report: Question about FETCH_PROBABILITY behavior.
Status: Alpha
Brought to you by:
coroberti
From: Robert I. <cor...@gm...> - 2009-01-25 17:18:02
|
Hi David, On Fri, Jan 23, 2009 at 8:24 PM, David Hotchkiss <dho...@is...>wrote: > CURL-LOADER VERSION: 0.47, December 2, 2008 > > > > ########### URL SECTION #################################### > > URL=http://localhost:8080/one.html > URL_SHORT_NAME="one" > REQUEST_TYPE=GET > TIMER_AFTER_URL_SLEEP=200 > > URL=http://localhost:8080/two.html > URL_SHORT_NAME="two" > REQUEST_TYPE=GET > TIMER_AFTER_URL_SLEEP=200 > > URL=http://localhost:8080/three.html > URL_SHORT_NAME="three" > REQUEST_TYPE=GET > TIMER_AFTER_URL_SLEEP=200 > > =-=-=-=-= Configuration without FETCH_PROBABILITY: END =-=-=-=-=-= > > =-=-=-=-= Configuration with FETCH_PROBABILITY: BEGIN =-=-=-=-=-= > > ########### GENERAL SECTION ################################ > BATCH_NAME= test > CLIENTS_NUM_MAX=1 > CLIENTS_NUM_START=1 > INTERFACE=eth0 > NETMASK=255.255.240.0 > IP_ADDR_MIN= 10.56.1.1 > IP_ADDR_MAX= 10.56.15.254 > CYCLES_NUM=10 > URLS_NUM=3 > > ########### URL SECTION #################################### > > URL=http://localhost:8080/one.html > URL_SHORT_NAME="one" > REQUEST_TYPE=GET > TIMER_AFTER_URL_SLEEP=200 > > URL=http://localhost:8080/two.html > URL_SHORT_NAME="two" > REQUEST_TYPE=GET > TIMER_AFTER_URL_SLEEP=200 > FETCH_PROBABILITY=10 > > URL=http://localhost:8080/three.html > URL_SHORT_NAME="three" > REQUEST_TYPE=GET > TIMER_AFTER_URL_SLEEP=200 > > > > QUESTION/ SUGGESTION/ PATCH: > Is the observed behavior the intended outcome? or should the expected > request frequencies be something like this: > > URL0: 10 requests > URL1: ~1 request(s) > URL2: 10 requests > > for the second configuration? > Thank you for the PRF form filled in due course. Your understanding of the intended behavior is correct. Our documentation does not describe the feature clear enough. What user is supposed to do is to specify several URLs each with FETCH_PROBABILITY, so that the sum of all the probabilities will be 100. For the outcome, that you are expecting, it might be something like: URL1: FETCH_PROBABILITY 45 URL2: FETCH_PROBABILITY 5 URL3: FETCH_PROBABILITY 45 I would measure them using more cycles, at least 100. You might see some usage examples in directory conf-examples -- Truly, Robert Iakobashvili, Ph.D. ...................................................................... www.ghotit.com Assistive technology that understands you ...................................................................... |