Software Tuning, Performance Optimization & Platform Monitoring
Discussion regarding monitoring and software tuning methodologies, Performance Monitoring Unit (PMU) of Intel microprocessors, and platform updating.

Performance Counters of Memory Write Traffic

JWong19
Beginner
355 Views
I have four 5M-pixel cameras simultaneously and continuously transfer image data to system memory via PCIe (Gen2) x4 (Q77 chipset is already skipped). According to performance counter of the PCIe switch, expected data rate (~240MB/s) cannot be maintained when the processor (CPU) calls some compute intensive functions. Therefore, I would like to use performance counters (LLC or IMC) of the processor (Intel 3770K) to figure out the root cause of dropped data rate (e.g. < 120MB/s).
 
When I run 'pcm.exe' of Intel PCM (version 2.11), the 'READ' counter, the 'WRITE' counter and the 'IO' counter give me zero values. It seems to me that IMC counters are supported by high-end processor only, right?
 
Which performance counters should I consider first for the above goal of finding root cause of dropped data rate?
0 Kudos
1 Reply
McCalpinJohn
Honored Contributor III
355 Views

I assume that this is a "Core i?" processor?

There are DRAM access counters on these processors.  They are not particularly easy to use, but Intel has provided some degree of documentation at https://software.intel.com/en-us/articles/monitoring-integrated-memory-controller-requests-in-the-2nd-3rd-and-4th-generation-intel

Using this documentation I had no trouble building tools (for a Linux system) to read these counters on Xeon E3-12xx processor (Sandy Bridge with the "client" uncore), but I don't know what interfaces Windows provides for accessing PCI memory-mapped address ranges....

0 Kudos
Reply