More actions
Just found out about a cool little utility called iperf3
for testing upload/download speeds between two hosts.
On the server make sure to open the testing port on your firewall. Then run the following iperf3 command to start the server in your terminal.
iperf3 -s -p 4000
I'm running it on port 4000.
Then from the client machine you can run the following to test upload speeds.
iperf3 -c SERVER_IP -p 4000 -t 10
If you stick a -R
on there to reverse the direction (aka test download speeds).
iperf3 -c SERVER_IP -p 4000 -t 10 -R
Here's some example output:
» iperf3 -c REDACTED -p 4000 -t 10 -R Connecting to host REDACTED, port 4000 Reverse mode, remote host REDACTED is sending [ 5] local 192.168.1.179 port 60750 connected to REDACTED port 4000 [ ID] Interval Transfer Bitrate [ 5] 0.00-1.00 sec 33.7 MBytes 283 Mbits/sec [ 5] 1.00-2.00 sec 31.3 MBytes 263 Mbits/sec [ 5] 2.00-3.00 sec 35.9 MBytes 301 Mbits/sec [ 5] 3.00-4.00 sec 32.1 MBytes 269 Mbits/sec [ 5] 4.00-5.00 sec 31.6 MBytes 265 Mbits/sec [ 5] 5.00-6.00 sec 30.3 MBytes 254 Mbits/sec [ 5] 6.00-7.00 sec 37.3 MBytes 313 Mbits/sec [ 5] 7.00-8.00 sec 34.0 MBytes 285 Mbits/sec [ 5] 8.00-9.00 sec 28.5 MBytes 239 Mbits/sec [ 5] 9.00-10.00 sec 29.1 MBytes 244 Mbits/sec - - - - - - - - - - - - - - - - - - - - - - - - - [ ID] Interval Transfer Bitrate Retr [ 5] 0.00-10.04 sec 326 MBytes 272 Mbits/sec 649 sender [ 5] 0.00-10.00 sec 324 MBytes 272 Mbits/sec receiver iperf Done.