mcphersontech
Contributor
Contributor

Iperf on fresh ESXi 6.7

Hi,

I've been working with a new server, learning ESXi.  My first build was ESXi 6.5.

I was using iperf to test my network setup after following this guide: https://www.virtuallyghetto.com/2016/03/quick-tip-iperf-now-available-on-esxi.html

https://www.virtuallyghetto.com/2016/03/quick-tip-iperf-now-available-on-esxi.html

It was simple:

cp /usr/lib/vmware/vsan/bin/iperf /usr/lib/vmware/vsan/bin/iperf.copy

/usr/lib/vmware/vsan/bin/iperf.copy -s -B [IPERF-SERVER-IP]

Then I upgraded to 6.7.  I did not try iperf again using this method.  So, unfortunately, I don't know if the 'upgrade' preserved this function from 6.5.

I recently formatted and did a fresh install from ESXi 6.7 ISO.  Now, I want to iperf again... there are no traces of iperf on a fresh ESXi 6.7 install (that I can find).  But, I'm a CLI noob for all things Unix/Linux/FreeBSD/etc...

I did find a directory /usr/lib/vmware/vsan/perfsvc

But, I have no idea what it means or how it might be leveraged.

Appreciate any help here.

Br,

Mike

3 Replies
Finikiez
Champion
Champion

iperf has been removed since ESXi 6.7

VMware says that it was included to troubleshoot network for vSAN when it used multicast. And they don't need it anymore as vSAN relies on unicast in modern versions.

0 Kudos
mc1903cae
Enthusiast
Enthusiast

Removing iPerf in v6.7 is a really short sighted step by VMware.

It is an invaluable tool for fault finding and for performance testing.

Where is the harm in including it in the build?

lamw​ - @lamw - Do you have any 'sway' to ask for it to be put back into the main build or at least have it offered as a supported optional .vib install?

Thanks

M

**EDIT**

Just download the iPerf Offline Bundle from http://vibsdepot.v-front.de/depot/bundles/iperf-2.0.5-1-offline_bundle.zip

Copy the file up to your ESXi 6.7 server and install with the --no-sig-check option.

     esxcli software vib install -d /vmfs/volumes/datastore1/ISOImages/iperf-2.0.5-1-offline_bundle.zip --no-sig-check

It installs into /opt/iperf/bin

It is the same version as installed with v6.5, seems to work OK..

**EDIT**

likeahoss
Enthusiast
Enthusiast

iperf3 is back in stock on ESXi 7.

/usr/lib/vmware/vsan/bin/iperf3

/usr/lib/vmware/vsan/bin/iperf3.copy

Use iperf3.copy on the "server".

Use perf3 on the "client".

This blog lays it out: Run Basic Network Speed Bandwidth Throughput Test Between ESXi Hosts - Virtualization Howto

0 Kudos