You are right, Olivier, thanks for your suggestion - it looks even better.
I've tested this version and the performance is great - will send a v2 shortly.
Regards,
Alex
> -Original Message-
> From: Olivier Matz
> Sent: Thursday, March 19, 2020 5:30
> To: Alexander Kozyrev
> Cc: dev@dpdk
Hi,
On Mon, Mar 16, 2020 at 06:31:40PM +, Alexander Kozyrev wrote:
> Introduction of pinned external buffers doubled memory loads in the
> rte_pktmbuf_prefree_seg() function. Analysis of the generated assembly
> code shows unnecessary load of the pool field of the rte_mbuf structure.
> Here is
Introduction of pinned external buffers doubled memory loads in the
rte_pktmbuf_prefree_seg() function. Analysis of the generated assembly
code shows unnecessary load of the pool field of the rte_mbuf structure.
Here is the snippet of the assembly for "if (!RTE_MBUF_DIRECT(m))":
Before the change t
3 matches
Mail list logo