Candela Technologies Logo
Network Testing and Emulation Solutions

Test WiFi station upload throughput.

Goal: Test WiFi station upload throughput with various numbers of stations.

Test WiFi station upload throughput with various numbers of stations. This example uses a pair of LANforge CT520 systems, but the procedure should work on all CT521, CT522, CT523, CT525 and similar systems. Encrypted throughput (WPA2) will perform better on the CT523 and higher systems because their CPUs are more powerful. This test assumes you have already created a virtual AP on system 1 and configured it to act as a router and give out DHCP.
 
  1. Test TCP upload throughput with one station (Open)
    1. Go to the Port Manager, select the wlan0 interface on the second system, and click Modify. Set the SSID to match the VAP on system 1. screenshot
    2. Go to Layer-3 tab and click Create to build a TCP connection. Select the Protocol, ports, rates, PDU sizes, Send & Receive buffer sizes. screenshot
    3. Start the test by selecting the tcp-se row and click Start. Right-click and select Dynamic Report to get a real-time graph of the throughput. We see about 250Mbps of TCP throughput. screenshot
  2. Test TCP upload throughput with one station (WPA2)
    1. Modify the VAP to use WPA2 instead of being open. Go to Port-Mgr tab, select vap0, and click Modify screenshot
    2. Configure wlan0 to use the same settings so it can connect to the VAP using WPA2 authentication.
    3. Go to the Layer-3 tab, start the tcp-se connection, right-click and select Dynamic Report to get a real-time graph of the throughput. We see about 43Mbps of TCP throughput. LANforge currently does the WPA encryption in software on the CPU, so it is much slower than un-encrypted traffic.
  3. Test TCP throughput with 50 stations (Open)
    1. Go to the Port-Mgr tab, select the existing wlan0 and vap0 interfaces, click Modify, un-select WPA2 on each of them, and click Apply. This changes wlan0 and vap0 back to Open mode.
    2. Go to the Port-Mgr tab, select the wiphy0 interface on the second system, and click Create. Select Wifi STA, enter starting MAC, quantity of 49, select DHCP-IPv4, STA ID of 0, SSID, and Key/Phrase. When properly configured, click Apply screenshot
    3. You should now see all 50 stations associated with IP addresses. screenshot
    4. Go to the Layer-3 tab, modify the 'tcp-se' connection. Change the name to tcp-se-0001, and change the RX Endpoint side's port from wlan0 to sta0. Click OK to create the new connection.
    5. Now, create 48 more copies. Modify the tcp-se-0001 connection and click Batch-Create. Set quantity to 48, and Port Increment A to 0. Click Apply to create the 48 TCP connections, one on each of the 48 stations. screenshot
    6. Select all of the tcp-se connections and click Start. Each of the connections are configured for higher rates than the network can actually handle. This is OK, but it will give un-even throughput results on different stations. So, you may wish to change the rate to something lower. If so, go to the L3 Endps tab, make sure all of the tcp-se endpoints are selected, and click Batch Modify. Select B Only since we want to just modify one side of the connection. Set Min Tx Rate to 5Mbps, and click Apply screenshot
    7. Go back to the Layer-3 tab and view the running connections. screenshot
    8. Determine total throughput: Select all of the running connections and then Right-Click and select Calculations. In this scenario, we see about 230Mbps of total TCP throughput. screenshot
  4. Test TCP upload throughput with 50 stations (WPA2)
    1. Modify the VAP and stations to use WPA2 instead of being open. Go to Port-Mgr tab, select vap0, and all of the stations and click Batch Modify. Change WPA2 to be 'ON' and enter password in the Key/Phrase box. Leave all othe values set to 'NA' so they are not changed. screenshot
    2. Go back to the Layer-3 tab, select all of the connections, and click Clear to clear the counters. Right-Click and select Calculations to view the totals. In this scenario, we see about 50Mbps of TCP throughput.
  5. Test TCP upload throughput with 128 stations
    1. Use similar steps to those described above to create 78 more stations. In the Create VLANs window, use STA ID of 49 and Quantity of 78 this time (since stations 0-48 have already been created). When creating more TCP connections, you can click Modify on the tcp-se-0049 connection and click Batch Create.
    2. In this scenario, we see about 36Mbps throughput with TCP in WPA2 mode, and 28Mbps to 40Mbps in Open mode.

Candela  Technologies, 2417 Main Street, Suite 201, Ferndale, WA 98248, USA
www.candelatech.com | sales@candelatech.com | +1.360.380.1618
Facebook | LinkedIn | Blog