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
初学者
2,583 次查看

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 项奖励
5 回复数
Roman_D_Intel
员工
2,583 次查看

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 项奖励
zeuch__Steffen
初学者
2,583 次查看

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 项奖励
Roman_D_Intel
员工
2,583 次查看

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

0 项奖励
zeuch__Steffen
初学者
2,583 次查看

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

0 项奖励
Roman_D_Intel
员工
2,583 次查看

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

0 项奖励
回复