diff options
author | Stefano Brivio <sbrivio@redhat.com> | 2022-11-04 02:20:43 +0100 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2022-11-04 12:04:32 +0100 |
commit | 6c1697764ccd0ae0596fcad0ad5c8434430f8b23 (patch) | |
tree | d233ffc294e3bd792963e810f01926867eeff9eb /test/perf/passt_tcp | |
parent | 667397db11aef9ac1cc0535c3feb48c807e75f79 (diff) | |
download | passt-6c1697764ccd0ae0596fcad0ad5c8434430f8b23.tar passt-6c1697764ccd0ae0596fcad0ad5c8434430f8b23.tar.gz passt-6c1697764ccd0ae0596fcad0ad5c8434430f8b23.tar.bz2 passt-6c1697764ccd0ae0596fcad0ad5c8434430f8b23.tar.lz passt-6c1697764ccd0ae0596fcad0ad5c8434430f8b23.tar.xz passt-6c1697764ccd0ae0596fcad0ad5c8434430f8b23.tar.zst passt-6c1697764ccd0ae0596fcad0ad5c8434430f8b23.zip |
test/perf: Finally drop workaround for virtio_net TX stall
Now that we require 13c6be96618c ("net: stream: add unix socket")
in qemu to run the tests, we can also assume that commit df8d07081718
("virtio-net: fix bottom-half packet TX on asynchronous completion")
is present, as it was merged before that one.
This fixes the issue we attempted to work around in passt TCP and
UDP performance tests: finally drop that stuff.
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'test/perf/passt_tcp')
-rw-r--r-- | test/perf/passt_tcp | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/test/perf/passt_tcp b/test/perf/passt_tcp index 8b912c4..3338f14 100644 --- a/test/perf/passt_tcp +++ b/test/perf/passt_tcp @@ -15,11 +15,6 @@ gtools /sbin/sysctl ip jq nproc seq sleep iperf3 tcp_rr tcp_crr # From neper nstools /sbin/sysctl ip jq nproc seq sleep iperf3 tcp_rr tcp_crr htools bc head sed seq -# In this setup, virtio_net TX queue sometimes hangs, still under investigation -def virtio_net_workaround -guest modprobe -r virtio_net; modprobe virtio_net napi_tx=1; ip link set dev eth0 up; dhclient -4; dhclient -6; sleep 3 -endef - test passt: throughput and latency guest /sbin/sysctl -w net.core.rmem_max=536870912 @@ -58,19 +53,15 @@ tr TCP throughput over IPv6: guest to host bw - bw - -virtio_net_workaround guest ip link set dev __IFNAME__ mtu 1280 iperf3 BW guest ns __GW6__%__IFNAME__ 100${i}2 __THREADS__ __TIME__ __OPTS__ -w 4M bw __BW__ 1.2 1.5 -virtio_net_workaround guest ip link set dev __IFNAME__ mtu 1500 iperf3 BW guest ns __GW6__%__IFNAME__ 100${i}2 __THREADS__ __TIME__ __OPTS__ -w 4M bw __BW__ 1.6 1.8 -virtio_net_workaround guest ip link set dev __IFNAME__ mtu 9000 iperf3 BW guest ns __GW6__%__IFNAME__ 100${i}2 __THREADS__ __TIME__ __OPTS__ -w 8M bw __BW__ 4.0 5.0 -virtio_net_workaround guest ip link set dev __IFNAME__ mtu 65520 iperf3 BW guest ns __GW6__%__IFNAME__ 100${i}2 __THREADS__ __TIME__ __OPTS__ -w 16M bw __BW__ 7.0 8.0 @@ -97,27 +88,21 @@ lat __LAT__ 500 400 tr TCP throughput over IPv4: guest to host -virtio_net_workaround guest ip link set dev __IFNAME__ mtu 256 iperf3 BW guest ns __GW__ 100${i}2 __THREADS__ __TIME__ __OPTS__ -w 1M bw __BW__ 0.2 0.3 -virtio_net_workaround guest ip link set dev __IFNAME__ mtu 576 iperf3 BW guest ns __GW__ 100${i}2 __THREADS__ __TIME__ __OPTS__ -w 1M bw __BW__ 0.5 0.8 -virtio_net_workaround guest ip link set dev __IFNAME__ mtu 1280 iperf3 BW guest ns __GW__ 100${i}2 __THREADS__ __TIME__ __OPTS__ -w 4M bw __BW__ 1.2 1.5 -virtio_net_workaround guest ip link set dev __IFNAME__ mtu 1500 iperf3 BW guest ns __GW__ 100${i}2 __THREADS__ __TIME__ __OPTS__ -w 4M bw __BW__ 1.6 1.8 -virtio_net_workaround guest ip link set dev __IFNAME__ mtu 9000 iperf3 BW guest ns __GW__ 100${i}2 __THREADS__ __TIME__ __OPTS__ -w 8M bw __BW__ 4.0 5.0 -virtio_net_workaround guest ip link set dev __IFNAME__ mtu 65520 iperf3 BW guest ns __GW__ 100${i}2 __THREADS__ __TIME__ __OPTS__ -w 16M bw __BW__ 7.0 8.0 |