diff options
author | Stefano Brivio <sbrivio@redhat.com> | 2022-02-01 17:12:24 +0100 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2022-02-01 17:12:24 +0100 |
commit | 70c05e678ec38e9f102212d65aab00a874911dac (patch) | |
tree | 819959210e1512a10296a9aeb0344a09d5d6da90 /test/perf/passt_tcp | |
parent | 80283e6aea8d9d8b48d4746b9b42883d803bee13 (diff) | |
download | passt-70c05e678ec38e9f102212d65aab00a874911dac.tar passt-70c05e678ec38e9f102212d65aab00a874911dac.tar.gz passt-70c05e678ec38e9f102212d65aab00a874911dac.tar.bz2 passt-70c05e678ec38e9f102212d65aab00a874911dac.tar.lz passt-70c05e678ec38e9f102212d65aab00a874911dac.tar.xz passt-70c05e678ec38e9f102212d65aab00a874911dac.tar.zst passt-70c05e678ec38e9f102212d65aab00a874911dac.zip |
test/perf/passt_tcp: Drop iperf3 window size for host-to-guest tests
With a recent 5.15 kernel, passing a huge window size to iperf3 with
lower MTUs makes iperf3 stop sending packets after a few seconds --
I haven't investigated this in detail, but the window size will be
adjusted dynamically anyway and not passing it doesn't actually
affect throughput, so simply drop the option.
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'test/perf/passt_tcp')
-rw-r--r-- | test/perf/passt_tcp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/test/perf/passt_tcp b/test/perf/passt_tcp index 0db12ea..99d8fb1 100644 --- a/test/perf/passt_tcp +++ b/test/perf/passt_tcp @@ -141,19 +141,19 @@ tr TCP throughput over IPv6: host to guest bw - bw - ns ip link set dev lo mtu 1280 -iperf3c ns ::1 100${i}1 __THREADS__ __OPTS__ -w 4M +iperf3c ns ::1 100${i}1 __THREADS__ __OPTS__ iperf3s BW guest 100${i}1 __THREADS__ bw __BW__ 1.0 1.2 ns ip link set dev lo mtu 1500 -iperf3c ns ::1 100${i}1 __THREADS__ __OPTS__ -w 4M +iperf3c ns ::1 100${i}1 __THREADS__ __OPTS__ iperf3s BW guest 100${i}1 __THREADS__ bw __BW__ 2.0 3.0 ns ip link set dev lo mtu 9000 -iperf3c ns ::1 100${i}1 __THREADS__ __OPTS__ -w 8M +iperf3c ns ::1 100${i}1 __THREADS__ __OPTS__ iperf3s BW guest 100${i}1 __THREADS__ bw __BW__ 5.0 6.0 ns ip link set dev lo mtu 65520 -iperf3c ns ::1 100${i}1 __THREADS__ __OPTS__ -w 16M +iperf3c ns ::1 100${i}1 __THREADS__ __OPTS__ iperf3s BW guest 100${i}1 __THREADS__ bw __BW__ 6.0 6.8 ns ip link set dev lo mtu 65535 @@ -181,28 +181,28 @@ lat __LAT__ 500 350 tr TCP throughput over IPv4: host to guest ns ip link set dev lo mtu 256 -iperf3c ns 127.0.0.1 100${i}1 __THREADS__ __OPTS__ -w 1M +iperf3c ns 127.0.0.1 100${i}1 __THREADS__ __OPTS__ iperf3s BW guest 100${i}1 __THREADS__ bw __BW__ 0.3 0.5 ns ip link set dev lo mtu 576 -iperf3c ns 127.0.0.1 100${i}1 __THREADS__ __OPTS__ -w 1M +iperf3c ns 127.0.0.1 100${i}1 __THREADS__ __OPTS__ iperf3s BW guest 100${i}1 __THREADS__ bw __BW__ 0.5 1.0 ns ip link set dev lo mtu 1280 ns ip addr add ::1 dev lo -iperf3c ns 127.0.0.1 100${i}1 __THREADS__ __OPTS__ -w 4M +iperf3c ns 127.0.0.1 100${i}1 __THREADS__ __OPTS__ iperf3s BW guest 100${i}1 __THREADS__ bw __BW__ 2.0 3.0 ns ip link set dev lo mtu 1500 -iperf3c ns 127.0.0.1 100${i}1 __THREADS__ __OPTS__ -w 4M +iperf3c ns 127.0.0.1 100${i}1 __THREADS__ __OPTS__ iperf3s BW guest 100${i}1 __THREADS__ bw __BW__ 2.0 3.0 ns ip link set dev lo mtu 9000 -iperf3c ns 127.0.0.1 100${i}1 __THREADS__ __OPTS__ -w 8M +iperf3c ns 127.0.0.1 100${i}1 __THREADS__ __OPTS__ iperf3s BW guest 100${i}1 __THREADS__ bw __BW__ 5.0 6.0 ns ip link set dev lo mtu 65520 -iperf3c ns 127.0.0.1 100${i}1 __THREADS__ __OPTS__ -w 16M +iperf3c ns 127.0.0.1 100${i}1 __THREADS__ __OPTS__ iperf3s BW guest 100${i}1 __THREADS__ bw __BW__ 6.0 6.8 ns ip link set dev lo mtu 65535 |