From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from gandalf.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) by passt.top (Postfix) with ESMTPS id A8FB95A005E for ; Wed, 15 Feb 2023 07:30:42 +0100 (CET) Received: by gandalf.ozlabs.org (Postfix, from userid 1007) id 4PGp9W1jqzz4x5W; Wed, 15 Feb 2023 17:30:39 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gibson.dropbear.id.au; s=201602; t=1676442639; bh=dK03J/4/3F6MCtpwCf8NKM5fLYhbS1q104Alkuu5f0o=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=C0hN9XhFYcxVnJRXH83+dUux4G6xRSCv8s8sgqb3VvzX44UyQYQv0CZuu8ETjnYV/ qxFOtW5twlzk1fDfgF7LdouzfnGxGuvlpLRUEyhCXlbUj+PksBBvoBS0LiiynyabcV tzteER7wcWjk6pH/Yh16aOqNxJvXVsRISYWX2Tyk= Date: Wed, 15 Feb 2023 16:50:44 +1100 From: David Gibson To: Stefano Brivio Subject: Re: Problem with IPv4 performance tests Message-ID: References: <20230214152231.3f266ea6@elisabeth> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="eVIKvwchJ4zbVOG+" Content-Disposition: inline In-Reply-To: <20230214152231.3f266ea6@elisabeth> Message-ID-Hash: VDV6JY7D3L6Y33DCGY42UBKR7W6EE6XM X-Message-ID-Hash: VDV6JY7D3L6Y33DCGY42UBKR7W6EE6XM 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 X-Mailman-Version: 3.3.3 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: --eVIKvwchJ4zbVOG+ Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Feb 14, 2023 at 03:22:31PM +0100, Stefano Brivio wrote: > On Tue, 14 Feb 2023 12:59:02 +1100 > David Gibson wrote: >=20 > > Hi, > >=20 > > I've been running the tests for the first time since getting back from > > holiday. I seem to be getting a consistent failure on the first batch > > of IPv4 throughput tests, although the IPv6 tests before it worked fine: > >=20 > > =3D=3D=3D perf/passt_tcp > > > passt: throughput and latency =20 > > Throughput in Gbps, latency in =B5s, one thread at 4.8 GHz, 8 streams > > = MTU: | 256B | 576B | 1280B | 1500B | 9000B | 65520B | > > = |--------|--------|--------|--------|--------|--------| > > TCP throughput over IPv6: guest to host = | - | - | 6.5 | 7.6 | 20.7 | 28.1 | > > TCP RR latency over IPv6: guest to host = | - | - | - | - | - | 74 | > > TCP CRR latency over IPv6: guest to host = | - | - | - | - | - | 227 | > > = |--------|--------|--------|--------|--------|--------| > > TCP throughput over IPv4: guest to host = | 0 | 0 | 0 | 0 | 0 | 0 | > > TCP RR latency over IPv4: guest to host = | - | - | - | - | - | > >=20 > > I haven't seen a failure like this before, has anyone else seen > > something like this? >=20 > Whoa. I haven't, not even occasionally. I thought that was probably the case, but still, drat :(. > > I'm not getting any messages from the iperf client at all - like it > > has no connectivity whatsoever, but the non-perf tests are all > > passing. >=20 > The only obvious difference I see are port numbers: that would be port > 10003 for functionality tests, and 10002 for throughput tests. Maybe > you have something else already bound to it...? >=20 > Or could it be due to the "new" virtio-net TX hang, fixed by kernel > commit d71ebe8114b4 ("virtio-net: correctly enable callback during > start_xmit")? The 256-byte MTU test is the one most likely to trigger > that condition... Maybe, I'll look at those options when I get the chance. --=20 David Gibson | 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 --eVIKvwchJ4zbVOG+ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEO+dNsU4E3yXUXRK2zQJF27ox2GcFAmPscpgACgkQzQJF27ox 2GcnLw/9EnfTrtOGu4c0QJPUWp3k9JLCaDHGt08smiQAbOmSAdzYPPatf7/qLJhw ZZF/5dHGxuu7Cy4HPSqqllQipSbPKHbg21hB50uSU6ROihyyQpsf4pkq5U2cLNJi jxWMwxyldGX/KiNyqE4TegLUmf/IKyejj3puZbhU61YvGptCR4HrJpmtz4BcdxD/ Eb1m+JwvHaevC4UgZ+A+VPXcp1s64hKEHl1p4r/ZWouSjD1xQZ5PbYOOjbkjSUGe g0G8sPdkoDdCnMXw5we6iHSc/aLCNkQfinn+nuen5ClAANtAEZLRibpA4HD02uia ujedlXywwJ8ewTZZQ8oRcptSzZiRHXqaI48hn+Ek/U4nn1TTjqHQPv5Sb0hWy+Q1 H/KFKqnU2fmlutXInZ9BXrYk1fYbaS2rx5oL5hABLiJjKOZIIUhKIdGhdUtTjzGB exexWWugaWUyF/EWmZyPjtWseNsrt+2tuwy3Z7ffhIh4jpiSuyoXtfKSS3+fG+/U TESP0e/cIWS4Zm8RDqjc4CvOqFmKMhqAxXHOtXf5CI8hrAUiszutx4YGk6nfPaR1 /cUBQp6+bCu/NQvaUeDs1QH7jOFdYciCpO8HQORsCx+OSbLpNtN7+inQ9Jg1VdTn OQhAm+ETWKrbHN/r3L85Nlzvp7LEzB4FeuknFzYcDu8l6Xa+PIU= =6mTf -----END PGP SIGNATURE----- --eVIKvwchJ4zbVOG+--