Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

https://iperf.fr/iperf-doc.php

...


Client windows server

iperf3 -c 10.1.4.10  ( default port 5001 )iperf3 -s
1M of bandwidthiperf3 -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 100iperf3 -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 )




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

UDPiperf3 -c 10.1.4.10 -b 1m -M 100 -uiperf3 -s -u
Small Vs Big packets

packet length

-t, --time # time in seconds to transmit for (default 10 secs)
-n, --bytes #[KMG] number of bytes to transmit (instead of -t)
-k, --blockcount #[KMG] number of blocks (packets) to transmit (instead of -t or -n)
-l, --length #[KMG] length of buffer to read or write
(default 128 KB for TCP, dynamic or 1460 for UDP)

-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





...