2

How to use Ipfer3 to test upload and download speed or in other words which data of the output given below represents upload and download speed ?

Iperf3 output

Iperf3 output

kenlukas
  • 3,101
  • 2
  • 16
  • 26
USER
  • 53
  • 2
  • 3
  • 6

3 Answers3

5

The iperf client initiates a connection to an iperf server, and the default test is the upload speed:

$ iperf3 -c la.speedtest.clouvider.net -p 5209
Connecting to host la.speedtest.clouvider.net, port 5209

when you use the -R switch, it downloads from the server. note the 3rd line:

$ iperf3 -c la.speedtest.clouvider.net -p 5209 -R
Connecting to host la.speedtest.clouvider.net, port 5209
Reverse mode, remote host la.speedtest.clouvider.net is sending
Gaia
  • 1,855
  • 5
  • 34
  • 60
0

As the other said:
iperf3 per default just tests the upload speed.

But you can perform a simultaneous upload and download by using --bidir on the client side:

iperf3 -c 192.168.1.xxx --bidir

This way you can get both results in a single test.

akkari
  • 1
0

The default is download speed. Use option -R for upload speed.

iperf3 -c 192.168.1.xxx -R

This represents "Reverse Mode": run in reverse mode (server sends, client receives).

Mike
  • 109
  • 1
  • 2
    I believe this is wrong. iperf3 defaults to upload speeds from client to server. Using -R option as mentioned in the [iperf3 docs](https://iperf.fr/iperf-doc.php) states it the server sends and client receives thus acting as Download. – DribblzAroundU82 Aug 26 '20 at 19:44