Saturday, April 7, 2018

linux - intel xeon hardware cache events not supported

I am trying to use perf tool to measure performance on some program.
For some reason perf stat doesn't support hardware cache events.
I'm using intel xeon e5-2620 (haswell) processor.

I read in some forum that the event codes might have been changed for this cpu and that is why perf doesn't support these events.
I tried using perfmon2 to find the raw events but with no luck.
Does anybody know how to find the correct raw events for hardware cache events for this cpu?
I'm specifically interested in L1-dcache-loads and L1-dcache-stores but a generic solution will be better.
I am using Linux version 3.0.101-0.47.52-default.

No comments:

Post a Comment

plot explanation - Why did Peaches' mom hang on the tree? - Movies & TV

In the middle of the movie Ice Age: Continental Drift Peaches' mom asked Peaches to go to sleep. Then, she hung on the tree. This parti...