In order to test the performance degradation of packet fragmentation and multi-segment transmission.
I used DPDK 23.03 and add rx offload capabilities:
and tx offload capabilities:
In addition, I change the size of the mbuf so that multiple mbufs can store a data packet together. Surprisingly, when we use 512B mbuf to store 256B packets, the forwarding bandwidth of Mellanox will still decrease. However, the Mbuf with a size of 512B can store 256B packets without using multiple segments. So this performance drop is not due to packet fragmentation.
So what is the reason for this performance drop? Is there any way to suppress this performance drop？
The test results can be found in the attachment.
test-THROUGHPUT.pdf (13.6 KB)