aboutgitcodebugslistschat
path: root/test/perf/passt_tcp
diff options
context:
space:
mode:
authorStefano Brivio <sbrivio@redhat.com>2022-09-18 15:38:52 +0200
committerStefano Brivio <sbrivio@redhat.com>2022-09-22 16:53:35 +0200
commitdf3a35c203c68a6e828dc7fce061d9036dd8af7b (patch)
treea8fd602cab4dd9a6bd1647824e71ad6e95b35481 /test/perf/passt_tcp
parent47d424d083956d2e77dde2a27c93c70bc7e32d21 (diff)
downloadpasst-df3a35c203c68a6e828dc7fce061d9036dd8af7b.tar
passt-df3a35c203c68a6e828dc7fce061d9036dd8af7b.tar.gz
passt-df3a35c203c68a6e828dc7fce061d9036dd8af7b.tar.bz2
passt-df3a35c203c68a6e828dc7fce061d9036dd8af7b.tar.lz
passt-df3a35c203c68a6e828dc7fce061d9036dd8af7b.tar.xz
passt-df3a35c203c68a6e828dc7fce061d9036dd8af7b.tar.zst
passt-df3a35c203c68a6e828dc7fce061d9036dd8af7b.zip
test/perf: Always use /sbin/sysctl in tcp test
Signed-off-by: Stefano Brivio <sbrivio@redhat.com> Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'test/perf/passt_tcp')
-rw-r--r--test/perf/passt_tcp6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/perf/passt_tcp b/test/perf/passt_tcp
index f0cfa1b..bee4f9e 100644
--- a/test/perf/passt_tcp
+++ b/test/perf/passt_tcp
@@ -30,9 +30,9 @@ guest /sbin/sysctl -w net.ipv4.tcp_rmem="4096 131072 268435456"
guest /sbin/sysctl -w net.ipv4.tcp_wmem="4096 131072 268435456"
guest /sbin/sysctl -w net.ipv4.tcp_timestamps=0
-ns sysctl -w net.ipv4.tcp_rmem="4096 524288 134217728"
-ns sysctl -w net.ipv4.tcp_wmem="4096 524288 134217728"
-ns sysctl -w net.ipv4.tcp_timestamps=0
+ns /sbin/sysctl -w net.ipv4.tcp_rmem="4096 524288 134217728"
+ns /sbin/sysctl -w net.ipv4.tcp_wmem="4096 524288 134217728"
+ns /sbin/sysctl -w net.ipv4.tcp_timestamps=0
gout GW ip -j -4 route show|jq -rM '.[] | select(.dst == "default").gateway'
gout GW6 ip -j -6 route show|jq -rM '.[] | select(.dst == "default").gateway'