Re: [RFC v2 00/24] Per queue configs and large rx buffer support for zcrx
From: Dragos Tatulea
Date: Wed Aug 13 2025 - 11:43:07 EST
Hi Pavel,
On Fri, Aug 08, 2025 at 03:54:23PM +0100, Pavel Begunkov wrote:
> [...]
> For example, for 200Gbit broadcom NIC, 4K vs 32K buffers, and napi and
> userspace pinned to the same CPU:
>
> packets=23987040 (MB=2745098), rps=199559 (MB/s=22837)
> CPU %usr %nice %sys %iowait %irq %soft %idle
> 0 1.53 0.00 27.78 2.72 1.31 66.45 0.22
> packets=24078368 (MB=2755550), rps=200319 (MB/s=22924)
> CPU %usr %nice %sys %iowait %irq %soft %idle
> 0 0.69 0.00 8.26 31.65 1.83 57.00 0.57
>
> And for napi and userspace on different CPUs:
>
> packets=10725082 (MB=1227388), rps=198285 (MB/s=22692)
> CPU %usr %nice %sys %iowait %irq %soft %idle
> 0 0.10 0.00 0.50 0.00 0.50 74.50 24.40
> 1 4.51 0.00 44.33 47.22 2.08 1.85 0.00
> packets=14026235 (MB=1605175), rps=198388 (MB/s=22703)
> CPU %usr %nice %sys %iowait %irq %soft %idle
> 0 0.10 0.00 0.70 0.00 1.00 43.78 54.42
> 1 1.09 0.00 31.95 62.91 1.42 2.63 0.00
>
What did you use for this benchmark, send-zerocopy? Could you share a
branch and how you ran it please?
I have added some initial support to mlx5 for rx-buf-len and would like
to benchmark it and compare it to what you posted.
Thanks,
Dragos