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