Software Tuning, Performance Optimization & Platform Monitoring
Discussion around monitoring and software tuning methodologies, Performance Monitoring Unit (PMU) of Intel microprocessors, and platform monitoring
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.

pmcstat option to monitor data cache misses on Xeon?

Nirmalanand_J_
Beginner
196 Views

Hi,

 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.

Thanks.

0 Kudos
1 Reply
McCalpinJohn
Black Belt
196 Views
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.
Reply