FreeNAS iPerf - Measure Maximum TCP and UDP Bandwidth Performance

How to test network performance with FreeNAS server and Windows.

UPDATE: Beginning with FreeNAS version 11.1, both iperf2 and iperf3 are pre-installed. To use iperf2, use iperf. To use iperf3, instead type iperf3.  Ipef3 is recommended.

  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:  Most likely this will be iPerf 2.0.9 version.
  5. Launch command prompt as administrator and navigate to iPerf folder (c:\iperf).
  6. In FreeNAS server shell start 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.

Popular Posts