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>
This commit is contained in:
parent
e8ac8a3b7c
commit
7aaff3387a
1 changed files with 8 additions and 8 deletions
|
@ -59,11 +59,11 @@ iperf3c guest __GW6__%__IFNAME__ 100${i}2 __THREADS__ __OPTS__ -w 4M
|
||||||
iperf3s BW ns 100${i}2 __THREADS__
|
iperf3s BW ns 100${i}2 __THREADS__
|
||||||
bw __BW__ 1.6 1.8
|
bw __BW__ 1.6 1.8
|
||||||
guest ip link set dev __IFNAME__ mtu 9000
|
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__
|
iperf3s BW ns 100${i}2 __THREADS__
|
||||||
bw __BW__ 4.0 5.0
|
bw __BW__ 4.0 5.0
|
||||||
guest ip link set dev __IFNAME__ mtu 65520
|
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__
|
iperf3s BW ns 100${i}2 __THREADS__
|
||||||
bw __BW__ 7.0 8.0
|
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__
|
iperf3s BW ns 100${i}2 __THREADS__
|
||||||
bw __BW__ 1.6 1.8
|
bw __BW__ 1.6 1.8
|
||||||
guest ip link set dev __IFNAME__ mtu 9000
|
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__
|
iperf3s BW ns 100${i}2 __THREADS__
|
||||||
bw __BW__ 4.0 5.0
|
bw __BW__ 4.0 5.0
|
||||||
guest ip link set dev __IFNAME__ mtu 65520
|
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__
|
iperf3s BW ns 100${i}2 __THREADS__
|
||||||
bw __BW__ 7.0 8.0
|
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__
|
iperf3s BW guest 100${i}1 __THREADS__
|
||||||
bw __BW__ 2.0 3.0
|
bw __BW__ 2.0 3.0
|
||||||
ns ip link set dev lo mtu 9000
|
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__
|
iperf3s BW guest 100${i}1 __THREADS__
|
||||||
bw __BW__ 5.0 6.0
|
bw __BW__ 5.0 6.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__ -w 64M
|
iperf3c ns ::1 100${i}1 __THREADS__ __OPTS__ -w 16M
|
||||||
iperf3s BW guest 100${i}1 __THREADS__
|
iperf3s BW guest 100${i}1 __THREADS__
|
||||||
bw __BW__ 6.0 6.8
|
bw __BW__ 6.0 6.8
|
||||||
ns ip link set dev lo mtu 65535
|
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__
|
iperf3s BW guest 100${i}1 __THREADS__
|
||||||
bw __BW__ 2.0 3.0
|
bw __BW__ 2.0 3.0
|
||||||
ns ip link set dev lo mtu 9000
|
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__
|
iperf3s BW guest 100${i}1 __THREADS__
|
||||||
bw __BW__ 5.0 6.0
|
bw __BW__ 5.0 6.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__ -w 64M
|
iperf3c ns 127.0.0.1 100${i}1 __THREADS__ __OPTS__ -w 16M
|
||||||
iperf3s BW guest 100${i}1 __THREADS__
|
iperf3s BW guest 100${i}1 __THREADS__
|
||||||
bw __BW__ 6.0 6.8
|
bw __BW__ 6.0 6.8
|
||||||
ns ip link set dev lo mtu 65535
|
ns ip link set dev lo mtu 65535
|
||||||
|
|
Loading…
Reference in a new issue