Candela Technologies Logo
Loading
http://www.candelatech.com
sales@candelatech.com
+1 360 380 1618 [PST, GMT -8]
Network Testing and Emulation Solutions

4. Generating Traffic to a Web Server

Goal: Setup and run traffic to a Web Server. Return to LANforge-FIRE Cookbook

In this test scenario, LANforge-FIRE is used to generate traffic in the form of URL requests in order to determine the maximum number of URLs/second the Web Server can process.

Please note that the Web Server used in this example is an isolated Linux system running Apache.

  1. Connect one LANforge-FIRE port to the Web Server's network.
  2. Setup the LANforge Port so that it has a valid IP address.

    A: Go to the Port Manager
    B: Modify the port connected to the Web Server. Set a valid network IP address and Gateway IP.
    C: Verify the port configuration

  3. Setup the URL requests.

    A: Go to the Layer-4 tab
    B: Create a Layer-4 Endpoint:

    • Enter a name and select the port configured in the previous step

    • URLs per 10m should be set to around 1,200,000 which is 2,000 URLs/second

    • Leave the SSL Cert alone as we are not using it in this example

    • UL/DL should be set to Download

    • URL should be set to the Web Server's IP address and file that you wish to download. In this example, index.php is a small test file.

    • File is the designated location that the downloaded file will be stored. In this example, we use /dev/null which will essentially throw the file away so that it does not slow down the LANforge system with writing files.

    • Select the 'Allow-Reuse' checkbox to maximize the number of URL requests LANforge can make per connection

    C: Repeat the above step to make 10 Layer-4 Endpoints:

    • Each of the 10 Layer-4 Endpoints will attempt to generate 2000 URLs/second, effectively generating 20,000 URLs/second

  4. Run traffic and determine Web Server performance.

    A: On the Layer-4 tab, select one Layer-4 endpoint, click Start, then repeat for all 10 Layer-4 endpoints:

    • As each endpoint is started, the rate of URLs/second will start to converge on a rate that the Web Server is capable of providing. Finding the final Web Server performance rate is a matter of adding up the rates of all running Layer-4 endpoints.

    • Several Layer-4 endpoints (10 in this case) are used so each endpoint can make an independently large number of URL requests without having to wait for too many replies. Each URL request is waiting for a reply from the Web Server, so if only one Layer-4 endpoint was making requests, it would spend too much time waiting for replies instead of generating more requests. Spreading the URL requests over several endpoints allows each LANforge connection to the Web Server to maximize its rate of URL requests.

    B: Layer-4 Endpoint Results:

    • After starting all 10 endpoints, and letting them run for at least 1 minute, the overall URLs/second rate converges to around 17,000 URLs/second.

  Email Candela Technologies at: support@candelatech.com if you have any questions or suggestions.

 


Candela Technologies, Inc., 2026 Main Street, Suite A, P.O. Box 3285, Ferndale, WA 98248, USA
www.candelatech.com | sales@candelatech.com | +1 360 380 1618

Candela Technologies, 2026 Main Street, Suite A, P.O. Box 3285, Ferndale, WA 98248, USA
www.candelatech.com | sales@candelatech.com | +1 360 380 1618
Last modified: Fri Mar 11 09:41:14 PST 2011