Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
80 Views

IntelPCM V2.9 on Xeon E5-1650 v2: Linux Perf Error on programming generic event

Hi,

Intel PCM V2.6 works well on Intel Xeon E5-1650 v2 with Linux kernel 3.18.

But V2.9 fails with "Linux Perf: Error on programming generic event #0 error: Invalid argument".

Has anyone encountered this issue?

Where can we download previous IntelPCM releases V2.7 and V2.8 to check if they contain this issue ?

Thanks

0 Kudos
3 Replies
Highlighted
Employee
80 Views

Hi Philippe,

we tested it on kernel 3.12 and 4.1. Worked well. Are there any perf-related messages in dmesg? Are any other perf sessions running in parallel? As a workaround you can disable perf usage in the PCM Makefile by removing "-DPCM_USE_PERF".

Thanks,

Roman

 

0 Kudos
Highlighted
80 Views

Thanks for your reply Roman.

There are not any perf-related messages in dmesg. And no other perf session is running in parallel.

We tried IntelPCM v2.9 with a kernel 3.10 and it worked fine.

It is ok on kernel 3.18 without "-DPCM_USE_PERF". But are the indicators calculated in the same way without this option ?

Thanks again,
Philippe

 

0 Kudos
Highlighted
Employee
80 Views

Hi Philippe,

the metrics are computed in the same way. The PCM_USE_PERF option makes PCM to program core performance monitoring unit (PMU) using Linux kernel perf API instead of direct programming of hardware registers. PMU is a global hardware resource and this option should minimize collisions between Linux perf and PCM (that can corrupt measurement data).

Thanks,

Roman

0 Kudos