Network throughput not reaching line rate. Need clarification on iflib.
Bruce A. Mah
bmah at kitchenlab.org
Fri Feb 28 18:36:26 UTC 2020
If memory serves me right, Daniel Ebdrup Jensen wrote:
> Yes, iperf3 will default to single-threaded packet generation, et al. which
> 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 at selasky.org>
> wrote:
>
>> 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 at freebsd.org mailing list
>> https://lists.freebsd.org/mailman/listinfo/freebsd-hackers
>> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe at freebsd.org"
>>
> _______________________________________________
> freebsd-hackers at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe at freebsd.org"
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 554 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-drivers/attachments/20200228/f6346f55/attachment.sig>
More information about the freebsd-drivers
mailing list