<?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 Haswell PMU HW doesn't support sampling/overflow-interrupts (LBR)??? in Software Tuning, Performance Optimization &amp; Platform Monitoring</title>
    <link>https://community.intel.com/t5/Software-Tuning-Performance/Haswell-PMU-HW-doesn-t-support-sampling-overflow-interrupts-LBR/m-p/1110393#M6040</link>
    <description>&lt;P&gt;&lt;STRONG&gt;CPU&lt;/STRONG&gt;: E5-2699 v3 (Haswell)&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Linux Kernel&lt;/STRONG&gt;: 4.9.11-1&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;I'm attempting to sample code blocks associated with high cpu usage on a Haswell box using its Last Branch Record (LBR) feature but I'm getting this error:&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;# perf record -b -e cycles:u -p &amp;lt;PID&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;&lt;EM&gt;Error:&lt;BR /&gt;
	PMU Hardware doesn't support sampling/overflow-interrupts&lt;/EM&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;However, this same command works w/o issue on IvyBridge and an eval Skylake, even on an earlier kernel release (CentOS 7.1 - 3.10.0-229).&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.008px;"&gt;Interestingly, when I execute "dmesg | grep -i pebs" on these hosts, I get the following output:&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="font-size: 13.008px;"&gt;&lt;STRONG&gt;&lt;SPAN style="font-weight: 700;"&gt;IvyBridge&lt;/SPAN&gt;&lt;/STRONG&gt;:&amp;nbsp;Performance Events: PEBS fmt1+,&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;&lt;SPAN style="font-weight: 700;"&gt;16-deep LBR&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/EM&gt;, IvyBridge events, full-width counters, Intel PMU driver.&lt;/P&gt;

&lt;P style="font-size: 13.008px;"&gt;&lt;STRONG&gt;&lt;SPAN style="font-weight: 700;"&gt;Haswell&lt;/SPAN&gt;&lt;/STRONG&gt;:&amp;nbsp;Performance Events: PEBS fmt2+, Haswell events, full-width counters, Intel PMU driver.&lt;/P&gt;

&lt;P style="font-size: 13.008px;"&gt;&lt;STRONG&gt;&lt;SPAN style="font-weight: 700;"&gt;Broadwell&lt;/SPAN&gt;&lt;/STRONG&gt;:&amp;nbsp;Performance Events: PEBS fmt2+, generic architected perfmon, full-width counters, Intel PMU driver.&lt;/P&gt;

&lt;P style="font-size: 13.008px;"&gt;&lt;STRONG&gt;&lt;SPAN style="font-weight: 700;"&gt;Skylake&lt;/SPAN&gt;&lt;/STRONG&gt;:&amp;nbsp;Performance Events: PEBS fmt3+,&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;&lt;SPAN style="font-weight: 700;"&gt;32-deep LBR&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/EM&gt;, Skylake events, full-width counters, Intel PMU driver.&lt;/P&gt;

&lt;P style="font-size: 13.008px;"&gt;Only the hosts where the LBR information is specified will the LBR sampling work. Is this some bug with that particular tick-tock of HSW/BDW and LBR support?&lt;/P&gt;</description>
    <pubDate>Thu, 18 May 2017 17:17:39 GMT</pubDate>
    <dc:creator>Mark_D_9</dc:creator>
    <dc:date>2017-05-18T17:17:39Z</dc:date>
    <item>
      <title>Haswell PMU HW doesn't support sampling/overflow-interrupts (LBR)???</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/Haswell-PMU-HW-doesn-t-support-sampling-overflow-interrupts-LBR/m-p/1110393#M6040</link>
      <description>&lt;P&gt;&lt;STRONG&gt;CPU&lt;/STRONG&gt;: E5-2699 v3 (Haswell)&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Linux Kernel&lt;/STRONG&gt;: 4.9.11-1&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;I'm attempting to sample code blocks associated with high cpu usage on a Haswell box using its Last Branch Record (LBR) feature but I'm getting this error:&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;# perf record -b -e cycles:u -p &amp;lt;PID&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;&lt;EM&gt;Error:&lt;BR /&gt;
	PMU Hardware doesn't support sampling/overflow-interrupts&lt;/EM&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;However, this same command works w/o issue on IvyBridge and an eval Skylake, even on an earlier kernel release (CentOS 7.1 - 3.10.0-229).&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.008px;"&gt;Interestingly, when I execute "dmesg | grep -i pebs" on these hosts, I get the following output:&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="font-size: 13.008px;"&gt;&lt;STRONG&gt;&lt;SPAN style="font-weight: 700;"&gt;IvyBridge&lt;/SPAN&gt;&lt;/STRONG&gt;:&amp;nbsp;Performance Events: PEBS fmt1+,&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;&lt;SPAN style="font-weight: 700;"&gt;16-deep LBR&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/EM&gt;, IvyBridge events, full-width counters, Intel PMU driver.&lt;/P&gt;

&lt;P style="font-size: 13.008px;"&gt;&lt;STRONG&gt;&lt;SPAN style="font-weight: 700;"&gt;Haswell&lt;/SPAN&gt;&lt;/STRONG&gt;:&amp;nbsp;Performance Events: PEBS fmt2+, Haswell events, full-width counters, Intel PMU driver.&lt;/P&gt;

&lt;P style="font-size: 13.008px;"&gt;&lt;STRONG&gt;&lt;SPAN style="font-weight: 700;"&gt;Broadwell&lt;/SPAN&gt;&lt;/STRONG&gt;:&amp;nbsp;Performance Events: PEBS fmt2+, generic architected perfmon, full-width counters, Intel PMU driver.&lt;/P&gt;

&lt;P style="font-size: 13.008px;"&gt;&lt;STRONG&gt;&lt;SPAN style="font-weight: 700;"&gt;Skylake&lt;/SPAN&gt;&lt;/STRONG&gt;:&amp;nbsp;Performance Events: PEBS fmt3+,&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;&lt;SPAN style="font-weight: 700;"&gt;32-deep LBR&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/EM&gt;, Skylake events, full-width counters, Intel PMU driver.&lt;/P&gt;

&lt;P style="font-size: 13.008px;"&gt;Only the hosts where the LBR information is specified will the LBR sampling work. Is this some bug with that particular tick-tock of HSW/BDW and LBR support?&lt;/P&gt;</description>
      <pubDate>Thu, 18 May 2017 17:17:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/Haswell-PMU-HW-doesn-t-support-sampling-overflow-interrupts-LBR/m-p/1110393#M6040</guid>
      <dc:creator>Mark_D_9</dc:creator>
      <dc:date>2017-05-18T17:17:39Z</dc:date>
    </item>
  </channel>
</rss>

