[dpdk-dev] rte_mbuf.next in 2nd cacheline

Damjan Marion (damarion) damarion at cisco.com
Wed Jun 10 23:47:52 CEST 2015


Hi,

We noticed 7% performance improvement by simply moving rte_mbuf.next field to the 1st cache line.

Currently, it falls under /* second cache line - fields only used in slow path or on TX */
but it is actually used at several places in rx fast path. (e.g.: i40e_rx_alloc_bufs() is setting that field to NULL).

Is there anything we can do here (stop using next field, or move it to 1st cache line)?

Thanks,

Damjan






More information about the dev mailing list