1
0
mirror of https://passt.top/passt synced 2024-07-04 08:52:40 +00:00
passt/test/lib
David Gibson e516809a74 test/perf: Start iperf3 server less often
Currently we start both the iperf3 server(s) and client(s) afresh each time
we want to make a bandwidth measurement.  That's not really necessary as
usually a whole batch of bandwidth measurements can use the same server.

Split up the iperf3 directive into 3 directives: iperf3s to start the
server, iperf3 to make a measurement and iperf3k to kill the server, so
that we can start the server less often.  This - and more importantly, the
reduced number of waits for the server to be ready - reduces runtime of the
performance tests on my laptop by about 4m (out of ~28minutes).

For now we still restart the server between IPv4 and IPv6 tests.  That's
because in some cases the latency measurements we make in between use the
same ports.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
2023-11-07 09:56:10 +01:00
..
context test: Use "nstool exec" to slightly simplify tests 2023-04-08 01:12:08 +02:00
layout passt: Relicense to GPL 2.0, or any later version 2023-04-06 18:00:33 +02:00
layout_ugly passt: Relicense to GPL 2.0, or any later version 2023-04-06 18:00:33 +02:00
perf_report passt: Relicense to GPL 2.0, or any later version 2023-04-06 18:00:33 +02:00
setup test: Use "nstool exec" to slightly simplify tests 2023-04-08 01:12:08 +02:00
setup_ugly passt: Relicense to GPL 2.0, or any later version 2023-04-06 18:00:33 +02:00
term passt: Relicense to GPL 2.0, or any later version 2023-04-06 18:00:33 +02:00
test test/perf: Start iperf3 server less often 2023-11-07 09:56:10 +01:00
util passt: Relicense to GPL 2.0, or any later version 2023-04-06 18:00:33 +02:00
video passt: Relicense to GPL 2.0, or any later version 2023-04-06 18:00:33 +02:00