Difference between revisions of "Iperf"
Jump to navigation
Jump to search
Line 49: | Line 49: | ||
* <code>[[nc]]</code> | * <code>[[nc]]</code> | ||
* <code>[[tc]]</code> | * <code>[[tc]]</code> | ||
− | * <code>[[ping]]</code>, <code>[[nping]]</code> | + | * <code>[[ping]]</code>, <code>[[nping --tcp]]</code> |
* <code>[[pv]] <[[/dev/zero]] | ssh REMOTE_SERVER 'cat >[[/dev/null]]'</code> | * <code>[[pv]] <[[/dev/zero]] | ssh REMOTE_SERVER 'cat >[[/dev/null]]'</code> | ||
* <code>iperf2</code>, <code>[[iperf3]]</code> | * <code>iperf2</code>, <code>[[iperf3]]</code> |
Revision as of 13:48, 18 July 2021
wikipedia:iperf perform network throughput tests.
- Man page: https://www.mankier.com/1/iperf
iperf --help
- Installation:
sudo apt-get install iperf
Options
--dualtest or -d
--enhanced
--tradeoff or -r
--window n[kmKW]
--enhancedreports
--reverse, -R
--help
Examples
iperf -s
iperf -c 10.10.10.2
iperf -c 10.10.10.2 -i 1
Run for 60 seconds (-t 60
) and report every second (-i 1
)
iperf -c 10.10.10.2 -t 60 -i 1
iperf -c 10.10.10.2 --tradeoff
iperf --enhanced -c 10.10.10.2
iperf3 -c 10.0.0.105 -w 2000
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
--enhanced, -e
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
iperf, iperf --help
- TCP/IP, Transport protocol, UDP, SCTP, QUIC, subnet mask, Routing protocols: BGP, routing table, Policy based routing, multicast, TCP Fast Open, RDP, TTL, RTT, MPTCP, Large send offload (LSO): (TSO, GRO, GSO, TCP checksum),
ethtool
, SCTP, 5-Tuple, Check TCP connectivity, TCP window size,/proc/sys/net/ipv4/tcp_rmem
, ack, List of TCP ports, localhost, broadcast address - Network performance:
iperf
,nload
,iftop
,iptraf-ng
,nethogs
,bmon
,slurm
,collectl
,collectd
,speedometer
,VnStat
,Darkstat
, Monitorix, mrtg,mrt
,traceroute
, munin, smokeping,sar -n
,ping
,fping
,nping
, Jitter, fast.com - Network monitoring: Cacti, PRTG, MRTG,
ntop
,ntopng
,ping
,nethogs
,netperf
- Performance:
perf
,strace
, Dtrace, SystemTap,iperf
,uperf
,cgroups
,netperf
, sysbench, Queries Per Second (QPS), PerfKitBenchmarker, Load testing
Advertising: