<?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 Re: intel pcm error in linux system in Software Tuning, Performance Optimization &amp; Platform Monitoring</title>
    <link>https://community.intel.com/t5/Software-Tuning-Performance/intel-pcm-error-in-linux-system/m-p/1623712#M8419</link>
    <description>&lt;P&gt;Are you running a single instance of pcm? e.g. no other pcm instances in parallel? Are there any other tools using performance monitoring counters running in parallel?&lt;/P&gt;</description>
    <pubDate>Fri, 16 Aug 2024 14:57:04 GMT</pubDate>
    <dc:creator>Roman_D_Intel</dc:creator>
    <dc:date>2024-08-16T14:57:04Z</dc:date>
    <item>
      <title>intel pcm error in linux system</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/intel-pcm-error-in-linux-system/m-p/1622849#M8412</link>
      <description>&lt;P&gt;When running pcm as a docker container in a linux system&amp;nbsp; of&amp;nbsp;&lt;SPAN&gt;Model name: Intel(R) Core(TM) i5-10210U CPU @ 1.60GHz. Getting below errors even when i run it as a root. Used&amp;nbsp;&lt;A href="https://github.com/intel/pcm/blob/master/doc/DOCKER_README.md" target="_blank" rel="noopener"&gt;https://github.com/intel/pcm/blob/master/doc/DOCKER_README.md&lt;/A&gt;&amp;nbsp;as reference.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Where as installing&amp;nbsp;&lt;/SPAN&gt;sudo apt install pcm and direct pcm command is running fine without issue. I want to use grafana output for monitoring.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;===== Processor information =====&lt;BR /&gt;Linux arch_perfmon flag : yes&lt;BR /&gt;Hybrid processor : no&lt;BR /&gt;IBRS and IBPB supported : yes&lt;BR /&gt;STIBP supported : yes&lt;BR /&gt;Spec arch caps supported : yes&lt;BR /&gt;Max CPUID level : 22&lt;BR /&gt;CPU model number : 142&lt;BR /&gt;Number of physical cores: 4&lt;BR /&gt;Number of logical cores: 8&lt;BR /&gt;Number of online logical cores: 8&lt;BR /&gt;Threads (logical cores) per physical core: 2&lt;BR /&gt;Num sockets: 1&lt;BR /&gt;Physical cores per socket: 4&lt;BR /&gt;Last level cache slices per socket: 4&lt;BR /&gt;Core PMU (perfmon) version: 4&lt;BR /&gt;Number of core PMU generic (programmable) counters: 4&lt;BR /&gt;Width of generic (programmable) counters: 48 bits&lt;BR /&gt;Number of core PMU fixed counters: 3&lt;BR /&gt;Width of fixed counters: 48 bits&lt;BR /&gt;Nominal core frequency: 2100000000 Hz&lt;BR /&gt;IBRS enabled in the kernel : yes&lt;BR /&gt;STIBP enabled in the kernel : no&lt;BR /&gt;The processor is not susceptible to Rogue Data Cache Load: yes&lt;BR /&gt;The processor supports enhanced IBRS : yes&lt;BR /&gt;Package thermal spec power: 15 Watt; Package minimum power: 0 Watt; Package maximum power: 0 Watt;&lt;/P&gt;&lt;P&gt;opening /dev/mem failed: errno is 1 (Operation not permitted)&lt;BR /&gt;Can not read memory controller counter information from PCI configuration space. Access to memory bandwidth counters is not possible.&lt;BR /&gt;You must be root to access these SandyBridge/IvyBridge/Haswell counters in PCM.&lt;BR /&gt;INFO: Linux perf interface to program uncore PMUs is present&lt;BR /&gt;INFO: Secure Boot detected. Using Linux perf for uncore PMU programming.&lt;BR /&gt;Socket 0: 0 PCU units detected. 0 IIO units detected. 0 IRP units detected. 4 CHA/CBO units detected. 0 MDF units detected. 0 UBOX units detected. 0 CXL units detected. 0 PCIE_GEN5x16 units detected. 0 PCIE_GEN5x8 units detected.&lt;/P&gt;&lt;P&gt;Closed perf event handles&lt;BR /&gt;Trying to use Linux perf events...&lt;BR /&gt;Usage of Linux perf events is disabled through PCM_NO_PERF environment variable. Using direct PMU programming...&lt;BR /&gt;Starting plain HTTP server on &lt;A href="http://localhost:9738/" target="_blank" rel="noopener"&gt;http://localhost:9738/&lt;/A&gt;&lt;BR /&gt;PCM Error: someone has corrupted custom counter 0 on core 0 expected value 4399313 value read 0&lt;BR /&gt;PCM Error: someone has corrupted custom counter 1 on core 0 expected value 4392145 value read 0&lt;BR /&gt;PCM Error: someone has corrupted custom counter 2 on core 0 expected value 4395217 value read 0&lt;BR /&gt;PCM Error: someone has corrupted custom counter 0 on core 1 expected value 4399313 value read 0&lt;BR /&gt;PCM Error: someone has corrupted custom counter 1 on core PCM Error: someone has corrupted custom counter 01 expected value 4392145 value read 0 on core 6 expected value 4399313PCM Error: someone has corrupted custom counter 3PCM Error: someone has corrupted custom counter 0 on core 4 expected value 4399313 value read value read 0PCM Error: someone has corrupted custom counter 0 on core 5 expected value 4399313 value read 0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sometimes seeing :&lt;/P&gt;&lt;P&gt;Zeroed PMU registers&lt;BR /&gt;Trying to use Linux perf events...&lt;BR /&gt;Usage of Linux perf events is disabled through PCM_NO_PERF environment variable. Using direct PMU programming...&lt;BR /&gt;WARNING: Custom counter 0 is in use. MSR_PERF_GLOBAL_INUSE on core 0: 0x800000000000000f&lt;BR /&gt;WARNING: Custom counter 1 is in use. MSR_PERF_GLOBAL_INUSE on core 0: 0x800000000000000f&lt;BR /&gt;WARNING: Custom counter 2 is in use. MSR_PERF_GLOBAL_INUSE on core 0: 0x800000000000000f&lt;BR /&gt;WARNING: Custom counter 3 is in use. MSR_PERF_GLOBAL_INUSE on core 0: 0x800000000000000f&lt;BR /&gt;WARNING: Core 0 IA32_PERFEVTSEL0_ADDR is not zeroed 1253585&lt;BR /&gt;Zeroed PMU registers&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Aug 2024 04:59:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/intel-pcm-error-in-linux-system/m-p/1622849#M8412</guid>
      <dc:creator>karthi127</dc:creator>
      <dc:date>2024-08-13T04:59:18Z</dc:date>
    </item>
    <item>
      <title>Re: intel pcm error in linux system</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/intel-pcm-error-in-linux-system/m-p/1623221#M8414</link>
      <description>&lt;P&gt;Are you using the --privileged option for the container as described in the README?&lt;/P&gt;</description>
      <pubDate>Wed, 14 Aug 2024 17:35:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/intel-pcm-error-in-linux-system/m-p/1623221#M8414</guid>
      <dc:creator>Thomas_W_Intel</dc:creator>
      <dc:date>2024-08-14T17:35:11Z</dc:date>
    </item>
    <item>
      <title>Re: intel pcm error in linux system</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/intel-pcm-error-in-linux-system/m-p/1623428#M8416</link>
      <description>&lt;P&gt;Hi Thomas,&lt;/P&gt;&lt;P&gt;I have tried both privilaged commands and command with limited capabilities without privilaged both leading to same error. Is there any other flags which should be set ?&lt;/P&gt;</description>
      <pubDate>Thu, 15 Aug 2024 13:34:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/intel-pcm-error-in-linux-system/m-p/1623428#M8416</guid>
      <dc:creator>karthi127</dc:creator>
      <dc:date>2024-08-15T13:34:40Z</dc:date>
    </item>
    <item>
      <title>Re: intel pcm error in linux system</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/intel-pcm-error-in-linux-system/m-p/1623712#M8419</link>
      <description>&lt;P&gt;Are you running a single instance of pcm? e.g. no other pcm instances in parallel? Are there any other tools using performance monitoring counters running in parallel?&lt;/P&gt;</description>
      <pubDate>Fri, 16 Aug 2024 14:57:04 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/intel-pcm-error-in-linux-system/m-p/1623712#M8419</guid>
      <dc:creator>Roman_D_Intel</dc:creator>
      <dc:date>2024-08-16T14:57:04Z</dc:date>
    </item>
    <item>
      <title>Re: intel pcm error in linux system</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/intel-pcm-error-in-linux-system/m-p/1623733#M8420</link>
      <description>&lt;P&gt;No.&amp;nbsp; I am not using. I do not see any tools using performance monitoring counters running.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Aug 2024 15:40:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/intel-pcm-error-in-linux-system/m-p/1623733#M8420</guid>
      <dc:creator>karthi127</dc:creator>
      <dc:date>2024-08-16T15:40:40Z</dc:date>
    </item>
    <item>
      <title>Re: intel pcm error in linux system</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/intel-pcm-error-in-linux-system/m-p/1623735#M8421</link>
      <description>&lt;P&gt;Which OS and kernel version are you using?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Aug 2024 15:42:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/intel-pcm-error-in-linux-system/m-p/1623735#M8421</guid>
      <dc:creator>Thomas_W_Intel</dc:creator>
      <dc:date>2024-08-16T15:42:00Z</dc:date>
    </item>
    <item>
      <title>Re: intel pcm error in linux system</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/intel-pcm-error-in-linux-system/m-p/1623741#M8422</link>
      <description>&lt;P&gt;Os: Ubuntu 22.04.4 LTS&lt;/P&gt;&lt;P&gt;Kernel version :&amp;nbsp;6.5.0-44-generic&lt;/P&gt;</description>
      <pubDate>Fri, 16 Aug 2024 16:13:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/intel-pcm-error-in-linux-system/m-p/1623741#M8422</guid>
      <dc:creator>karthi127</dc:creator>
      <dc:date>2024-08-16T16:13:40Z</dc:date>
    </item>
    <item>
      <title>Re: intel pcm error in linux system</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/intel-pcm-error-in-linux-system/m-p/1623786#M8423</link>
      <description>&lt;P&gt;The PCM container runs fine on my Ubuntu 22.04 system.&lt;BR /&gt;As Roman hinted, the logs suggest that some other tool is running that is using the PMU, e.g. another instance of PCM, Linux perf, VTune.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Aug 2024 19:15:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/intel-pcm-error-in-linux-system/m-p/1623786#M8423</guid>
      <dc:creator>Thomas_W_Intel</dc:creator>
      <dc:date>2024-08-16T19:15:35Z</dc:date>
    </item>
  </channel>
</rss>

