From c3f8e4d2cd55e57419478ff849265d1e342e7990 Mon Sep 17 00:00:00 2001 From: Stefano Brivio Date: Thu, 21 Oct 2021 04:54:05 +0200 Subject: 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 --- test/perf/pasta_udp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'test/perf/pasta_udp') 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 -- cgit v1.2.3