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

Intel PCM and L1 cache

zeuch__Steffen
Beginner
980 Views

Hi why Intel PCM (Intel® Performance Counter Monitor) does not support L1 cache counters? The interface do not provide functionality for this.

Will this be implemented in later version or can I collect/calculate these data from other samples counters?

 

0 Kudos
5 Replies
Roman_D_Intel
Employee
980 Views

Hi Steffen,

the default pcm.x utility uses all counters available in PMU hardware to provide the metrics. Having additional metrics would mean dropping the existing ones in pcm.x. However you can use the custom event programming interface to program your events and metrics. You can find an example for it in pcm-tsx.cpp (it shows TSX metrics instead of the default ones).

Roman

0 Kudos
zeuch__Steffen
Beginner
980 Views

Hi Roman,

thank you for your answer I will take a look at the pcm-tsx.cpp file. One additional question. Did PCM sample all cores or all spawned threads by a process or only one core?

 

Best

Steffen

0 Kudos
Roman_D_Intel
Employee
980 Views

it counts events on all cores or/and the cores you choose.

0 Kudos
zeuch__Steffen
Beginner
980 Views

Hi and what is the default behavior when I only get one Instance of PCM?

0 Kudos
Roman_D_Intel
Employee
980 Views

every pcm.x instance counts events from all cores in the system

0 Kudos
Reply