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

PCM conflict with VTune

Ildar_A_
Beginner
1,078 Views

After I have installed VTune Amplifier XE 2015 on CentOS system my application, which was using Intel PCM to report various statistics (L2, LLC miss, etc), returns 0s instead of hardware event counter values. Unloading sep driver did change that behavior.

Is there a way to use PCM library with an installed VTune on the same machine?

0 Kudos
2 Replies
Patrick_F_Intel1
Employee
1,078 Views

Hello Ildar,

I believe that both VTune and PCM can be installed on the same machine but only one can be active at a time. Perhaps you were trying to run both VTune and PCM at the same time? The 2 tools use the same hardware resources so they can't run at the same time.

Pat

0 Kudos
Thomas_W_Intel
Employee
1,078 Views

As Pat has pointed out, VTune and PCM are using the same device, the performance monitoring units (PMUs). Therefore, there is a conflict if both drivers are used at the same time. PCM implements the PMU sharing guideline but unfortunately VTune doesn't. You might therefore see funny results if you use both at the same time. This includes zero, negative or extremely high values. 

The recommended solution is exactly what you did: Unload the VTune driver while using PCM.

0 Kudos
Reply