aboutgitcodebugslistschat
path: root/test/perf/pasta_udp
diff options
context:
space:
mode:
authorStefano Brivio <sbrivio@redhat.com>2021-10-21 04:54:05 +0200
committerStefano Brivio <sbrivio@redhat.com>2021-10-21 04:54:05 +0200
commitc3f8e4d2cd55e57419478ff849265d1e342e7990 (patch)
treed4e204ea27ae268f8df03557d51c72b5c47f2108 /test/perf/pasta_udp
parent1f3d6f96b5bb1ec59fed27d4048166187fc62d41 (diff)
downloadpasst-c3f8e4d2cd55e57419478ff849265d1e342e7990.tar
passt-c3f8e4d2cd55e57419478ff849265d1e342e7990.tar.gz
passt-c3f8e4d2cd55e57419478ff849265d1e342e7990.tar.bz2
passt-c3f8e4d2cd55e57419478ff849265d1e342e7990.tar.lz
passt-c3f8e4d2cd55e57419478ff849265d1e342e7990.tar.xz
passt-c3f8e4d2cd55e57419478ff849265d1e342e7990.tar.zst
passt-c3f8e4d2cd55e57419478ff849265d1e342e7990.zip
test/perf: Actually load passt enough to test UDP performance
With recent improvements, we're not CPU-bound at all while testing UDP performance. Give the VM more memory and CPUs, forward two additional ports, start up to four threads in parallel, and give single iperf3 threads higher bandwidth targets. Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'test/perf/pasta_udp')
-rw-r--r--test/perf/pasta_udp16
1 files changed, 8 insertions, 8 deletions
diff --git a/test/perf/pasta_udp b/test/perf/pasta_udp
index 0968379..39a6e24 100644
--- a/test/perf/pasta_udp
+++ b/test/perf/pasta_udp
@@ -141,19 +141,19 @@ th MTU 1500B 4000B 16384B 65520B
tr UDP throughput over IPv6: ns to host
ns ip link set dev __IFNAME__ mtu 1500
-iperf3c ns __GW6__%__IFNAME__ 100${i}3 __THREADS__ __OPTS__ -b 1G
+iperf3c ns __GW6__%__IFNAME__ 100${i}3 __THREADS__ __OPTS__ -b 2G
iperf3s BW host 100${i}3 __THREADS__
bw __BW__ 0.3 0.5
ns ip link set dev __IFNAME__ mtu 4000
-iperf3c ns __GW6__%__IFNAME__ 100${i}3 __THREADS__ __OPTS__ -b 2G
+iperf3c ns __GW6__%__IFNAME__ 100${i}3 __THREADS__ __OPTS__ -b 3G
iperf3s BW host 100${i}3 __THREADS__
bw __BW__ 0.5 0.8
ns ip link set dev __IFNAME__ mtu 16384
-iperf3c ns __GW6__%__IFNAME__ 100${i}3 __THREADS__ __OPTS__ -b 3G
+iperf3c ns __GW6__%__IFNAME__ 100${i}3 __THREADS__ __OPTS__ -b 4G
iperf3s BW host 100${i}3 __THREADS__
bw __BW__ 3.0 4.0
ns ip link set dev __IFNAME__ mtu 65520
-iperf3c ns __GW6__%__IFNAME__ 100${i}3 __THREADS__ __OPTS__ -b 3G
+iperf3c ns __GW6__%__IFNAME__ 100${i}3 __THREADS__ __OPTS__ -b 6G
iperf3s BW host 100${i}3 __THREADS__
bw __BW__ 6.0 7.0
@@ -169,19 +169,19 @@ lat __LAT__ 200 150
tr UDP throughput over IPv4: ns to host
ns ip link set dev __IFNAME__ mtu 1500
-iperf3c ns __GW__ 100${i}3 __THREADS__ __OPTS__ -b 1G
+iperf3c ns __GW__ 100${i}3 __THREADS__ __OPTS__ -b 2G
iperf3s BW host 100${i}3 __THREADS__
bw __BW__ 0.3 0.5
ns ip link set dev __IFNAME__ mtu 4000
-iperf3c ns __GW__ 100${i}3 __THREADS__ __OPTS__ -b 2G
+iperf3c ns __GW__ 100${i}3 __THREADS__ __OPTS__ -b 3G
iperf3s BW host 100${i}3 __THREADS__
bw __BW__ 0.5 0.8
ns ip link set dev __IFNAME__ mtu 16384
-iperf3c ns __GW__ 100${i}3 __THREADS__ __OPTS__ -b 3G
+iperf3c ns __GW__ 100${i}3 __THREADS__ __OPTS__ -b 4G
iperf3s BW host 100${i}3 __THREADS__
bw __BW__ 3.0 4.0
ns ip link set dev __IFNAME__ mtu 65520
-iperf3c ns __GW__ 100${i}3 __THREADS__ __OPTS__ -b 3G
+iperf3c ns __GW__ 100${i}3 __THREADS__ __OPTS__ -b 6G
iperf3s BW host 100${i}3 __THREADS__
bw __BW__ 6.0 7.0