To install iperf3 on ArchLinux, run
pacman -S iperf3
To do speed test
[root@tvmovies1 ~]# iperf3 -c ping.online.net -p 5209 Connecting to host ping.online.net, port 5209 [ 5] local 163.172.50.206 port 50430 connected to 62.210.18.40 port 5209 [ ID] Interval Transfer Bitrate Retr Cwnd [ 5] 0.00-1.00 sec 282 MBytes 2.36 Gbits/sec 0 720 KBytes [ 5] 1.00-2.00 sec 280 MBytes 2.35 Gbits/sec 0 755 KBytes [ 5] 2.00-3.00 sec 281 MBytes 2.36 Gbits/sec 11 755 KBytes [ 5] 3.00-4.00 sec 280 MBytes 2.35 Gbits/sec 0 758 KBytes [ 5] 4.00-5.00 sec 281 MBytes 2.36 Gbits/sec 0 758 KBytes [ 5] 5.00-6.00 sec 256 MBytes 2.15 Gbits/sec 1507 42.4 KBytes [ 5] 6.00-7.00 sec 115 MBytes 965 Mbits/sec 6917 130 KBytes [ 5] 7.00-8.00 sec 114 MBytes 954 Mbits/sec 6643 48.1 KBytes [ 5] 8.00-9.00 sec 114 MBytes 954 Mbits/sec 6749 119 KBytes [ 5] 9.00-10.00 sec 112 MBytes 944 Mbits/sec 6923 38.2 KBytes - - - - - - - - - - - - - - - - - - - - - - - - - [ ID] Interval Transfer Bitrate Retr [ 5] 0.00-10.00 sec 2.07 GBytes 1.77 Gbits/sec 28750 sender [ 5] 0.00-10.00 sec 2.06 GBytes 1.77 Gbits/sec receiver iperf Done. [root@tvmovies1 ~]#
Here we do speed test with http://ping.online.net, they run iperf3 server on port 5209