<?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 Did you read and follow the in Software Tuning, Performance Optimization &amp; Platform Monitoring</title>
    <link>https://community.intel.com/t5/Software-Tuning-Performance/PCM-on-Linux-fails/m-p/1181408#M7444</link>
    <description>&lt;P&gt;Did you read and follow the instructions in the error message? i.e did you run the following:&lt;/P&gt;
&lt;PRE class="brush:bash; class-name:dark;"&gt;sudo echo 0 &amp;gt; /proc/sys/kernel/nmi_watchdog&lt;/PRE&gt;

&lt;P&gt;and then try running pcm tools again?&lt;BR /&gt;&lt;BR /&gt;Not sure what you mean exactly by trying to "monitor the PCIe data" but I was looking to measure PCIe bandwidth per device for a GPU computing project and you should be aware that some PCIe related counters are only supported on specific processor families, e.g &lt;EM&gt;pcm-iio &lt;/EM&gt;requires a Skylake Server CPU etc&lt;/P&gt;</description>
    <pubDate>Wed, 26 Dec 2018 21:25:03 GMT</pubDate>
    <dc:creator>x12__the</dc:creator>
    <dc:date>2018-12-26T21:25:03Z</dc:date>
    <item>
      <title>PCM on Linux fails.</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/PCM-on-Linux-fails/m-p/1181407#M7443</link>
      <description>&lt;P&gt;I downloaded the Git code&amp;nbsp; &lt;A href="https://github.com/opcm/pcm"&gt;https://github.com/opcm/pcm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;to my Linux machine in order to monitor&amp;nbsp; the PCIe data.&lt;/P&gt;&lt;P&gt;I then executed make and obtained some errors (but it continued to build pcm.x). See attached file Make.txt.&lt;/P&gt;&lt;P&gt;I try to run:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;./pcm.x 1&lt;/P&gt;&lt;P&gt;and get message:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;[root@newton pcm]# ./pcm.x 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;Processor Counter Monitor&amp;nbsp; ($Format:%ci ID=%h$)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Error: NMI watchdog is enabled. This consumes one hw-PMU counter&lt;BR /&gt;&amp;nbsp;to disable NMI watchdog please run under root: echo 0 &amp;gt; /proc/sys/kernel/nmi_watchdog&lt;BR /&gt;&amp;nbsp;or to disable it permanently: echo 'kernel.nmi_watchdog=0' &amp;gt;&amp;gt; /etc/sysctl.conf&lt;BR /&gt;Delay: 1&lt;BR /&gt;Access to Processor Counter Monitor has denied (no MSR or PCI CFG space access).&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;My machine&amp;nbsp; lists the following information (see attached files)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you please advise if the PCM program is supposed to work with my Linux machine ?&lt;/P&gt;&lt;P&gt;which program, pcm.x ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 23 Dec 2018 15:50:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/PCM-on-Linux-fails/m-p/1181407#M7443</guid>
      <dc:creator>Now__Joe</dc:creator>
      <dc:date>2018-12-23T15:50:31Z</dc:date>
    </item>
    <item>
      <title>Did you read and follow the</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/PCM-on-Linux-fails/m-p/1181408#M7444</link>
      <description>&lt;P&gt;Did you read and follow the instructions in the error message? i.e did you run the following:&lt;/P&gt;
&lt;PRE class="brush:bash; class-name:dark;"&gt;sudo echo 0 &amp;gt; /proc/sys/kernel/nmi_watchdog&lt;/PRE&gt;

&lt;P&gt;and then try running pcm tools again?&lt;BR /&gt;&lt;BR /&gt;Not sure what you mean exactly by trying to "monitor the PCIe data" but I was looking to measure PCIe bandwidth per device for a GPU computing project and you should be aware that some PCIe related counters are only supported on specific processor families, e.g &lt;EM&gt;pcm-iio &lt;/EM&gt;requires a Skylake Server CPU etc&lt;/P&gt;</description>
      <pubDate>Wed, 26 Dec 2018 21:25:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/PCM-on-Linux-fails/m-p/1181408#M7444</guid>
      <dc:creator>x12__the</dc:creator>
      <dc:date>2018-12-26T21:25:03Z</dc:date>
    </item>
    <item>
      <title>Yes I tried doing    sudo</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/PCM-on-Linux-fails/m-p/1181409#M7445</link>
      <description>&lt;P&gt;Yes I tried doing &amp;nbsp; &amp;nbsp;sudo echo 0 &amp;gt; /proc/sys/kernel/nmi_watchdog as root but this does not eliminate the error message.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;to answer your question, by monitoring the pcie I mean to achieve what pcitree tree achieves&amp;nbsp;&lt;A href="http://www.pcitree.de"&gt;http://www.pcitree.de&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Do you know a Linux app that could do this? (I was hoping that I could do that using the pcm tool, but I did not even succeed running this code)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 31 Dec 2018 13:54:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/PCM-on-Linux-fails/m-p/1181409#M7445</guid>
      <dc:creator>Now__Joe</dc:creator>
      <dc:date>2018-12-31T13:54:26Z</dc:date>
    </item>
    <item>
      <title>It is not clear to me, why</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/PCM-on-Linux-fails/m-p/1181410#M7446</link>
      <description>&lt;P&gt;It is not clear to me, why executing "sudo echo 0 &amp;gt; /proc/sys/kernel/nmi_watchdog" did not solve the problem.&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, pcm-pcie.x is not supported on client processors. In other words, you will not be able to monitor PCIe bandwidth even when you solve the problem above.&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jan 2019 11:52:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/PCM-on-Linux-fails/m-p/1181410#M7446</guid>
      <dc:creator>Thomas_W_Intel</dc:creator>
      <dc:date>2019-01-07T11:52:21Z</dc:date>
    </item>
  </channel>
</rss>

