From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: passt.top; dmarc=none (p=none dis=none) header.from=gibson.dropbear.id.au Authentication-Results: passt.top; dkim=pass (2048-bit key; secure) header.d=gibson.dropbear.id.au header.i=@gibson.dropbear.id.au header.a=rsa-sha256 header.s=202510 header.b=xF50UOGT; dkim-atps=neutral Received: from mail.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) by passt.top (Postfix) with ESMTPS id 156295A026F for ; Mon, 13 Oct 2025 06:39:41 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gibson.dropbear.id.au; s=202510; t=1760330378; bh=q0bAJhXG8K8iNmWSgzKrzXKrHsi1CLMuDP7srSHvS+E=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=xF50UOGT+uaV3ox3jlrp7bfPfQVp74Sh1lQYJ5ShADpXmFyJR4y/TTnBbAOgpK4eV XVZrYiByQPgGdBanA00hdrpzzGWQUhl5E777xDAVgkKiIEP+kaM/lIOinZQyAewYwj wQIP8u9lxFchMRAjalHo+AWEd93yVfisuRqAXdemrpu60YOjUmu4H3jH9IrkmR8Ja0 Ri2oxVeOhViObbr19MYs8vJdjVJjBICtlgwnshhjfE7PnNkLLqIBREk10jPlwJHkE2 KVydMkB19PqHB1ETCtcHFQJRWTin0/cmFz57g0xFBrMg/ZW3BiwTW1KiAPBKAFfEhC Ffw8u1/dVWg0Q== Received: by gandalf.ozlabs.org (Postfix, from userid 1007) id 4clPlG5gGVz4w9m; Mon, 13 Oct 2025 15:39:38 +1100 (AEDT) Date: Mon, 13 Oct 2025 15:39:32 +1100 From: David Gibson To: Yumei Huang Subject: Re: [PATCH v2] test: Update the threshold value for some perf tests Message-ID: References: <20251013013141.5983-1-yuhuang@redhat.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="ZsOlAkI5bOOv/SM8" Content-Disposition: inline In-Reply-To: <20251013013141.5983-1-yuhuang@redhat.com> Message-ID-Hash: 74H6IENZXGS4EXWOHF3W5TAFVJWO3AWY X-Message-ID-Hash: 74H6IENZXGS4EXWOHF3W5TAFVJWO3AWY X-MailFrom: dgibson@gandalf.ozlabs.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: passt-dev@passt.top, sbrivio@redhat.com X-Mailman-Version: 3.3.8 Precedence: list List-Id: Development discussion and patches for passt Archived-At: Archived-At: List-Archive: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: --ZsOlAkI5bOOv/SM8 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Oct 13, 2025 at 09:31:41AM +0800, Yumei Huang wrote: > The values are adjusted to better match results observerd on the > test hardware with 56-core Xeon Gold 6330 CPU and 126 GB RAM. Interesting. That CPU is older than the one on my laptop (i7-12800H), which comfortably hit the old thresholds, but by less than a year (Q2 2021 versus Q1 2022). At the same time it's a much fancier model for its generation. I thought the Xeons might have been built with better memory bandwidth which probably has more effect on passt than the CPU's computational speed. I'm not certain what machine Stefano was using to estimate the existing thresholds, but I'm guessing it was passt.top which is an AMD Ryzen 5 3600 - older than both of the above (2019). passt is single threaded so the Xeon's many cores wouldn't help it, but it's still surprising that it can't keep up with the other machines we've tried on. >=20 > Link: https://bugs.passt.top/show_bug.cgi?id=3D156 > Signed-off-by: Yumei Huang > --- > test/perf/passt_tcp | 6 +++--- > test/perf/pasta_udp | 8 ++++---- > 2 files changed, 7 insertions(+), 7 deletions(-) >=20 > diff --git a/test/perf/passt_tcp b/test/perf/passt_tcp > index 5978c49..1a97a63 100644 > --- a/test/perf/passt_tcp > +++ b/test/perf/passt_tcp > @@ -87,7 +87,7 @@ lat - > lat - > nsb tcp_crr --nolog -6 > gout LAT tcp_crr --nolog -l1 -6 -c -H __MAP_NS6__ | sed -n 's/^throughpu= t=3D\(.*\)/\1/p' > -lat __LAT__ 500 400 > +lat __LAT__ 550 450 > =20 > tr TCP throughput over IPv4: guest to host > iperf3s ns 10002 > @@ -137,7 +137,7 @@ lat - > lat - > nsb tcp_crr --nolog -4 > gout LAT tcp_crr --nolog -l1 -4 -c -H __MAP_NS4__ | sed -n 's/^throughpu= t=3D\(.*\)/\1/p' > -lat __LAT__ 500 400 > +lat __LAT__ 550 450 > =20 > tr TCP throughput over IPv6: host to guest > iperf3s guest 10001 > @@ -208,6 +208,6 @@ lat - > guestb tcp_crr --nolog -P 10001 -C 10011 -4 > sleep 1 > nsout LAT tcp_crr --nolog -l1 -P 10001 -C 10011 -4 -c -H 127.0.0.1 | sed= -n 's/^throughput=3D\(.*\)/\1/p' > -lat __LAT__ 500 300 > +lat __LAT__ 500 350 > =20 > te > diff --git a/test/perf/pasta_udp b/test/perf/pasta_udp > index 3a7054c..c51bb6c 100644 > --- a/test/perf/pasta_udp > +++ b/test/perf/pasta_udp > @@ -39,7 +39,7 @@ iperf3s host 10003 > # (datagram size) =3D (packet size) - 48: 40 bytes of IPv6 header, 8 of = UDP header > =20 > iperf3 BW ns ::1 10003 __TIME__ __OPTS__ -b 5G -l 1452 > -bw __BW__ 1.0 1.5 > +bw __BW__ 0.8 1.2 > iperf3 BW ns ::1 10003 __TIME__ __OPTS__ -b 10G -l 3972 > bw __BW__ 1.2 1.8 > iperf3 BW ns ::1 10003 __TIME__ __OPTS__ -b 30G -l 16336 > @@ -64,7 +64,7 @@ iperf3s host 10003 > # (datagram size) =3D (packet size) - 28: 20 bytes of IPv4 header, 8 of = UDP header > =20 > iperf3 BW ns 127.0.0.1 10003 __TIME__ __OPTS__ -b 5G -l 1372 > -bw __BW__ 1.0 1.5 > +bw __BW__ 0.8 1.2 > iperf3 BW ns 127.0.0.1 10003 __TIME__ __OPTS__ -b 10G -l 3972 > bw __BW__ 1.2 1.8 > iperf3 BW ns 127.0.0.1 10003 __TIME__ __OPTS__ -b 30G -l 16356 > @@ -88,7 +88,7 @@ tr UDP throughput over IPv6: host to ns > iperf3s ns 10002 > =20 > iperf3 BW host ::1 10002 __TIME__ __OPTS__ -b 5G -l 1452 > -bw __BW__ 1.0 1.5 > +bw __BW__ 0.8 1.2 > iperf3 BW host ::1 10002 __TIME__ __OPTS__ -b 10G -l 3972 > bw __BW__ 1.2 1.8 > iperf3 BW host ::1 10002 __TIME__ __OPTS__ -b 30G -l 16336 > @@ -111,7 +111,7 @@ lat __LAT__ 200 150 > tr UDP throughput over IPv4: host to ns > iperf3s ns 10002 > iperf3 BW host 127.0.0.1 10002 __TIME__ __OPTS__ -b 5G -l 1372 > -bw __BW__ 1.0 1.5 > +bw __BW__ 0.8 1.2 > iperf3 BW host 127.0.0.1 10002 __TIME__ __OPTS__ -b 10G -l 3972 > bw __BW__ 1.2 1.8 > iperf3 BW host 127.0.0.1 10002 __TIME__ __OPTS__ -b 30G -l 16356 > --=20 > 2.47.0 >=20 --=20 David Gibson (he or they) | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you, not the other way | around. http://www.ozlabs.org/~dgibson --ZsOlAkI5bOOv/SM8 Content-Type: application/pgp-signature; name=signature.asc -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEO+dNsU4E3yXUXRK2zQJF27ox2GcFAmjsgoQACgkQzQJF27ox 2GedDA//fdayIVc123aP1lLrpkzMpWmL/fmvc0npAdfBzBgrVqmqV8c8Vj7rQNH5 hWIVlFMpYjibLJPO/6ctpyyOu0z0yJ7mKGL/r5Lvn8EHjRLOgO6BUk3hylop+qSX RwyFuh2ZClXJ7hWbEWpicg6ZFRRDrrW+wI+7o2ZD1lqn4+MAayhFG4fNOJL97j6X oxzxNGBtX9osjYIfwCnY7eo/GNNbZgHdzZ5o3zFCl4BTKl/NhSQP2ruHAiDziDyN MNAnpFAfHyAUwcAg91L59vTrlMUDnQunODYY4srepGhafkgMoqAbhvAIjylAeXn1 Dkhaj9hln851QO4j2aJFV71pt4rAbPqfVbtza/wTDI8jqkug/d39AH8egBoWj5zg 6avN1HracdPusiHf+5+1L6hX/jeqSyuTPsaxq45oIy8btcIaskebtIdKCctcm3JH 0Z2oxD8DldEMqfz62zJdjeXdqeH1NX7OzV+K0LBS7L3HhZtu7JjLzyFhPW6VMb2+ wUzhM7f+oDF3qCrzONXMWuUWCXsCzMpngiSY8U0AEwrjoStlv37OUOTOz1byJMQf uhc3cZlkRNbMt9AR9I4UtE1uPkOHybonuqud/JfbirkLk8kanueMMEGX71n/Jsjg l8/FcH12fLM8v3lsVSunVgOBleXW/XAOq1BcgQ05nlY+WFqzCsE= =/ZBi -----END PGP SIGNATURE----- --ZsOlAkI5bOOv/SM8--