<?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 [PCM] some KPIs not collected from specific CPUs in Software Tuning, Performance Optimization &amp; Platform Monitoring</title>
    <link>https://community.intel.com/t5/Software-Tuning-Performance/PCM-some-KPIs-not-collected-from-specific-CPUs/m-p/1543262#M8253</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;We are using PCM to collect data and visualize that in Grafana. In general this work fine. The thing is that we have more that 10 machines and they have different CPUs.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;We have:&lt;BR /&gt;- Intel Xeon CPU X5675&lt;BR /&gt;- Intel Xeon CPU E5-2667 v2&lt;BR /&gt;- Intel Xeon CPU E5-2640 v3&lt;BR /&gt;- Intel Xeon CPU E5-2698 v4&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Only from Intel Xeon CPU E5-2667 v2 and Intel Xeon CPU E5-2640 v3 we are not able to collect some of the values. In particular Instructions Retired Any and Clock Unhalted Thread. What can be the issue?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the attachments please find output of the 'pcm' command both for the affected machines and some other without issues. Affected are: fmighgm006, fmighgm007, fmighgm008. OK - fmighgm001 and fmighgm010. For fmighgm007 there are also some other commands executed, like: 'pcm-core' and 'pcm-memory'.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Indeed, in the log file I can see fmighgm007: Instructions retired: 0,&lt;BR /&gt;while on working machines something like this: Instructions retired: 26 G&lt;/P&gt;&lt;P&gt;The same for FREQ (which seems to be related to unhalted clock ticks): 0 for fmighgm007 and values like 0.39 on ok nodes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If anything more is needed please let me know.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Mon, 13 Nov 2023 13:16:50 GMT</pubDate>
    <dc:creator>panko</dc:creator>
    <dc:date>2023-11-13T13:16:50Z</dc:date>
    <item>
      <title>[PCM] some KPIs not collected from specific CPUs</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/PCM-some-KPIs-not-collected-from-specific-CPUs/m-p/1543262#M8253</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;We are using PCM to collect data and visualize that in Grafana. In general this work fine. The thing is that we have more that 10 machines and they have different CPUs.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;We have:&lt;BR /&gt;- Intel Xeon CPU X5675&lt;BR /&gt;- Intel Xeon CPU E5-2667 v2&lt;BR /&gt;- Intel Xeon CPU E5-2640 v3&lt;BR /&gt;- Intel Xeon CPU E5-2698 v4&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Only from Intel Xeon CPU E5-2667 v2 and Intel Xeon CPU E5-2640 v3 we are not able to collect some of the values. In particular Instructions Retired Any and Clock Unhalted Thread. What can be the issue?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the attachments please find output of the 'pcm' command both for the affected machines and some other without issues. Affected are: fmighgm006, fmighgm007, fmighgm008. OK - fmighgm001 and fmighgm010. For fmighgm007 there are also some other commands executed, like: 'pcm-core' and 'pcm-memory'.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Indeed, in the log file I can see fmighgm007: Instructions retired: 0,&lt;BR /&gt;while on working machines something like this: Instructions retired: 26 G&lt;/P&gt;&lt;P&gt;The same for FREQ (which seems to be related to unhalted clock ticks): 0 for fmighgm007 and values like 0.39 on ok nodes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If anything more is needed please let me know.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 13 Nov 2023 13:16:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/PCM-some-KPIs-not-collected-from-specific-CPUs/m-p/1543262#M8253</guid>
      <dc:creator>panko</dc:creator>
      <dc:date>2023-11-13T13:16:50Z</dc:date>
    </item>
    <item>
      <title>Re: [PCM] some KPIs not collected from specific CPUs</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/PCM-some-KPIs-not-collected-from-specific-CPUs/m-p/1543265#M8254</link>
      <description>&lt;P&gt;pcm-sensor-server can't be run in parallel with other pcm and non-pcm tools using the performance monitoring units (PMU). Make sure no other PMU tools are running in parallel.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Nov 2023 13:30:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/PCM-some-KPIs-not-collected-from-specific-CPUs/m-p/1543265#M8254</guid>
      <dc:creator>Roman_D_Intel</dc:creator>
      <dc:date>2023-11-13T13:30:55Z</dc:date>
    </item>
    <item>
      <title>Re: [PCM] some KPIs not collected from specific CPUs</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/PCM-some-KPIs-not-collected-from-specific-CPUs/m-p/1553099#M8261</link>
      <description>&lt;P&gt;Hi, one of the devs that setup the environment for PCM here!&lt;BR /&gt;My colleagues and I made some analysis about this point and we didn't find any other process that uses PMU (aside from the PCM we setup); also, processes are pretty much aligned across every server that we have in production, so we don't think that's the issue.&lt;BR /&gt;As a further note, the problem is present only on servers with 'Xeon(R) CPU E5-2667 v2' and 'Xeon(R) CPU E5-2640 v3' CPUs.&lt;BR /&gt;Please let us know if there's any additional info you need, we are available for any further clarification about the environment.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Dec 2023 14:54:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/PCM-some-KPIs-not-collected-from-specific-CPUs/m-p/1553099#M8261</guid>
      <dc:creator>dpetrin</dc:creator>
      <dc:date>2023-12-12T14:54:27Z</dc:date>
    </item>
    <item>
      <title>Re: [PCM] some KPIs not collected from specific CPUs</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/PCM-some-KPIs-not-collected-from-specific-CPUs/m-p/1553488#M8262</link>
      <description>&lt;P&gt;are you running pcm-sensor-server inside a docker container?&lt;/P&gt;</description>
      <pubDate>Wed, 13 Dec 2023 13:49:13 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/PCM-some-KPIs-not-collected-from-specific-CPUs/m-p/1553488#M8262</guid>
      <dc:creator>Roman_D_Intel</dc:creator>
      <dc:date>2023-12-13T13:49:13Z</dc:date>
    </item>
    <item>
      <title>Re: [PCM] some KPIs not collected from specific CPUs</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/PCM-some-KPIs-not-collected-from-specific-CPUs/m-p/1553940#M8266</link>
      <description>&lt;P&gt;no, pcm is running natively on a RHEL7.9 OS; we installed it via a .rpm package&lt;/P&gt;</description>
      <pubDate>Thu, 14 Dec 2023 13:57:36 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/PCM-some-KPIs-not-collected-from-specific-CPUs/m-p/1553940#M8266</guid>
      <dc:creator>dpetrin</dc:creator>
      <dc:date>2023-12-14T13:57:36Z</dc:date>
    </item>
    <item>
      <title>Re: [PCM] some KPIs not collected from specific CPUs</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/PCM-some-KPIs-not-collected-from-specific-CPUs/m-p/1553945#M8267</link>
      <description>&lt;P&gt;then what might help is to run with the&amp;nbsp;&lt;SPAN&gt;PCM_NO_PERF=1 env variable:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://github.com/intel/pcm/blob/master/doc/ENVVAR_README.md" target="_blank"&gt;https://github.com/intel/pcm/blob/master/doc/ENVVAR_README.md&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Dec 2023 14:07:48 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/PCM-some-KPIs-not-collected-from-specific-CPUs/m-p/1553945#M8267</guid>
      <dc:creator>Roman_D_Intel</dc:creator>
      <dc:date>2023-12-14T14:07:48Z</dc:date>
    </item>
    <item>
      <title>Re: [PCM] some KPIs not collected from specific CPUs</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/PCM-some-KPIs-not-collected-from-specific-CPUs/m-p/1579753#M8322</link>
      <description>&lt;P&gt;Hi, sorry for the late response, we normally don't have root access so we had request it to perform the suggestion you gave us.&lt;/P&gt;&lt;P&gt;Unfortunately, running pcm with the env variable &lt;SPAN class=""&gt;PCM_NO_PERF=1&lt;/SPAN&gt; set did not solve the issue, in fact it was even worse as the daemon wouldn't even start.&lt;/P&gt;&lt;P&gt;In the attached text file you can find the whole logged pty, but I'll try to summarize:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;we initially tried to launch (as a command on the terminal) pcm without the PCM_NO_PERF env variable; this was just a check to be sure that everything was as before and values were missing (as expected)&lt;/LI&gt;&lt;LI&gt;after that, we tried to launch pcm from the shell once again, but this time with the PCM_NO_PERF=1 set; this returned an error saying that the PMU was occupied by another application&lt;/LI&gt;&lt;LI&gt;we stopped the pcm daemon we had running on the server (note that with this daemon running the first step did not return an error)&lt;/LI&gt;&lt;LI&gt;repeating the 2nd step, the error returned is still the same&lt;/LI&gt;&lt;LI&gt;at the end of the file you can find BIOS info about the server&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;We also tried to run the pcm daemon with the PCM_NO_PERF=1 set, but it returned the same error (PMU is occupied by other application) once again. Lastly, the error suggested to run pcm with the '-r' option: we did NOT run with this as this would reset PMU configuration and we didn't want to do that in a production server.&lt;/P&gt;&lt;P&gt;Is there anything else we can try?&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2024 10:05:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/PCM-some-KPIs-not-collected-from-specific-CPUs/m-p/1579753#M8322</guid>
      <dc:creator>dpetrin</dc:creator>
      <dc:date>2024-03-12T10:05:03Z</dc:date>
    </item>
    <item>
      <title>Re: [PCM] some KPIs not collected from specific CPUs</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/PCM-some-KPIs-not-collected-from-specific-CPUs/m-p/1591902#M8329</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;is there some more info we can provide? Are there updates on this issue?&lt;/P&gt;</description>
      <pubDate>Tue, 23 Apr 2024 14:34:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/PCM-some-KPIs-not-collected-from-specific-CPUs/m-p/1591902#M8329</guid>
      <dc:creator>dpetrin</dc:creator>
      <dc:date>2024-04-23T14:34:58Z</dc:date>
    </item>
    <item>
      <title>Re: [PCM] some KPIs not collected from specific CPUs</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/PCM-some-KPIs-not-collected-from-specific-CPUs/m-p/1592224#M8330</link>
      <description>&lt;P&gt;unfortunately there is no other way around. You need to use the -r option. BTW: Linux perf tool resets the PMU configuration all the time without asking when one starts profiling with Linux perf tool. PCM tries to follow the PMU sharing guidelines and asks the user:&amp;nbsp;&lt;A href="https://cdrdv2-public.intel.com/727001/pmu-sharing-guidelines.pdf" target="_blank"&gt;https://cdrdv2-public.intel.com/727001/pmu-sharing-guidelines.pdf&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Apr 2024 10:08:13 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/PCM-some-KPIs-not-collected-from-specific-CPUs/m-p/1592224#M8330</guid>
      <dc:creator>Roman_D_Intel</dc:creator>
      <dc:date>2024-04-24T10:08:13Z</dc:date>
    </item>
    <item>
      <title>Re: [PCM] some KPIs not collected from specific CPUs</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/PCM-some-KPIs-not-collected-from-specific-CPUs/m-p/1683119#M8526</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;sorry for the absence in the past year, but quite a lot went on and this got somewhat pushed to the side.&lt;/P&gt;&lt;P&gt;Anyway, thanks for the last suggestion; finally a couple of weeks ago we got around to try that, but unfortunately even by resetting the PMU configuration with the '-r' option, nothing changed (see screenshot below). We also stopped any other process that we think could "collide" during this test.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dpetrin_0-1744725614275.png" style="width: 999px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/64852iDC40FB4C68D7D4A3/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="dpetrin_0-1744725614275.png" alt="dpetrin_0-1744725614275.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;At this point, is there anything else that we could do?&lt;/P&gt;</description>
      <pubDate>Tue, 15 Apr 2025 14:00:41 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/PCM-some-KPIs-not-collected-from-specific-CPUs/m-p/1683119#M8526</guid>
      <dc:creator>dpetrin</dc:creator>
      <dc:date>2025-04-15T14:00:41Z</dc:date>
    </item>
    <item>
      <title>Re: [PCM] some KPIs not collected from specific CPUs</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/PCM-some-KPIs-not-collected-from-specific-CPUs/m-p/1683125#M8527</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;you can now try the following step by step:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;get/install the latest pcm version from github.com/intel/pcm&lt;/LI&gt;&lt;LI&gt;run it like this: "&lt;SPAN class=""&gt;PCM_NO_PERF=1&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;pcm -r&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;"&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Tue, 15 Apr 2025 14:43:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/PCM-some-KPIs-not-collected-from-specific-CPUs/m-p/1683125#M8527</guid>
      <dc:creator>Roman_D_Intel</dc:creator>
      <dc:date>2025-04-15T14:43:31Z</dc:date>
    </item>
  </channel>
</rss>

