Re: Curlloader queries
Status: Alpha
Brought to you by:
coroberti
From: Robert I. <cor...@gm...> - 2008-10-28 16:49:54
|
Hi Sridhar, On Tue, Oct 28, 2008 at 9:32 AM, Sridhar Gundubogula < sri...@re...> wrote: > Hi All, > > When i was doing some research on open source projects that could replace > Ixload to generate and simulate HTTP traffic on the client machine to > connect to Apache webserver and report the results > I would recommend ngnix web-server as much more powerful. > I found curl-loader an interesting tool to start and explore to > replicate my test scenario what i was trying to do on Ixiaload. Im > interested in using this tool so I played around config file to generate > Http traffic to test number of connections to fetch couple of urls from > Webserver which resulted me in posing few questions in mind towards its > operation with my conf file below: > > ########### GENERAL SECTION ################################ > > BATCH_NAME= http > > CLIENTS_NUM_MAX=1000 # Same as CLIENTS_NUM > > #CLIENTS_NUM_START=1 > > #CLIENTS_RAMPUP_INC=1 > > INTERFACE=eth2a > > NETMASK=24 > > IP_ADDR_MIN= 10.10.1.101 > > IP_ADDR_MAX= 10.10.1.101 #Actually - this is for self-control > > CYCLES_NUM=1 > > URLS_NUM=1 > > ########### URL SECTION #################################### > > URL=http://192.168.10.x/4k.html > > #URL=http://192.168.10.y/index1.html > > #URL=https://localhost/apache2-default/ACE-INSTALL.html > > #URL=https://localhost/ACE-INSTALL.html > > URL_SHORT_NAME="url-http" > > REQUEST_TYPE=GET > > TIMER_URL_COMPLETION =0 # In msec. When positive, Now it is enforced by > cancelli > > ng url fetch on timeout > > 1. Can I make 1000 connections/sec with one client ? > > So am I following the right way inorder to achieve what im trying to > accomplish as defined with question 1. > One client means a one HTTP client with all TCP amd HTTP communication, server delay, server application logic, etc. Normally one HTTP client depending on your server and server application logic can make 10-20 cycles per second. For your purpose you'll need 100-200 clients. > 2. what are the factors or criteria that lets curl-loader knows when to > stop the test.? > > The reason I asked above question is trying to uderstand whether > curl-loader could successfully establish 1000 connections in a second if not > how to varies it connection rate? > It makes either CYCLES_NUM number of cycles, if that a positive value, or when negative it runs till you stop it by Control-C > What is the role of interval option -i in determining the connection > rate. > > 3. when i look at the results what does Success really indicates from left > and right column? > > For example, what does 151 1000 means under the Sucess column in results > file. > > > > I appreciate answers for the above questions that will help me in making > progress towards using this tool and making enhancements that fits to my > test requirements. Please let me know if any additional details are > required that would help me in assisting. > > > The questions are appearing in FAQS, therefore, please, read them at e.g.: http://curl-loader.sourceforge.net/doc/faq.html Take care, Robert |