perf/passt_udp: Don't overshoot UDP bandwidth excessively on larger MTUs

...performance with 64KiB MTUs might look worse than with 9000bytes
on some configurations.

Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
This commit is contained in:
Stefano Brivio 2021-10-19 09:30:42 +02:00
parent 7aaff3387a
commit 9df5027129

View file

@ -123,7 +123,7 @@ iperf3c ns ::1 100${i}1 __THREADS__ __OPTS__ -b 4G
iperf3s BW guest 100${i}1 __THREADS__ iperf3s BW guest 100${i}1 __THREADS__
bw __BW__ 4.0 5.0 bw __BW__ 4.0 5.0
ns ip link set dev lo mtu 65520 ns ip link set dev lo mtu 65520
iperf3c ns ::1 100${i}1 __THREADS__ __OPTS__ -b 6G iperf3c ns ::1 100${i}1 __THREADS__ __OPTS__ -b 4G
iperf3s BW guest 100${i}1 __THREADS__ iperf3s BW guest 100${i}1 __THREADS__
bw __BW__ 5.0 5.5 bw __BW__ 5.0 5.5
@ -162,7 +162,7 @@ iperf3c ns 127.0.0.1 100${i}1 __THREADS__ __OPTS__ -b 4G
iperf3s BW guest 100${i}1 __THREADS__ iperf3s BW guest 100${i}1 __THREADS__
bw __BW__ 4.0 5.0 bw __BW__ 4.0 5.0
ns ip link set dev lo mtu 65520 ns ip link set dev lo mtu 65520
iperf3c ns 127.0.0.1 100${i}1 __THREADS__ __OPTS__ -b 6G iperf3c ns 127.0.0.1 100${i}1 __THREADS__ __OPTS__ -b 4G
iperf3s BW guest 100${i}1 __THREADS__ iperf3s BW guest 100${i}1 __THREADS__
bw __BW__ 5.0 5.5 bw __BW__ 5.0 5.5