From 1134ce88fe562dc2e95780a54835fae9eb9070f0 Mon Sep 17 00:00:00 2001 From: Stefano Brivio Date: Thu, 22 Sep 2022 16:40:28 +0200 Subject: test/perf: Wait for neper servers in guest to be ready before starting client Starting tcp_rr, tcp_crr, udp_rr servers in the guest takes a bit longer than starting the corresponding clients on the host, and we end up starting clients before servers unless we add a delay there. Signed-off-by: Stefano Brivio --- test/perf/passt_udp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test/perf/passt_udp') diff --git a/test/perf/passt_udp b/test/perf/passt_udp index fd2ddc1..3ad630e 100644 --- a/test/perf/passt_udp +++ b/test/perf/passt_udp @@ -138,6 +138,7 @@ lat - lat - lat - guestb udp_rr --nolog -P 10001 -C 10011 -6 +sleep 1 nsout LAT udp_rr --nolog -P 10001 -C 10011 -6 -c -H ::1 | sed -n 's/^throughput=\(.*\)/\1/p' lat __LAT__ 200 150 ns ip link set dev lo mtu 65535 @@ -171,6 +172,7 @@ lat - lat - lat - guestb udp_rr --nolog -P 10001 -C 10011 -4 +sleep 1 nsout LAT udp_rr --nolog -P 10001 -C 10011 -4 -c -H 127.0.0.1 | sed -n 's/^throughput=\(.*\)/\1/p' lat __LAT__ 200 150 ns ip link set dev lo mtu 65535 -- cgit v1.2.3