From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Brivio To: passt-dev@passt.top Subject: [PATCH 1/7] test/perf: Always use /sbin/sysctl in tcp test Date: Wed, 21 Sep 2022 22:55:01 +0200 Message-ID: <20220921205507.2742203-2-sbrivio@redhat.com> In-Reply-To: <20220921205507.2742203-1-sbrivio@redhat.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5079612708120773381==" --===============5079612708120773381== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Signed-off-by: Stefano Brivio --- test/perf/passt_tcp | 6 +++--- test/perf/pasta_tcp | 6 +++--- 2 files changed, 6 insertions(+), 6 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=3D"4096 131072 2684= 35456" guest /sbin/sysctl -w net.ipv4.tcp_wmem=3D"4096 131072 268435456" guest /sbin/sysctl -w net.ipv4.tcp_timestamps=3D0 =20 -ns sysctl -w net.ipv4.tcp_rmem=3D"4096 524288 134217728" -ns sysctl -w net.ipv4.tcp_wmem=3D"4096 524288 134217728" -ns sysctl -w net.ipv4.tcp_timestamps=3D0 +ns /sbin/sysctl -w net.ipv4.tcp_rmem=3D"4096 524288 134217728" +ns /sbin/sysctl -w net.ipv4.tcp_wmem=3D"4096 524288 134217728" +ns /sbin/sysctl -w net.ipv4.tcp_timestamps=3D0 =20 gout GW ip -j -4 route show|jq -rM '.[] | select(.dst =3D=3D "default").gate= way' gout GW6 ip -j -6 route show|jq -rM '.[] | select(.dst =3D=3D "default").gat= eway' diff --git a/test/perf/pasta_tcp b/test/perf/pasta_tcp index 602ce52..cc21075 100644 --- a/test/perf/pasta_tcp +++ b/test/perf/pasta_tcp @@ -16,9 +16,9 @@ nstools /sbin/sysctl nproc ip seq sleep iperf3 tcp_rr tcp_c= rr jq sed =20 test pasta: throughput and latency (local connections) =20 -ns sysctl -w net.ipv4.tcp_rmem=3D"131072 524288 134217728" -ns sysctl -w net.ipv4.tcp_wmem=3D"131072 524288 134217728" -ns sysctl -w net.ipv4.tcp_timestamps=3D0 +ns /sbin/sysctl -w net.ipv4.tcp_rmem=3D"131072 524288 134217728" +ns /sbin/sysctl -w net.ipv4.tcp_wmem=3D"131072 524288 134217728" +ns /sbin/sysctl -w net.ipv4.tcp_timestamps=3D0 =20 =20 set THREADS 2 --=20 2.35.1 --===============5079612708120773381==--