2018-04-10 10:49:40 +01:00
|
|
|
# iperf
|
|
|
|
|
|
|
|
> Measure network bandwidth between computers.
|
2019-06-05 09:05:50 +01:00
|
|
|
> More information: <https://iperf.fr>.
|
2018-04-10 10:49:40 +01:00
|
|
|
|
|
|
|
- Run on server:
|
|
|
|
|
|
|
|
`iperf -s`
|
|
|
|
|
2020-04-07 11:16:19 +01:00
|
|
|
- Run on server using UDP mode and set server port to listen on 5001:
|
|
|
|
|
|
|
|
`iperf -u -s -p {{5001}}`
|
|
|
|
|
2018-04-10 10:49:40 +01:00
|
|
|
- Run on client:
|
|
|
|
|
|
|
|
`iperf -c {{server_address}}`
|
|
|
|
|
2020-04-07 11:16:19 +01:00
|
|
|
- Run on client every 2 seconds:
|
|
|
|
|
|
|
|
`iperf -c {{server_address}} -i {{2}}`
|
|
|
|
|
2018-04-10 10:49:40 +01:00
|
|
|
- Run on client with 5 parallel threads:
|
|
|
|
|
|
|
|
`iperf -c {{server_address}} -P {{5}}`
|
2020-04-07 11:16:19 +01:00
|
|
|
|
|
|
|
- Run on client using UDP mode:
|
|
|
|
|
|
|
|
`iperf -u -c {{server_address}} -p {{5001}}`
|