1
0
mirror of https://passt.top/passt synced 2024-07-07 02:05:54 +00:00
passt/test/perf
David Gibson 2926970523 test/perf: Small MTUs for spliced TCP aren't interesting
Currently we make TCP throughput measurements for spliced connections with
a number of different MTU values.  However, the results from this aren't
really interesting.

Unlike with tap connections, spliced connections only involve the loopback
interface on host and container, not a "real" external interface.  lo
typically has an MTU of 65535 and there is very little reason to ever
change that.  So, the measurements for smaller MTUs are rarely going to be
relevant.

In addition, the fact that we can offload all the {de,}packetization to the
kernel with splice(2) means that the throughput difference between these
MTUs isn't very great anyway.

Remove the short MTUs and only show spliced throughput for the normal
65535 byte loopback MTU.  This reduces runtime of the performance tests on
my laptop by about 1 minute (out of ~24 minutes).

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
2023-11-07 09:56:13 +01:00
..
passt_tcp test/perf: Start iperf3 server less often 2023-11-07 09:56:10 +01:00
passt_udp test/perf: Start iperf3 server less often 2023-11-07 09:56:10 +01:00
pasta_tcp test/perf: Small MTUs for spliced TCP aren't interesting 2023-11-07 09:56:13 +01:00
pasta_udp test/perf: Start iperf3 server less often 2023-11-07 09:56:10 +01:00