<?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 Performance Monitoring in Software Tuning, Performance Optimization &amp; Platform Monitoring</title>
    <link>https://community.intel.com/t5/Software-Tuning-Performance/Performance-Monitoring/m-p/1318261#M7949</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To monitor performance on Intel Skylake by observing emitted events, we seem to have 2 choices:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1) &lt;A href="https://perfmon-events.intel.com/" target="_blank"&gt;https://perfmon-events.intel.com/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;2)&amp;nbsp;&lt;A href="https://software.intel.com/content/www/us/en/develop/download/intel-xeon-processor-scalable-memory-family-uncore-performance-monitoring-reference-manual.html" target="_blank"&gt;https://software.intel.com/content/www/us/en/develop/download/intel-xeon-processor-scalable-memory-family-uncore-performance-monitoring-reference-manual.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What are the subtle differences between the two? When to use which?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;At first, I though that the first link is for core (rather than uncore) performance monitoring (I don't know if there is a term named "core performance monitoring"). But both links seem to be doing fairly similar stuff.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Currently, I am programming uncore PMONs via pwrite() syscall with the value of "eventSel" and "umask" of the event I want to measure, looking up those values from 2). Would programming performance counters be any different if I were to use 1)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks and regards.&lt;/P&gt;</description>
    <pubDate>Thu, 30 Sep 2021 10:28:18 GMT</pubDate>
    <dc:creator>aozcan</dc:creator>
    <dc:date>2021-09-30T10:28:18Z</dc:date>
    <item>
      <title>Performance Monitoring</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/Performance-Monitoring/m-p/1318261#M7949</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To monitor performance on Intel Skylake by observing emitted events, we seem to have 2 choices:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1) &lt;A href="https://perfmon-events.intel.com/" target="_blank"&gt;https://perfmon-events.intel.com/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;2)&amp;nbsp;&lt;A href="https://software.intel.com/content/www/us/en/develop/download/intel-xeon-processor-scalable-memory-family-uncore-performance-monitoring-reference-manual.html" target="_blank"&gt;https://software.intel.com/content/www/us/en/develop/download/intel-xeon-processor-scalable-memory-family-uncore-performance-monitoring-reference-manual.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What are the subtle differences between the two? When to use which?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;At first, I though that the first link is for core (rather than uncore) performance monitoring (I don't know if there is a term named "core performance monitoring"). But both links seem to be doing fairly similar stuff.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Currently, I am programming uncore PMONs via pwrite() syscall with the value of "eventSel" and "umask" of the event I want to measure, looking up those values from 2). Would programming performance counters be any different if I were to use 1)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks and regards.&lt;/P&gt;</description>
      <pubDate>Thu, 30 Sep 2021 10:28:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/Performance-Monitoring/m-p/1318261#M7949</guid>
      <dc:creator>aozcan</dc:creator>
      <dc:date>2021-09-30T10:28:18Z</dc:date>
    </item>
    <item>
      <title>Re: Performance Monitoring</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/Performance-Monitoring/m-p/1318863#M7951</link>
      <description>&lt;OL&gt;
&lt;LI&gt;The "Uncore performance monitoring reference manual" is the official guide to uncore performance monitoring interfaces and events.&lt;/LI&gt;
&lt;LI&gt;The model-specific sub-section of Chapter 19 of Volume 3 of the Intel Architectures Software Developers Manual is the official guide to core performance monitoring and events.&lt;/LI&gt;
&lt;LI&gt;In the ten years that I have been working with the performance counters on Intel processors, I never ran across&amp;nbsp;&lt;A href="https://perfmon-events.intel.com" target="_blank"&gt;https://perfmon-events.intel.com&lt;/A&gt;&amp;nbsp;-- not sure what to think about it yet, but it appears to be limited to the core performance counters.&lt;/LI&gt;
&lt;LI&gt;I have found&amp;nbsp;&lt;A href="https://download.01.org/perfmon/" target="_blank"&gt;https://download.01.org/perfmon/&lt;/A&gt;&amp;nbsp;to be very useful for both core and uncore events:
&lt;UL&gt;
&lt;LI&gt;It seems to be easier for the Intel folks to update this version compared to the official documents,&lt;/LI&gt;
&lt;LI&gt;It includes many specific examples of the auxiliary MSR settings for the OFFCORE_RESPONSE events -- these are very helpful when trying to understand how these events work.&lt;/LI&gt;
&lt;LI&gt;It includes "experimental" lists of events -- these are also very helpful when trying to understand some of the event encodings that don't have adequate examples in the official documents.&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Sun, 03 Oct 2021 15:36:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/Performance-Monitoring/m-p/1318863#M7951</guid>
      <dc:creator>McCalpinJohn</dc:creator>
      <dc:date>2021-10-03T15:36:27Z</dc:date>
    </item>
  </channel>
</rss>

