Avamar: How to run iperf between two Avamar grids to test network throughput performance
Summary: This article explains how to run the iperf3 tool between two Avamar grids in order to test network throughput performance.
Instructions
- "moo.company.com" is the "
iperfserver" - "cow.company.com" is the "
iperfclient"
1. Log in to the first Avamar grid (the "iperf server") as admin, and run the following command:
iperf3 -s -i 1
2. Leave the command above running.
3. Log in to the second Avamar grid as (the "iperf client") admin, and run the following command:
iperf3 -c <avamar-source-iperf-server> A -i 1
4. Let the command run for 10 seconds, then end with a CTRL-C.
Example output seen on "avamar-moo.company.com": (the "iperf server"):
admin@avamar-moo:~/>: iperf3 -s -i 1
-----------------------------------------------------------
Server listening on 5201
-----------------------------------------------------------
Accepted connection from 10.x.x.152, port 44660
[ 5] local 10.x.x.141 port 5201 connected to 10.x.x.152 port 44662
[ ID] Interval Transfer Bitrate
[ 5] 0.00-1.00 sec 110 MBytes 925 Mbits/sec
[ 5] 1.00-2.00 sec 112 MBytes 937 Mbits/sec
[ 5] 2.00-3.00 sec 112 MBytes 942 Mbits/sec
[ 5] 3.00-4.00 sec 112 MBytes 941 Mbits/sec
[ 5] 4.00-5.00 sec 112 MBytes 942 Mbits/sec
[ 5] 4.00-5.00 sec 112 MBytes 942 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bitrate
[ 5] 0.00-5.00 sec 593 MBytes 994 Mbits/sec receiver
iperf3: the client has terminated
-----------------------------------------------------------
Server listening on 5201
-----------------------------------------------------------
iperf3: interrupt - the server has terminated
^C
Example output seen on "avamar-cow.company.com" (the "iperf client"):
admin@avamar-cow:~/>: iperf3 -c ave-moo -i 1
Connecting to host avamar-moo, port 5201
[ 5] local 10.x.x.152 port 44662 connected to 10.x.x.141 port 5201
[ ID] Interval Transfer Bitrate Retr Cwnd
[ 5] 0.00-1.00 sec 114 MBytes 958 Mbits/sec 0 672 KBytes
[ 5] 1.00-2.00 sec 112 MBytes 944 Mbits/sec 0 738 KBytes
[ 5] 2.00-3.00 sec 111 MBytes 933 Mbits/sec 0 738 KBytes
[ 5] 3.00-4.00 sec 112 MBytes 944 Mbits/sec 0 782 KBytes
[ 5] 4.00-5.00 sec 112 MBytes 944 Mbits/sec 0 782 KBytes
[ 5] 5.00-5.29 sec 32.5 MBytes 936 Mbits/sec 0 782 KBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bitrate Retr
[ 5] 0.00-5.29 sec 595 MBytes 944 Mbits/sec 0 sender
[ 5] 0.00-5.29 sec 0.00 Bytes 0.00 bits/sec receiver
iperf3: interrupt - the client has terminated
Additional Information
When running the tests on Avamar, the connection attempt may time out if the firewall (avfirewall) service is running:
admin@ave-cow:~/>: iperf3 -c ave-moo -i 1
connect failed: Connection timed out
If this occurs, temporarily disable the firewall on both Avamar grids:
To stop the firewall service, run the following command as root:
systemctl stop avfirewall
To restart the firewall service, run the following command as root:
systemctl start avfirewall