IPerf3 performance test

From HPCWIKI
Jump to navigation Jump to search

iPerf is open source benchmarking utility. The latest version iPerf3, is a complete rewrite of the code first developed by the National Laboratory for Applied Network Research in the 2000s.


iPerf3 suports various OS and can be download at this site depending on the host OS.

How to run test using iPerf3

Server side

iPerf3 -s

#General usage with default options
$iperf3 -s

#To use a port other than the default
$iperf3 -s -p <port>

Client side

#default (20s) average throughput 
$ iperf3 -c 192.168.1.6

# To define display report interval, use -i <sec>, default interval is 1 sec
$ iperf3 -c 192.168.1.6 -i 4

# To reverse the direction of packets, use -R
$ iperf3 -c 192.168.1.6 -R

# To run both upstream and downstream, use -bidir 
$ iperf3 -c 192.168.1.6 -bidir

# To test UDP through, use -u and -B <target bandwidth>, default target bandwidth is 1Mbit/select
$ iperf3 -c 192.168.1.6 -u -b 1G

References