As Damjan wrote: “perf top” or the perfmon plugin will give you the info you’re 
looking for.

“show pmc events” will list all of the available perf events

Then:

<start data flowing>
“set pmc event [...eventN]”
<perfmon runs for several seconds>
<perfmon finishes>

“show pmc” to show results; per-node, per thread.

HTH.. Dave

From: vpp-dev@lists.fd.io <vpp-dev@lists.fd.io> On Behalf Of Satya Murthy
Sent: Thursday, May 30, 2019 7:03 AM
To: vpp-dev@lists.fd.io
Subject: [vpp-dev] cache hits/misses counters per plugin/graph node

Hi,

Is there any way we can get the cache hits/misses ( I-Cache and D-Cache ) for a 
specific plugin/graph node ?
Linux perf tools give these at the process level, but may not be much help if 
we want to really bench mark a specific graph node.

Any info in this regard ?

--
Thanks & Regards,
Murthy
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#13187): https://lists.fd.io/g/vpp-dev/message/13187
Mute This Topic: https://lists.fd.io/mt/31867441/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to