DPDK usage discussions
 help / color / mirror / Atom feed
From: Dell Will <coolwilled@hotmail.com>
To: users <users@dpdk.org>
Subject: [dpdk-users] Why not prefetch the second cache line of struct rte_mbuf for better performance ?
Date: Tue, 26 Mar 2019 09:03:45 +0000	[thread overview]
Message-ID: <TY2PR04MB3808A8797DBB532510FDE6EDDF5F0@TY2PR04MB3808.apcprd04.prod.outlook.com> (raw)

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@hotmail.com

             reply	other threads:[~2019-03-26  9:03 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-26  9:03 Dell Will [this message]
2019-03-26 10:53 ` Van Haaren, Harry

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=TY2PR04MB3808A8797DBB532510FDE6EDDF5F0@TY2PR04MB3808.apcprd04.prod.outlook.com \
    --to=coolwilled@hotmail.com \
    --cc=users@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).