Re: Query random paths?
Status: Alpha
Brought to you by:
coroberti
From: Robert I. <cor...@gm...> - 2009-07-27 15:17:54
|
On Mon, Jul 27, 2009 at 2:13 PM, Jan Wielemaker <J.W...@cs...>wrote: > On Monday 27 July 2009 07:38:12 am Robert Iakobashvili wrote: > > Hi Jan, > > > > On Fri, Jul 24, 2009 at 4:25 PM, Jan Wielemaker > <J.W...@cs...>wrote: > > > Hi, > > > > > > Just trying my first steps into curl-loader :-) I looked through the > FAQ > > > and config files, but I couldn't find an answer on how to query a *lot* > > > of random paths using a pool of -lets say- 20 clients. > > > > > > I see we have FORM_RECORDS_RANDOM, which seems to do the trick for > > > form-data. I am trying to debug server crashes, where I know it is > > > related to concurrency, but otherwise I have little clue on whether or > > > not it is related to the actual query paths. > > > > > > Just to bash the server, I collected a list of 6,000 paths that have > > > been queried on the server recently and then I use the config below, > but > > > curl-loader only seems to use the first 20 paths of the file :-( > > > > > > Did I overlook something trivial? > > > > > > Cheers --- Jan > > > > > > ================================================================ > > > BATCH_NAME= bulk > > > CLIENTS_NUM_MAX=20 > > > CLIENTS_NUM_START=20 > > > CLIENTS_RAMPUP_INC=0 > > > INTERFACE=eth0 > > > NETMASK=16 > > > IP_ADDR_MIN= 192.168.1.1 > > > IP_ADDR_MAX= 192.168.1.200 > > > IP_SHARED_NUM=200 > > > CYCLES_NUM= -1 > > > URLS_NUM= 1 > > > > > > URL_TEMPLATE=http://localhost:3040%s > > > URL_TOKEN_FILE=paths > > > URL_SHORT_NAME="local-server" > > > REQUEST_TYPE=GET > > > TIMER_URL_COMPLETION = 5000 > > > TIMER_AFTER_URL_SLEEP = 0 > > > ================================================================ > > > > It is a rather recent feature developed by Gary and it will be great if > > Gary will comment. > > > I must admit that I still don't really get the meaning of the CIENTS_* > settings. Is the number of clients expressed by this formula (t is > time in seconds). > > max(CLIENTS_NUM_MAX, CLIENTS_NUM_START+t*CLIENTS_RAMPUP_INC) > current clients num = CLIENTS_NUM_START+t*CLIENTS_RAMPUP_INC till it comes the the CLIENTS_NUM_MAX -- Truly, Robert Iakobashvili, Ph.D. ...................................................................... www.ghotit.com Assistive technology that understands you ...................................................................... |