[dpdk-users] Why not prefetch the second cache line of struct rte_mbuf for better performance ?

Dell Will coolwilled at hotmail.com
Tue Mar 26 10:03:45 CET 2019


Hello, everybody

I find that many codes in DPDK only prefetch the first cache line of struct rte_mbuf.
The struct rte_mbuf has 2 cache lines.
Why not prefetch the second line ?
Is it hinted that the CPU (x64 or ARM) always automatically prefetch the next immediately followed cache line ?

Thanks a lot !

________________________________
coolwilled at hotmail.com


More information about the users mailing list