Configure throughput tests

Test & measurement requires an end-to-end client-server architecture, typically with the server installed in a datacenter and client installed at customer premise (mbox used as a CPE router). All boxes (server and clients) are connected back to mfusion, which controls testing scheduling and consolidate testing results for reporting and alerting etc.

CONFIGURATION STEPS

1. Install and provision mbox

Both central (server) and remote (client) mbox need to be installed and brought up online, and provisioned in mfusion. Follow this guide to provision mbox on mfusion portal.

2. Configure remote (client) mbox for throughput testing

All the testings are initiated from the remote client to server, there're a few points to NOTE:

Configuration of mbox test client is very straightforward, there are two steps:

- "iperf_upload" measures maximum upload speed

- "iperf_download" measures maximum download speed

- "iperf_jitter" measures link quality or constancy of link performance. This is important for VoIP traffic but not essential for browsing

- {$PORT} is the TCP port used to communicate with server. It's optional to configure here. By default is 5201

- {$SESSION}"  is the simulated user session. It's optional to configure here. By default is 1

- ${TIME} is the total for each test run. It's optional. By default is 10 seconds

- ${RECEIVER} is remote testing server IP. It's a MUST to configure this paramter.

3. Access to testing data and reporting from mfusion

Each test result is instantly available on mfusion. It's the same like other monitoring data. Just go to Infra Monitoring --> MIM database, click on the desired host, select "host dashboard", refer to "link capacity".

Scheduled report can be created at Infra Monitoring --> Infra Report

4. Run ad-hoc throughput tests from CLI

For non-scheduled test (ad-hoc) test, we can run from command line to produce the results immediately.

1. configure mbox basic network settings so that client & server can talk to each other directly (details), and configure firewall-input rules to permit TCP/5201 on the server side. sample config below (replace blue config text)

============

!

hostname CMG-IPserf

!

interface eth 0

 description "connect Internet"

 enable

 ip address x.x.x.x/yy

!

ip route 0.0.0.0/0 nexthop m.m.m.m

!

firewall-input 4 permit all tcp dport 5201 remark "permit iperf test"

!

============

2. run test.

- on the server side, under enable mode, run command "test server", keep the command prompt open, wait for client to send over requests.

- on the client side, run command "test throughput <server ip>"

The end-to-end throughput results will show immediately after the tests. In below results, to interpret from client output, sent refer to upload speed, Received refers to download speed.