Utility, VMWare

Benchmarking with iPerf and VMware vSphere ESXi 6

As part of VMware vSphere ESXi 6 iPerf is now included with it which is a great tool for troubleshooting a wide range of network related aspects. From https://iperf.fr/:

iPerf3 is a tool for active measurements of the maximum achievable bandwidth on IP networks. It supports tuning of various parameters related to timing, buffers and protocols (TCP, UDP, SCTP with IPv4 and IPv6). For each test it reports the bandwidth, loss, and other parameters.

Step 1 – Prepare the tooling

In this scenario we have two ESXi hosts in which we’ll SSH into and execute the following commands.

  1. Disable the firewall
    esxcli network firewall set --enabled false
  2. Make a copy of iperf which will enable us to execute it in server mode
    cp /usr/lib/vmware/vsan/bin/iperf /usr/lib/vmware/vsan/bin/iperf.copy

Step 2 – Prepare ESXi01

On the ESXi server which will be running as a iperf server we’ll execute the following command with the servers IP address:

/usr/lib/vmware/vsan/bin/iperf.copy -s -B 192.168.178.241

Step 3 – Prepare ESXi02

In this instance the other system which will be used for the test is going to be another ESXi host (ESXi02) – so the commands in Step 1 will be applied followed by the following command with the IP address of ESXi01 :

/usr/lib/vmware/vsan/bin/iperf -m -i t300 -c 192.168.178.241 -fm

Step 4 – Progress and Results

ESXi01 ESXi02

twitterredditpinterestlinkedinmail

Leave a Comment

Your email address will not be published. Required fields are marked *