I'm using Oprofile to profile some benchmarks, I'm looking specifically for caching issues. I'm with the Intel SDM Volume 3 (from March 2013) as my guide for choosing what events to monitor... however it's being a pain..
The computer I'm doing the experiments is a i7 3630QM (that is, Ivy Bridge), so in the manual I'm looking in tables 19-1 and 19-5, the problem is: which events should I use to measure L1{D,I} cache events? What about L3 (LLC)? Sincerely, the events description of table 19-5 are more vague than the habitual.
My system is Ubuntu 13.04.
Use
perf listto get a list of the supported events and theirperfnames. You'll see events likeL1-dcache-loadsandLLC-load-missesthat you can use.FYI, it usually takes a while for a new microarchitecture to make it into
perfin the kernel, and another while for that kernel version to make it into distributions, so it might happen that your kernel isn't Ivy Bridge aware if you're using, say, the default kernel with Ubuntu 12.04 LTS.