<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic just to sort things out: in Software Tuning, Performance Optimization &amp; Platform Monitoring</title>
    <link>https://community.intel.com/t5/Software-Tuning-Performance/Intel-PCM-which-kernel-modules-are-required/m-p/1072293#M5339</link>
    <description>&lt;P&gt;just to sort things out:&lt;/P&gt;

&lt;UL&gt;
	&lt;LI&gt;building PCM without PCM_USE_PERF works.&lt;/LI&gt;
	&lt;LI&gt;when i run the perf version and afterwards the non-perf version of PCM a warning appears: "Core 0 IA32_PERFEVTSEL0_ADDR are not zeroed 1261870" (see full output below)&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;WARNING: Core 0 IA32_PERFEVTSEL0_ADDR are not zeroed 1261870&lt;BR /&gt;
	Access to Intel(r) Performance Counter Monitor has denied (Performance Monitoring Unit is occupied by other application). Try to stop the application that uses PMU.&lt;BR /&gt;
	Alternatively you can try running Intel PCM with option -r to reset PMU configuration at your own risk.&lt;/P&gt;</description>
    <pubDate>Wed, 02 Dec 2015 15:02:14 GMT</pubDate>
    <dc:creator>Till_S_</dc:creator>
    <dc:date>2015-12-02T15:02:14Z</dc:date>
    <item>
      <title>Intel PCM: which kernel modules are required?</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/Intel-PCM-which-kernel-modules-are-required/m-p/1072285#M5331</link>
      <description>&lt;P&gt;I have installed PCM 2.8 on my Gentoo system (Kernel 4.1) and have trouble reading the performance registers. When running pcm I get the error (full output below):&lt;/P&gt;&lt;P&gt;Error while reading perf data. Result is 0&lt;BR /&gt;Check if you run other competing Linux perf clients.&lt;/P&gt;&lt;P&gt;Which kernel modules are needed for full pcm functionality? PERF_EVENTS_INTEL_UNCORE and PERF_EVENTS are already enabled. The full kernel config is attached to this post.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Error while reading perf data. Result is 0&lt;BR /&gt;Check if you run other competing Linux perf clients.&lt;BR /&gt;Error while reading perf data. Result is 0&lt;BR /&gt;Check if you run other competing Linux perf clients.&lt;BR /&gt;Error while reading perf data. Result is 0&lt;BR /&gt;Check if you run other competing Linux perf clients.&lt;BR /&gt;Error while reading perf data. Result is 0&lt;BR /&gt;Check if you run other competing Linux perf clients.&lt;BR /&gt;Error while reading perf data. Result is 0&lt;BR /&gt;Check if you run other competing Linux perf clients.&lt;BR /&gt;Error while reading perf data. Result is 0&lt;BR /&gt;Check if you run other competing Linux perf clients.&lt;BR /&gt;Error while reading perf data. Result is 0&lt;BR /&gt;Check if you run other competing Linux perf clients.&lt;BR /&gt;Error while reading perf data. Result is 0&lt;BR /&gt;Check if you run other competing Linux perf clients.&lt;BR /&gt;Error while reading perf data. Result is 0&lt;BR /&gt;Check if you run other competing Linux perf clients.&lt;/P&gt;&lt;P&gt;&amp;nbsp;EXEC&amp;nbsp; : instructions per nominal CPU cycle&lt;BR /&gt;&amp;nbsp;IPC&amp;nbsp;&amp;nbsp; : instructions per CPU cycle&lt;BR /&gt;&amp;nbsp;FREQ&amp;nbsp; : relation to nominal CPU frequency='unhalted clock ticks'/'invariant timer ticks' (includes Intel Turbo Boost)&lt;BR /&gt;&amp;nbsp;AFREQ : relation to nominal CPU frequency while in active state (not in power-saving C state)='unhalted clock ticks'/'invariant timer ticks while in C0-state'&amp;nbsp; (includes Intel Turbo Boost)&lt;BR /&gt;&amp;nbsp;L3MISS: L3 cache misses&lt;BR /&gt;&amp;nbsp;L2MISS: L2 cache misses (including other core's L2 cache *hits*)&lt;BR /&gt;&amp;nbsp;L3HIT : L3 cache hit ratio (0.00-1.00)&lt;BR /&gt;&amp;nbsp;L2HIT : L2 cache hit ratio (0.00-1.00)&lt;BR /&gt;&amp;nbsp;L3CLK : ratio of CPU cycles lost due to L3 cache misses (0.00-1.00), in some cases could be &amp;gt;1.0 due to a higher memory latency&lt;BR /&gt;&amp;nbsp;L2CLK : ratio of CPU cycles lost due to missing L2 cache but still hitting L3 cache (0.00-1.00)&lt;BR /&gt;&amp;nbsp;READ&amp;nbsp; : bytes read from memory controller (in GBytes)&lt;BR /&gt;&amp;nbsp;WRITE : bytes written to memory controller (in GBytes)&lt;BR /&gt;&amp;nbsp;IO&amp;nbsp;&amp;nbsp;&amp;nbsp; : bytes read/written due to IO requests to memory controller (in GBytes); this may be an over estimate due to same-cache-line partial requests&lt;BR /&gt;&amp;nbsp;TEMP&amp;nbsp; : Temperature reading in 1 degree Celsius relative to the TjMax temperature (thermal headroom): 0 corresponds to the max temperature&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&amp;nbsp;Core (SKT) | EXEC | IPC&amp;nbsp; | FREQ&amp;nbsp; | AFREQ | L3MISS | L2MISS | L3HIT | L2HIT | L3CLK | L2CLK |&amp;nbsp; READ | WRITE |&amp;nbsp; IO&amp;nbsp;&amp;nbsp; | TEMP |&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.00&amp;nbsp;&amp;nbsp; -1.00&amp;nbsp;&amp;nbsp; 0.00&amp;nbsp;&amp;nbsp;&amp;nbsp; -1.00&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1.00&amp;nbsp;&amp;nbsp;&amp;nbsp; 1.00&amp;nbsp;&amp;nbsp;&amp;nbsp; -1.00&amp;nbsp;&amp;nbsp;&amp;nbsp; -1.00&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; N/A&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; N/A&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; N/A&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 56&lt;BR /&gt;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.00&amp;nbsp;&amp;nbsp; -1.00&amp;nbsp;&amp;nbsp; 0.00&amp;nbsp;&amp;nbsp;&amp;nbsp; -1.00&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1.00&amp;nbsp;&amp;nbsp;&amp;nbsp; 1.00&amp;nbsp;&amp;nbsp;&amp;nbsp; -1.00&amp;nbsp;&amp;nbsp;&amp;nbsp; -1.00&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; N/A&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; N/A&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; N/A&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 57&lt;BR /&gt;&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.00&amp;nbsp;&amp;nbsp; -1.00&amp;nbsp;&amp;nbsp; 0.00&amp;nbsp;&amp;nbsp;&amp;nbsp; -1.00&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1.00&amp;nbsp;&amp;nbsp;&amp;nbsp; 1.00&amp;nbsp;&amp;nbsp;&amp;nbsp; -1.00&amp;nbsp;&amp;nbsp;&amp;nbsp; -1.00&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; N/A&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; N/A&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; N/A&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 56&lt;BR /&gt;&amp;nbsp;&amp;nbsp; 3&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.00&amp;nbsp;&amp;nbsp; -1.00&amp;nbsp;&amp;nbsp; 0.00&amp;nbsp;&amp;nbsp;&amp;nbsp; -1.00&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1.00&amp;nbsp;&amp;nbsp;&amp;nbsp; 1.00&amp;nbsp;&amp;nbsp;&amp;nbsp; -1.00&amp;nbsp;&amp;nbsp;&amp;nbsp; -1.00&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; N/A&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; N/A&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; N/A&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 58&lt;BR /&gt;&amp;nbsp;&amp;nbsp; 4&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.00&amp;nbsp;&amp;nbsp; -1.00&amp;nbsp;&amp;nbsp; 0.00&amp;nbsp;&amp;nbsp;&amp;nbsp; -1.00&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1.00&amp;nbsp;&amp;nbsp;&amp;nbsp; 1.00&amp;nbsp;&amp;nbsp;&amp;nbsp; -1.00&amp;nbsp;&amp;nbsp;&amp;nbsp; -1.00&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; N/A&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; N/A&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; N/A&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 56&lt;BR /&gt;&amp;nbsp;&amp;nbsp; 5&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.00&amp;nbsp;&amp;nbsp; -1.00&amp;nbsp;&amp;nbsp; 0.00&amp;nbsp;&amp;nbsp;&amp;nbsp; -1.00&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1.00&amp;nbsp;&amp;nbsp;&amp;nbsp; 1.00&amp;nbsp;&amp;nbsp;&amp;nbsp; -1.00&amp;nbsp;&amp;nbsp;&amp;nbsp; -1.00&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; N/A&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; N/A&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; N/A&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 57&lt;BR /&gt;&amp;nbsp;&amp;nbsp; 6&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.00&amp;nbsp;&amp;nbsp; -1.00&amp;nbsp;&amp;nbsp; 0.00&amp;nbsp;&amp;nbsp;&amp;nbsp; -1.00&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1.00&amp;nbsp;&amp;nbsp;&amp;nbsp; 1.00&amp;nbsp;&amp;nbsp;&amp;nbsp; -1.00&amp;nbsp;&amp;nbsp;&amp;nbsp; -1.00&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; N/A&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; N/A&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; N/A&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 56&lt;BR /&gt;&amp;nbsp;&amp;nbsp; 7&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.00&amp;nbsp;&amp;nbsp; -1.00&amp;nbsp;&amp;nbsp; 0.00&amp;nbsp;&amp;nbsp;&amp;nbsp; -1.00&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1.00&amp;nbsp;&amp;nbsp;&amp;nbsp; 1.00&amp;nbsp;&amp;nbsp;&amp;nbsp; -1.00&amp;nbsp;&amp;nbsp;&amp;nbsp; -1.00&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; N/A&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; N/A&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; N/A&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 58&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;&amp;nbsp;SKT&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.00&amp;nbsp;&amp;nbsp; -1.00&amp;nbsp;&amp;nbsp; 0.00&amp;nbsp;&amp;nbsp;&amp;nbsp; -1.00&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1.00&amp;nbsp;&amp;nbsp;&amp;nbsp; 1.00&amp;nbsp;&amp;nbsp;&amp;nbsp; -1.00&amp;nbsp;&amp;nbsp;&amp;nbsp; -1.00&amp;nbsp;&amp;nbsp;&amp;nbsp; 1.32&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.32&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.83&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 50&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;&amp;nbsp;TOTAL&amp;nbsp; *&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.00&amp;nbsp;&amp;nbsp; -1.00&amp;nbsp;&amp;nbsp; 0.00&amp;nbsp;&amp;nbsp;&amp;nbsp; -1.00&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1.00&amp;nbsp;&amp;nbsp;&amp;nbsp; 1.00&amp;nbsp;&amp;nbsp;&amp;nbsp; -1.00&amp;nbsp;&amp;nbsp;&amp;nbsp; -1.00&amp;nbsp;&amp;nbsp;&amp;nbsp; 1.32&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.32&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.83&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; N/A&lt;/P&gt;&lt;P&gt;&amp;nbsp;Instructions retired:&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp; ; Active cycles:&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp; ; Time (TSC): 3394 Mticks ; C0 (active,non-halted) core residency: 0.00 %&lt;/P&gt;&lt;P&gt;&amp;nbsp;C1 core residency: 12.03 %; C3 core residency: 87.42 %; C6 core residency: 0.55 %; C7 core residency: 0.00 %;&lt;BR /&gt;&amp;nbsp;C2 package residency: 10.74 %; C3 package residency: 10.92 %; C6 package residency: 0.00 %; C7 package residency: 0.00 %;&lt;/P&gt;&lt;P&gt;&amp;nbsp;PHYSICAL CORE IPC&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : -1.00 =&amp;gt; corresponds to -25.00 % utilization for cores in active state&lt;BR /&gt;&amp;nbsp;Instructions per nominal CPU cycle: 0.00 =&amp;gt; corresponds to 0.00 % core utilization over time interval&lt;BR /&gt;----------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;----------------------------------------------------------------------------------------------&lt;BR /&gt;&amp;nbsp;SKT&amp;nbsp;&amp;nbsp;&amp;nbsp; 0 package consumed 15.38 Joules&lt;BR /&gt;----------------------------------------------------------------------------------------------&lt;BR /&gt;&amp;nbsp;TOTAL:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 15.38 Joules&lt;/P&gt;</description>
      <pubDate>Tue, 17 Nov 2015 17:51:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/Intel-PCM-which-kernel-modules-are-required/m-p/1072285#M5331</guid>
      <dc:creator>Till_S_</dc:creator>
      <dc:date>2015-11-17T17:51:25Z</dc:date>
    </item>
    <item>
      <title>Hi Till,</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/Intel-PCM-which-kernel-modules-are-required/m-p/1072286#M5332</link>
      <description>&lt;P&gt;Hi Till,&lt;/P&gt;

&lt;P&gt;there is an issue with Linux perf API on your system. If you are sure that your don't use Linux perf in a different tool you can enable direct PMU programming in PCM. In PCM Makefile delete this line:&amp;nbsp;CXXFLAGS += -DPCM_USE_PERF&lt;/P&gt;

&lt;P&gt;Thanks,&lt;/P&gt;

&lt;P&gt;Roman&lt;/P&gt;</description>
      <pubDate>Tue, 01 Dec 2015 09:24:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/Intel-PCM-which-kernel-modules-are-required/m-p/1072286#M5332</guid>
      <dc:creator>Roman_D_Intel</dc:creator>
      <dc:date>2015-12-01T09:24:39Z</dc:date>
    </item>
    <item>
      <title>HI Roman,</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/Intel-PCM-which-kernel-modules-are-required/m-p/1072287#M5333</link>
      <description>&lt;P&gt;Hi Roman,&lt;/P&gt;

&lt;P&gt;thank you for the work-around. I will try this the next days.&lt;/P&gt;

&lt;P&gt;Anyway: I am still trying to figure out, what the problem with PERF is. Can you tell me if the kernel options/modules I listed above are sufficient or point me to a document with the necessary kernel dependencies? In this case, it would be possible for me to adjust the Gentoo package, to warn about missing options and therefore help other users of PCM.&lt;/P&gt;

&lt;P&gt;Regards,&lt;/P&gt;

&lt;P&gt;Till&lt;/P&gt;</description>
      <pubDate>Wed, 02 Dec 2015 12:51:56 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/Intel-PCM-which-kernel-modules-are-required/m-p/1072287#M5333</guid>
      <dc:creator>Till_S_</dc:creator>
      <dc:date>2015-12-02T12:51:56Z</dc:date>
    </item>
    <item>
      <title>Hi Till,</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/Intel-PCM-which-kernel-modules-are-required/m-p/1072288#M5334</link>
      <description>&lt;P&gt;Hi Till,&lt;/P&gt;

&lt;P&gt;unfortunately I don't know what the issue with perf is.&lt;/P&gt;

&lt;P&gt;Best regards,&lt;/P&gt;

&lt;P&gt;Roman&lt;/P&gt;</description>
      <pubDate>Wed, 02 Dec 2015 12:57:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/Intel-PCM-which-kernel-modules-are-required/m-p/1072288#M5334</guid>
      <dc:creator>Roman_D_Intel</dc:creator>
      <dc:date>2015-12-02T12:57:00Z</dc:date>
    </item>
    <item>
      <title>Hi,</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/Intel-PCM-which-kernel-modules-are-required/m-p/1072289#M5335</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;here is the result of perf events. This might help to figure out which event is missing.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Regards,&lt;/P&gt;

&lt;P&gt;Till&lt;/P&gt;</description>
      <pubDate>Wed, 02 Dec 2015 13:20:22 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/Intel-PCM-which-kernel-modules-are-required/m-p/1072289#M5335</guid>
      <dc:creator>Till_S_</dc:creator>
      <dc:date>2015-12-02T13:20:22Z</dc:date>
    </item>
    <item>
      <title>unfortunately don't see any</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/Intel-PCM-which-kernel-modules-are-required/m-p/1072290#M5336</link>
      <description>&lt;P&gt;unfortunately don't see any hint in the list. &amp;nbsp;Could you try to check if perf works at all by collecting a few raw events:&lt;/P&gt;

&lt;P&gt;perf stat -a -e r123 &amp;nbsp;&lt;SPAN style="font-size: 13.008px; line-height: 19.512px;"&gt;-e r124&amp;nbsp;-e r125&amp;nbsp;-e r126 -- sleep 1&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Dec 2015 13:42:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/Intel-PCM-which-kernel-modules-are-required/m-p/1072290#M5336</guid>
      <dc:creator>Roman_D_Intel</dc:creator>
      <dc:date>2015-12-02T13:42:30Z</dc:date>
    </item>
    <item>
      <title># perf stat -a -e r123  -e</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/Intel-PCM-which-kernel-modules-are-required/m-p/1072291#M5337</link>
      <description>&lt;P&gt;# perf stat -a -e r123&amp;nbsp; -e r124 -e r125 -e r126 -- sleep 1&lt;/P&gt;

&lt;P&gt;&amp;nbsp;Performance counter stats for 'system wide':&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; r123&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (100.00%)&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 168,618,459&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; r124&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (100.00%)&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; r125&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (100.00%)&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 144,019,276&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; r126&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1.001587990 seconds time elapsed&lt;/P&gt;</description>
      <pubDate>Wed, 02 Dec 2015 14:53:24 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/Intel-PCM-which-kernel-modules-are-required/m-p/1072291#M5337</guid>
      <dc:creator>Till_S_</dc:creator>
      <dc:date>2015-12-02T14:53:24Z</dc:date>
    </item>
    <item>
      <title>the output looks good...</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/Intel-PCM-which-kernel-modules-are-required/m-p/1072292#M5338</link>
      <description>&lt;P&gt;the output looks good...&lt;/P&gt;</description>
      <pubDate>Wed, 02 Dec 2015 14:58:52 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/Intel-PCM-which-kernel-modules-are-required/m-p/1072292#M5338</guid>
      <dc:creator>Roman_D_Intel</dc:creator>
      <dc:date>2015-12-02T14:58:52Z</dc:date>
    </item>
    <item>
      <title>just to sort things out:</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/Intel-PCM-which-kernel-modules-are-required/m-p/1072293#M5339</link>
      <description>&lt;P&gt;just to sort things out:&lt;/P&gt;

&lt;UL&gt;
	&lt;LI&gt;building PCM without PCM_USE_PERF works.&lt;/LI&gt;
	&lt;LI&gt;when i run the perf version and afterwards the non-perf version of PCM a warning appears: "Core 0 IA32_PERFEVTSEL0_ADDR are not zeroed 1261870" (see full output below)&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;WARNING: Core 0 IA32_PERFEVTSEL0_ADDR are not zeroed 1261870&lt;BR /&gt;
	Access to Intel(r) Performance Counter Monitor has denied (Performance Monitoring Unit is occupied by other application). Try to stop the application that uses PMU.&lt;BR /&gt;
	Alternatively you can try running Intel PCM with option -r to reset PMU configuration at your own risk.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Dec 2015 15:02:14 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/Intel-PCM-which-kernel-modules-are-required/m-p/1072293#M5339</guid>
      <dc:creator>Till_S_</dc:creator>
      <dc:date>2015-12-02T15:02:14Z</dc:date>
    </item>
    <item>
      <title>thanks for testing. The "IA32</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/Intel-PCM-which-kernel-modules-are-required/m-p/1072294#M5340</link>
      <description>&lt;P&gt;thanks for testing. The "&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;IA32_PERFEVTSEL0" warning message is expected because perf API does not reset the state of PMU when perf interface is closed by the PCM app (known issue).&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Dec 2015 15:08:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/Intel-PCM-which-kernel-modules-are-required/m-p/1072294#M5340</guid>
      <dc:creator>Roman_D_Intel</dc:creator>
      <dc:date>2015-12-02T15:08:23Z</dc:date>
    </item>
    <item>
      <title>I had a small look into the</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/Intel-PCM-which-kernel-modules-are-required/m-p/1072295#M5341</link>
      <description>&lt;P&gt;I had a small look into the code and the place where it fails is cpucounter.cpp:2630 (I have downloaded version 2.10 in the meanwhile)&lt;/P&gt;

&lt;PRE class="brush:bash;"&gt;    uint64 data[1 + PERF_MAX_COUNTERS];
    const int32 bytes2read =  sizeof(uint64)*(1 + core_fixed_counter_num_used + core_gen_counter_num_used);
    int result = ::read(perfEventHandle[core][PERF_GROUP_LEADER_COUNTER], data, bytes2read );
    // data layout: nr counters; counter 0, counter 1, counter 2,...    
    if(result != bytes2read)
    {
       std::cerr &amp;lt;&amp;lt; "Error while reading perf data. Result is "&amp;lt;&amp;lt; result &amp;lt;&amp;lt; std::endl;
       std::cerr &amp;lt;&amp;lt; "Check if you run other competing Linux perf clients." &amp;lt;&amp;lt; std::endl;&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;where PERF_GROUP_LEADER_COUNTER is 0, therefore the handler is initialized in cpucounter.cpp:1698&lt;/P&gt;

&lt;PRE class="brush:bash;"&gt;        if((perfEventHandle&lt;I&gt;[PERF_INST_RETIRED_ANY_POS] = syscall(SYS_perf_event_open, &amp;amp;e, -1,
                   i /* core id */, leader_counter /* group leader */ ,0 )) &amp;lt;= 0)
        {
          std::cerr &amp;lt;&amp;lt;"Linux Perf: Error on programming INST_RETIRED_ANY: "&amp;lt;&amp;lt;strerror(errno)&amp;lt;&amp;lt; std::endl;
          decrementInstanceSemaphore();
          return PCM::UnknownError;
        }&lt;/I&gt;&lt;/PRE&gt;

&lt;P&gt;where PERF_INST_RETIRED_ANY_POS is also 0 (the enums are explicitly set to the same values)&lt;/P&gt;

&lt;P&gt;Interestingly I the opening works without an error and it says "Successfully programmed on-core PMU using Linux perf" (cpucounter.cpp:1839), while the latter read than fails.&lt;/P&gt;

&lt;P&gt;Therefore i have tried to read INST_RETIRED_ANY manually over perf&amp;nbsp; (using the EventCode and UMask from &lt;A href="https://download.01.org/perfmon/IVB/IvyBridge_core_V15.tsv)" target="_blank"&gt;https://download.01.org/perfmon/IVB/IvyBridge_core_V15.tsv)&lt;/A&gt; and it always returns 0:&lt;/P&gt;

&lt;PRE class="brush:bash;"&gt;# perf stat -e cpu/event=0x00,umask=0x01,name=inst_retired_any/ -a sleep 5

 Performance counter stats for 'system wide':

                 0      inst_retired_any                                            

       5.000680645 seconds time elapsed&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Dec 2015 15:28:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/Intel-PCM-which-kernel-modules-are-required/m-p/1072295#M5341</guid>
      <dc:creator>Till_S_</dc:creator>
      <dc:date>2015-12-02T15:28:50Z</dc:date>
    </item>
    <item>
      <title>hmm pmu-tools uses a</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/Intel-PCM-which-kernel-modules-are-required/m-p/1072296#M5342</link>
      <description>&lt;P&gt;hmm pmu-tools uses a different event id and the result is non-zero:&lt;/P&gt;

&lt;PRE class="brush:bash;"&gt;./ocperf.py stat -e inst_retired.any -a sleep 5
perf stat -e cpu/event=0xc0,umask=0x0,name=inst_retired_any/ -a sleep 5

 Performance counter stats for 'system wide':

     4,096,126,544      inst_retired_any                                            

       5.000614365 seconds time elapsed
&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Dec 2015 16:14:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/Intel-PCM-which-kernel-modules-are-required/m-p/1072296#M5342</guid>
      <dc:creator>Till_S_</dc:creator>
      <dc:date>2015-12-02T16:14:23Z</dc:date>
    </item>
    <item>
      <title>The "INST_RETIRED.ANY" event</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/Intel-PCM-which-kernel-modules-are-required/m-p/1072297#M5343</link>
      <description>&lt;P&gt;The "INST_RETIRED.ANY" event at the beginning of the files at download.01.org has to be interpreted differently than the same event showing up later in the file.&lt;/P&gt;

&lt;P&gt;The first three lines of that file all refer to "fixed counters", which are accessed slightly differently than the programmable counters.&amp;nbsp;&amp;nbsp; If I understand correctly, for the three events supported by the three fixed function counters, the "perf stat" command will use the fixed counter if it is available, otherwise it will use one of the programmable counters.&amp;nbsp;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;The "perf stat" command has historically not provided any interface to determine what counters are actually used or exactly how they are programmed.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Dec 2015 19:10:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/Intel-PCM-which-kernel-modules-are-required/m-p/1072297#M5343</guid>
      <dc:creator>McCalpinJohn</dc:creator>
      <dc:date>2015-12-03T19:10:03Z</dc:date>
    </item>
    <item>
      <title>To find out what counter perf</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/Intel-PCM-which-kernel-modules-are-required/m-p/1072298#M5344</link>
      <description>&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;To find out what counter perf uses you can use the event-rmap tool in pmu-tools. It prints the currently running counters. Only supports core counters.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;A href="https://github.com/andikleen/pmu-tools/blob/master/event-rmap.py" target="_blank"&gt;https://github.com/andikleen/pmu-tools/blob/master/event-rmap.py&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 06 Dec 2015 04:16:51 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/Intel-PCM-which-kernel-modules-are-required/m-p/1072298#M5344</guid>
      <dc:creator>Andreas_K_Intel</dc:creator>
      <dc:date>2015-12-06T04:16:51Z</dc:date>
    </item>
    <item>
      <title>I am running Centos 7 with a</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/Intel-PCM-which-kernel-modules-are-required/m-p/1072299#M5345</link>
      <description>&lt;P&gt;I am running Centos 7 with a 5.13 kernel. The normal Centos 7 kernel is 3.10.&lt;/P&gt;&lt;P&gt;I downloaded the&amp;nbsp;201902 release from&amp;nbsp;https://github.com/opcm/pcm/releases&lt;/P&gt;&lt;P&gt;Almost all of the pcm tools work for me, but pcm.x produces junk data as well as the error:&lt;/P&gt;&lt;P&gt;Error while reading perf data. Result is 0&lt;BR /&gt;Check if you run other competing Linux perf clients.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried building pcm.x after removing&amp;nbsp;&amp;nbsp;CXXFLAGS += -DPCM_USE_PERF from the Makefile, but that made no difference.&lt;/P&gt;&lt;P&gt;I have no trouble using perf.&amp;nbsp;&amp;nbsp;I'm about ready to give up&amp;nbsp;on pcm.x, but before doing&amp;nbsp;so I thought I'd ask for help here.&lt;/P&gt;&lt;P&gt;It's too bad it doesn't want to work, because it's a nice little tool.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 21 Mar 2020 04:57:43 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/Intel-PCM-which-kernel-modules-are-required/m-p/1072299#M5345</guid>
      <dc:creator>gostanian__richard</dc:creator>
      <dc:date>2020-03-21T04:57:43Z</dc:date>
    </item>
    <item>
      <title>Hi Richard,</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/Intel-PCM-which-kernel-modules-are-required/m-p/1072300#M5346</link>
      <description>&lt;P&gt;Hi Richard,&lt;/P&gt;&lt;P&gt;could you please also try the latest version from the master branch. The opcm releases were not up-to-date (1 year old).&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Roman&lt;/P&gt;</description>
      <pubDate>Mon, 23 Mar 2020 13:40:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/Intel-PCM-which-kernel-modules-are-required/m-p/1072300#M5346</guid>
      <dc:creator>Roman_D_Intel</dc:creator>
      <dc:date>2020-03-23T13:40:58Z</dc:date>
    </item>
    <item>
      <title>Hi Richard,</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/Intel-PCM-which-kernel-modules-are-required/m-p/1072301#M5347</link>
      <description>&lt;P&gt;Hi Richard,&lt;/P&gt;&lt;P&gt;also if you are running more than one instance of pcm.x or other pcm utilities together with pcm.x&amp;nbsp;in parallel, please avoid it. If you really need it this is possible but requires additional options.&lt;/P&gt;&lt;P&gt;Roman&lt;/P&gt;</description>
      <pubDate>Mon, 23 Mar 2020 14:01:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/Intel-PCM-which-kernel-modules-are-required/m-p/1072301#M5347</guid>
      <dc:creator>Roman_D_Intel</dc:creator>
      <dc:date>2020-03-23T14:01:20Z</dc:date>
    </item>
    <item>
      <title>Hi Roman,</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/Intel-PCM-which-kernel-modules-are-required/m-p/1072302#M5348</link>
      <description>&lt;P&gt;Hi Roman,&lt;/P&gt;&lt;P&gt;As per your suggestion, using the latest version, did the trick.&lt;/P&gt;&lt;P&gt;However&amp;nbsp;the first time I ran pcm.x, after running make, I&amp;nbsp;got garbage results.&amp;nbsp; I also got a message saying "run with -r at your own risk". I did that and everything then ran perfectly. I now always run with -r, even though I don't have to. Will&amp;nbsp;that cause any harm?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Richard&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Mar 2020 19:39:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/Intel-PCM-which-kernel-modules-are-required/m-p/1072302#M5348</guid>
      <dc:creator>gostanian__richard</dc:creator>
      <dc:date>2020-03-27T19:39:00Z</dc:date>
    </item>
    <item>
      <title>Perf, PCM, and other tools</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/Intel-PCM-which-kernel-modules-are-required/m-p/1072303#M5349</link>
      <description>&lt;P&gt;Perf, PCM, and other tools are using the same hardware devices, namely the performance monitoring units. If one tool programs the PMU while they are in use by another tool, this other tool will likely get garbage numbers. There are programmer guidelines to ensure that no two tools are using the PMUs at the same time. However, as you have observed, these guidelines are not always followed. In particular, it might happen that a tool does not clean up after it was using the PMU. This then prevents other tools that are following the guidelines from getting access to the PMU.&lt;/P&gt;&lt;P&gt;The -r option in PCM essentially tells PCM to ignore that some other tool might use the PMU already, and program the PMU nevertheless. If you are 100% sure that no other tool is using the PMU, then the -r option therefore won't do any harm. However, if something else is using the PMU, reprogramming the counters can have unexpected side effects.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Mar 2020 13:49:45 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/Intel-PCM-which-kernel-modules-are-required/m-p/1072303#M5349</guid>
      <dc:creator>Thomas_W_Intel</dc:creator>
      <dc:date>2020-03-30T13:49:45Z</dc:date>
    </item>
  </channel>
</rss>

