From 9df5027129aa4404ba411dfc2be3eadb3f058faf Mon Sep 17 00:00:00 2001 From: Stefano Brivio Date: Tue, 19 Oct 2021 09:30:42 +0200 Subject: [PATCH] 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 --- test/perf/passt_udp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/perf/passt_udp b/test/perf/passt_udp index 8c1b67f..e351987 100644 --- a/test/perf/passt_udp +++ b/test/perf/passt_udp @@ -123,7 +123,7 @@ iperf3c ns ::1 100${i}1 __THREADS__ __OPTS__ -b 4G iperf3s BW guest 100${i}1 __THREADS__ bw __BW__ 4.0 5.0 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__ 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__ bw __BW__ 4.0 5.0 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__ bw __BW__ 5.0 5.5