> On 30 May 2019, at 11:30, Satya Murthy <[email protected]> wrote:
> 
> Hi,
> 
> Is there any built-in framework/CLI within VPP, that keeps track of cache 
> hits/misses for D-cache and I-Cache at graph node or plugin level ? (or) we 
> need to use general linux perf tools for getting this data ? Even if we do 
> this using perf tools, we may get this at the whole process level, but not at 
> node level.

In VPP each graph node invocation is function call, and we typically don’t call 
other functions except inlined ones, so it actually shows up nicely in perf top.

> 
> I see that "show runtime" is displaying the number of clocks spent in each 
> graph node, but not giving any data on hits/misses of caches.

Take a look at perf plugin, it allows you to capture custom PMC counters per 
node, still if you are interested to identify which part of your code suffers 
from perf issues, best choice is linux perf.

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#13185): https://lists.fd.io/g/vpp-dev/message/13185
Mute This Topic: https://lists.fd.io/mt/31866981/21656
Group Owner: [email protected]
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to