Iperf

From wikieduonline
Revision as of 10:46, 6 May 2021 by Welcome (talk | contribs)
Jump to navigation Jump to search

wikipedia:iperf perform network throughput tests.

Options:

  • --dualtest
  • --enhanced
  • --tradeoff or -r
  • --window n[kmKW]

Examples

  • iperf -c 10.10.10.2
  • iperf -c 10.10.10.2 -i 1
  • iperf -c 10.10.10.2 --tradeoff
sudo apt-get install iperf
iperf -s
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: 85.3 KByte (default)
------------------------------------------------------------ 
iperf -c <address of other computer>
iperf --enhanced -c <address of other computer> or  iperf -e -c <address of other computer>
iperf -c 10.10.10.2
------------------------------------------------------------
Client connecting to 10.10.10.2, TCP port 5001
TCP window size:  129 KByte (default)
------------------------------------------------------------
[  4] local 10.10.10.50 port 50027 connected with 10.10.10.2 port 5001
[ ID] Interval       Transfer     Bandwidth
[  4]  0.0-10.0 sec  3.09 GBytes  2.65 Gbits/sec
 iperf -c 10.10.10.2 --tradeoff


iperf --enhanced -c 10.10.10.1 or  iperf -e -c 10.10.10.1
------------------------------------------------------------
Client connecting to 10.10.10.1, TCP port 5001 with pid 2051443
Write buffer size:  128 KByte
TCP window size:  136 KByte (default)
------------------------------------------------------------
[  3] local 10.10.10.5 port 33910 connected with 10.10.10.1 port 5001 (ct=3.18 ms)
[ ID] Interval            Transfer    Bandwidth       Write/Err  Rtry     Cwnd/RTT        NetPwr
[  3] 0.0000-10.0110 sec  88.0 MBytes  73.7 Mbits/sec  704/0          1       -1K/1322 us  6972.29


Related commands

See also

Advertising: