Saturday, August 5, 2017

FreeNAS iPerf - Measure Maximum TCP and UDP Bandwidth Performance

How to test network performance with FreeNAS server and Windows.

  1. Disable windows firewall.  This is necessary if you want to test both send and recieve speeds using the -r switch.
  2. Launch shell in FreeNAS.
  3. Determine the version of iPerf the is installed.  Type: iperf -v
  4. Download and extract respective iPerf version in root folder (c:\iperf) of Windows machine you will be testing with FreeNAS. Download link:  https://iperf.fr/iperf-download.php
  5. Launch command prompt as administrator and navigate to iPerf folder (c:\iperf).
  6. In FreeNAS server shell stat iPerf server by typing: iperf -s
  7. On windows machine (iPerf client) in command prompt, navigate to iPerf folder type: iperf.exe -c FreeNASIP -P 10 -t 15 -r
  8. iPerf will run 10 simultaneous processes for 15 seconds and display results.
  9. When finished testing, on FreeNAS server type: killall iperf .  You may need to enter this command two times.  This is required as your CPU usage will likely be very high until you kill iPerf.