[PATCH] app/dma-perf: replace pktmbuf with mempool objects

Morten Brørup mb at smartsharesystems.com
Tue Dec 12 12:40:02 CET 2023


> From: Vipin Varghese [mailto:vipin.varghese at amd.com]
> Sent: Tuesday, 12 December 2023 11.38
> 
> Replace pktmbuf pool with mempool, this allows increase in MOPS
> especially in lower buffer size. Using Mempool, allows to reduce
> the extra CPU cycles.

I get the point of this change: It tests the performance of copying raw memory objects using respectively rte_memcpy and DMA, without the mbuf indirection overhead.

However, I still consider the existing test relevant: The performance of copying packets using respectively rte_memcpy and DMA.

So, instead of replacing mbufs with mempool objects, please add new test variants using mempool objects.



More information about the stable mailing list