https://iperf.fr/iperf-doc.php
Client | windows server | |
---|---|---|
iperf3 -c 10.1.4.10 ( default port 5001 ) | iperf3 -s | |
1M of bandwidth | iperf3 -c 10.1.4.10 -b 1m | iperf3 -s |
MSS of 100 ( did not work ) TCP maximum segment size (MSS) | iperf3 -c 10.1.4.10 -b 1m -M 100 MTU = MSS + 40 = 140 bytes Eth packet = MTU + Mac layer = MTU + 14 = MSS + 54 = 154 bytes Eth frame = MTU + Mac layer + preamble + FCS = | iperf3 -s |
MTU, or ‘Maximum Transmission Unit | The MSS is usually the MTU - 40 bytes for the TCP/IP header. The MSS is 1460 bytes (1500 byte MTU of the IP packet, or 1514 for ETH packet size). The MTU is the largest block of data that can be handled at layer-3 of the OSI model ( IP packet ) | |
https://networkdirection.net/articles/network-theory/mtu-and-mss/ I think it's Ethernet packet ( not frame , frame will include the preamble and FCS) | ||
different port | iperf3 -c 10.1.4.10 -b 1m -M 100 -p 5123 iperf3 -c 10.1.4.10 -b 1m -M 100 -p 5124 | iperf3 -s -p 5123 iperf3 -s -p 5124 |
UDP | iperf3 -c 10.1.4.10 -b 1m -M 100 -u | iperf3 -s -u |
Small Vs Big packets | ||
packet length | -t, --time # time in seconds to transmit for (default 10 secs) -P, --parallel # number of parallel client streams to run -M, --set-mss # set TCP/SCTP maximum segment size (MTU - 40 bytes) | |
Client & server | iperf3 -c 192.168.0.147 -b 100k -l 100 iperf3 -s | |