Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Feb 2020 10:36:17 -0800
From:      "Bruce A. Mah" <bmah@kitchenlab.org>
To:        Daniel Ebdrup Jensen <debdrup@freebsd.org>, freebsd-drivers@freebsd.org, FreeBSD Hackers <freebsd-hackers@freebsd.org>
Subject:   Re: Network throughput not reaching line rate. Need clarification on iflib.
Message-ID:  <16c58e55-9b0f-54d0-9aaa-f1b574048671@freebsd.org>
In-Reply-To: <CAJEDNsi%2B-zC=LEv5y67X7pcKP83hLP=uSqcZRwdye_gWKRLjvQ@mail.gmail.com>
References:  <CAAO%2BANPvfRhLiCZX=0UWDToKWNACrZ66JgOd%2Bs_p9fAgc%2BrWTw@mail.gmail.com> <7cfc7c52-b548-19bd-343b-899aca45c654@selasky.org> <CAJEDNsi%2B-zC=LEv5y67X7pcKP83hLP=uSqcZRwdye_gWKRLjvQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--yp9z0dSYmR4pBWMgl78MLE03sI0ggup6Y
Content-Type: multipart/mixed; boundary="YoOZ58E6dQVYHmzSFzy7ncj7qzHR290ow"

--YoOZ58E6dQVYHmzSFzy7ncj7qzHR290ow
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable

If memory serves me right, Daniel Ebdrup Jensen wrote:
> Yes, iperf3 will default to single-threaded packet generation, et al. w=
hich
> favours fast cores with frequency boosting facilities.
> You might want to use iperf2 as that's properly multi-threaded, or you =
can
> use pkt-gen out of src/tools/tools/netmap/ or ports/net/pkt-gen.

While it's true that iperf3 is single-threaded, it should be capable of
saturating a 10GE link with a single TCP connection, given proper
command-line arguments (in particular, specifying a sufficiently large
socket-buffer size with the -w option).

But based on the symptom of packet loss, I'd say the single-threaded vs.
multi-threaded argument might not be relevant to the problem that the OP
has.

Bruce.

> On Fri, Feb 28, 2020 at 10:35 AM Hans Petter Selasky <hps@selasky.org>
> wrote:
>=20
>> On 2020-02-28 10:03, Rajesh Kumar wrote:
>>> Hi FreeBSD team,
>>>
>>> I am writing a network driver using iflib framework and using "iperf3=
"
>> tool
>>> for performance testing.
>>>
>>
>> Is there any difference with "iperf" tool and using multiple threads? =
I
>> think iperf3 is single threaded ???
>>
>> --HPS
>>
>> _______________________________________________
>> freebsd-hackers@freebsd.org mailing list
>> https://lists.freebsd.org/mailman/listinfo/freebsd-hackers
>> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.=
org"
>>
> _______________________________________________
> freebsd-hackers@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.o=
rg"
>=20



--YoOZ58E6dQVYHmzSFzy7ncj7qzHR290ow--

--yp9z0dSYmR4pBWMgl78MLE03sI0ggup6Y
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Comment: Using GnuPG with Thunderbird - https://www.enigmail.net/

iQEzBAEBCgAdFiEE+Fo4IENp9xo01E6DSYSRCoyq7ooFAl5ZXaQACgkQSYSRCoyq
7ooCJQgAmtjKq8Al1R2qljwSIGMOCEmScsBDkLyaML7957xdaVTPPzjWizrWCiIi
KapqGUrcRv2lBYBSu72dClNiWraBoFZaHJlW3P6ox61enZzXxz1bQK0RkOu7CJ3X
yBz4A+IjEgKOysgZJ34SzhB8dFYVhtwHHUprOMc5SUZQ3waRU8JU2KM8jett9mg0
7BO21tJ07ss42DXEVLNLVfg5sHEBe4Da0WTBeZT/ViaHsRaHvi5ENGMbnzjlpCma
+YQhCo0Tt1ZTImdc/rZ7PaE4yVfb9fJhU0UqKS1MzZNm9QFn1k0CQzHRmy1IlXtO
jEwgBJjooGey1czpCE65IsliCBnQ3g==
=wZrW
-----END PGP SIGNATURE-----

--yp9z0dSYmR4pBWMgl78MLE03sI0ggup6Y--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?16c58e55-9b0f-54d0-9aaa-f1b574048671>