by ra1n85 · 6y ago · 0 comments
I just tested this with two hosts with 4.14.127 upstream kernel and upstream mlx5 driver, and mellanox connectx-5 card. Using 16 iperf threads
[SUM] 0.0-10.0 sec 85.1 Gbits/sec
That's pretty close with no tuning, and well beyond 10gb/s we mentioned earlier
https://events19.linuxfoundation.org/wp-content/uploads/2017...
https://www.redhat.com/en/blog/pushing-limits-kernel-network...
https://kernel-recipes.org/en/2014/ndiv-a-low-overhead-netwo...
The point of discussion here is that the Linux kernel struggles to do line rate 10Gbps. This was misinterpreted as "the Linux kernel struggles to do 10Gbps".
1538 bytes is 12,304 bits. 10,000,000,000 bits/sec / 12,304 bits/packet is 812,744 packets per second.
Now try it with 64 byte packets, which are 84 bytes on the wire.
14,880,952 packets per second.
And this is 10gbps.