12-07-2018 12:31 AM
Can anyone guide me on what pmcstat option should I use to monitor data cache misses of a user process over a time interval on Xeon
hw.model: Intel(R) Xeon(R) CPU E5440 @ 2.83GHz
We are using FreeBSD 8.4.
12-11-2018 06:35 AM
I have not used the FreeBSD pmstat facility before, but I followed these documentation links: * https://www.freebsd.org/cgi/man.cgi?query=pmcstat&sektion=8 * https://www.freebsd.org/cgi/man.cgi?query=pmc&sektion=3 * https://www.freebsd.org/cgi/man.cgi?query=pmc.core2&sektion=3 From that last link, the event I would use for monitoring level 1 Data Cache misses is called "L1D_REPL". I have not tested this event on such an old processor, but the same event name (with a different encoding) has been reliable for Sandy Bridge, Ivy Bridge, Haswell, Broadwell, and Skylake processor cores.