Situatie
Solutie
1.For UDP (explicit packets):
You can increase bandwidth (-b) or packet length (-l):
Example: send more/faster UDP packets
iperf3 -c <server-ip> -u -b 100M -l 1400
Meaning:
-u ->use UDP
-b 100M -> increase bandwidth (sends more packets per second)
-l 1400 -> packet size (bytes)
2.For TCP (more throughput):
TCP doesn’t send “packets” directly; you increase throughput by adding parallel streams:
Example: increase traffic with multiple TCP streams
iperf3 -c <server-ip> -P 10
Meaning:
-P 10 -> 10 parallel connections, generating more traffic
Send traffic for longer
iperf3 -c <server-ip> -t 60
Runs for 60 seconds (default is 10).
Summary of useful options
Option Purpose
-u Use UDP
-b <rate> Bandwidth (UDP)
-l <len> Packet size (UDP)
-P <num> Parallel streams (TCP/UDP)
-t <time> Test duration
-w <size> TCP window size
Leave A Comment?