aboutgitcodebugslistschat
path: root/test/perf/passt_tcp
diff options
context:
space:
mode:
authorStefano Brivio <sbrivio@redhat.com>2021-10-19 09:28:44 +0200
committerStefano Brivio <sbrivio@redhat.com>2021-10-19 09:28:44 +0200
commit7aaff3387ade2827adfa5ca91571560bbbaf8311 (patch)
tree2db5f247291e118e9dfeb4436db2ca8a09842a78 /test/perf/passt_tcp
parente8ac8a3b7c48df53e7ba9e6485055d9c47d27b93 (diff)
downloadpasst-7aaff3387ade2827adfa5ca91571560bbbaf8311.tar
passt-7aaff3387ade2827adfa5ca91571560bbbaf8311.tar.gz
passt-7aaff3387ade2827adfa5ca91571560bbbaf8311.tar.bz2
passt-7aaff3387ade2827adfa5ca91571560bbbaf8311.tar.lz
passt-7aaff3387ade2827adfa5ca91571560bbbaf8311.tar.xz
passt-7aaff3387ade2827adfa5ca91571560bbbaf8311.tar.zst
passt-7aaff3387ade2827adfa5ca91571560bbbaf8311.zip
perf/passt_tcp: Don't exceed typical L3 cache sizes with buffers
...we might see misleading rate drops with larger MTUs otherwise. Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'test/perf/passt_tcp')
-rw-r--r--test/perf/passt_tcp16
1 files changed, 8 insertions, 8 deletions
diff --git a/test/perf/passt_tcp b/test/perf/passt_tcp
index 00d1c18..9c4d5e5 100644
--- a/test/perf/passt_tcp
+++ b/test/perf/passt_tcp
@@ -59,11 +59,11 @@ iperf3c guest __GW6__%__IFNAME__ 100${i}2 __THREADS__ __OPTS__ -w 4M
iperf3s BW ns 100${i}2 __THREADS__
bw __BW__ 1.6 1.8
guest ip link set dev __IFNAME__ mtu 9000
-iperf3c guest __GW6__%__IFNAME__ 100${i}2 __THREADS__ __OPTS__ -w 32M
+iperf3c guest __GW6__%__IFNAME__ 100${i}2 __THREADS__ __OPTS__ -w 8M
iperf3s BW ns 100${i}2 __THREADS__
bw __BW__ 4.0 5.0
guest ip link set dev __IFNAME__ mtu 65520
-iperf3c guest __GW6__%__IFNAME__ 100${i}2 __THREADS__ __OPTS__ -w 128M
+iperf3c guest __GW6__%__IFNAME__ 100${i}2 __THREADS__ __OPTS__ -w 16M
iperf3s BW ns 100${i}2 __THREADS__
bw __BW__ 7.0 8.0
@@ -106,11 +106,11 @@ iperf3c guest __GW__ 100${i}2 __THREADS__ __OPTS__ -w 4M
iperf3s BW ns 100${i}2 __THREADS__
bw __BW__ 1.6 1.8
guest ip link set dev __IFNAME__ mtu 9000
-iperf3c guest __GW__ 100${i}2 __THREADS__ __OPTS__ -w 32M
+iperf3c guest __GW__ 100${i}2 __THREADS__ __OPTS__ -w 8M
iperf3s BW ns 100${i}2 __THREADS__
bw __BW__ 4.0 5.0
guest ip link set dev __IFNAME__ mtu 65520
-iperf3c guest __GW__ 100${i}2 __THREADS__ __OPTS__ -w 128M
+iperf3c guest __GW__ 100${i}2 __THREADS__ __OPTS__ -w 16M
iperf3s BW ns 100${i}2 __THREADS__
bw __BW__ 7.0 8.0
@@ -147,11 +147,11 @@ iperf3c ns ::1 100${i}1 __THREADS__ __OPTS__ -w 4M
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 32M
+iperf3c ns ::1 100${i}1 __THREADS__ __OPTS__ -w 8M
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 64M
+iperf3c ns ::1 100${i}1 __THREADS__ __OPTS__ -w 16M
iperf3s BW guest 100${i}1 __THREADS__
bw __BW__ 6.0 6.8
ns ip link set dev lo mtu 65535
@@ -196,11 +196,11 @@ iperf3c ns 127.0.0.1 100${i}1 __THREADS__ __OPTS__ -w 4M
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 32M
+iperf3c ns 127.0.0.1 100${i}1 __THREADS__ __OPTS__ -w 8M
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 64M
+iperf3c ns 127.0.0.1 100${i}1 __THREADS__ __OPTS__ -w 16M
iperf3s BW guest 100${i}1 __THREADS__
bw __BW__ 6.0 6.8
ns ip link set dev lo mtu 65535