<?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 Quote:arkaprava.basu wrote: in Software Tuning, Performance Optimization &amp; Platform Monitoring</title>
    <link>https://community.intel.com/t5/Software-Tuning-Performance/Understanding-hardware-performance-counter-event-for-STLB-flush/m-p/985580#M3239</link>
    <description>&lt;BLOCKQUOTE&gt;arkaprava.basu wrote:&lt;BR /&gt;&lt;P&gt;@illya&lt;/P&gt;
&lt;P&gt;DTLB = Data Translation Lookaside Buffer (generally used to refer Level 1 TLB for Data)&lt;BR /&gt;
STLB = Second level/Shared TLB (L2 TLB).&lt;/P&gt;
&lt;P&gt;I used oprofile to read the performance counter values.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
Hi!
Thanks for answer.
What is oprofile?
Do you use Linux or Windows?</description>
    <pubDate>Mon, 07 Jan 2013 19:57:01 GMT</pubDate>
    <dc:creator>Bernard</dc:creator>
    <dc:date>2013-01-07T19:57:01Z</dc:date>
    <item>
      <title>Understanding hardware performance counter event for STLB flush</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/Understanding-hardware-performance-counter-event-for-STLB-flush/m-p/985576#M3235</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;I was trying to count number of fluhses to TLB using performaqnce counters. One of the event that looked interesting to me is the "&lt;STRONG&gt;TLB_FLUSH.STLB_ANY&lt;/STRONG&gt;" with event number&amp;nbsp;&lt;STRONG&gt;BDH&lt;/STRONG&gt;&amp;nbsp;and mask &lt;STRONG&gt;20H&lt;/STRONG&gt;. The System Programing guide 3B (&lt;A href="http://download.intel.com/products/processor/manual/253669.pdf"&gt;http://download.intel.com/products/processor/manual/253669.pdf&lt;/A&gt;)&amp;nbsp; mentions that this measures &amp;nbsp;"&lt;STRONG&gt;Count number of STLB flush attempts".&amp;nbsp;&lt;/STRONG&gt;&amp;nbsp;Does this mean that this counts the number of TLB flusehes for the second level TLB? Does any body have better understanding of what this event really counts.&lt;/P&gt;
&lt;P&gt;I am more confused by the fact that when I measure another related counter&amp;nbsp;&lt;STRONG&gt;TLB_FLUSH.DTLB_THREAD &lt;/STRONG&gt;(same event number but mask is 01H and supossedly counts DTLB flush attempts of the thread-specific entries), it shows a much smaller value than the measured value of&amp;nbsp;&lt;STRONG&gt;TLB_FLUSH.STLB_ANY.&lt;/STRONG&gt; I am not understanding under what circumstances the L1 DTLB will not be flushed but STLB will be flushed. I should be missing something. Can somebody help me out here? &amp;nbsp;Any body has an idea how these are related too writes to CR3 &amp;nbsp;and/or CR4 registers?&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Arka&lt;/P&gt;</description>
      <pubDate>Sun, 06 Jan 2013 19:06:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/Understanding-hardware-performance-counter-event-for-STLB-flush/m-p/985576#M3235</guid>
      <dc:creator>arkaprava_basu</dc:creator>
      <dc:date>2013-01-06T19:06:10Z</dc:date>
    </item>
    <item>
      <title>What do STLB and DTLB stand</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/Understanding-hardware-performance-counter-event-for-STLB-flush/m-p/985577#M3236</link>
      <description>What do STLB and DTLB stand for?</description>
      <pubDate>Sun, 06 Jan 2013 19:23:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/Understanding-hardware-performance-counter-event-for-STLB-flush/m-p/985577#M3236</guid>
      <dc:creator>Bernard</dc:creator>
      <dc:date>2013-01-06T19:23:20Z</dc:date>
    </item>
    <item>
      <title>&gt;&gt;&gt;  I was trying to count</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/Understanding-hardware-performance-counter-event-for-STLB-flush/m-p/985578#M3237</link>
      <description>&amp;gt;&amp;gt;&amp;gt;  I was trying to count number of fluhses to TLB using performaqnce counters.&amp;gt;&amp;gt;&amp;gt;

How do you manage to read the values of the MSR registers?Do you use DbgPrint function in your driver?</description>
      <pubDate>Sun, 06 Jan 2013 19:25:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/Understanding-hardware-performance-counter-event-for-STLB-flush/m-p/985578#M3237</guid>
      <dc:creator>Bernard</dc:creator>
      <dc:date>2013-01-06T19:25:27Z</dc:date>
    </item>
    <item>
      <title>@illya</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/Understanding-hardware-performance-counter-event-for-STLB-flush/m-p/985579#M3238</link>
      <description>@illya

DTLB = Data Translation Lookaside Buffer (generally used to refer Level 1 TLB for Data)
STLB = Second level/Shared TLB (L2 TLB).

I used oprofile to read the performance counter values.</description>
      <pubDate>Mon, 07 Jan 2013 18:49:05 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/Understanding-hardware-performance-counter-event-for-STLB-flush/m-p/985579#M3238</guid>
      <dc:creator>arkaprava_basu</dc:creator>
      <dc:date>2013-01-07T18:49:05Z</dc:date>
    </item>
    <item>
      <title>Quote:arkaprava.basu wrote:</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/Understanding-hardware-performance-counter-event-for-STLB-flush/m-p/985580#M3239</link>
      <description>&lt;BLOCKQUOTE&gt;arkaprava.basu wrote:&lt;BR /&gt;&lt;P&gt;@illya&lt;/P&gt;
&lt;P&gt;DTLB = Data Translation Lookaside Buffer (generally used to refer Level 1 TLB for Data)&lt;BR /&gt;
STLB = Second level/Shared TLB (L2 TLB).&lt;/P&gt;
&lt;P&gt;I used oprofile to read the performance counter values.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
Hi!
Thanks for answer.
What is oprofile?
Do you use Linux or Windows?</description>
      <pubDate>Mon, 07 Jan 2013 19:57:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/Understanding-hardware-performance-counter-event-for-STLB-flush/m-p/985580#M3239</guid>
      <dc:creator>Bernard</dc:creator>
      <dc:date>2013-01-07T19:57:01Z</dc:date>
    </item>
    <item>
      <title>@arkaprava</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/Understanding-hardware-performance-counter-event-for-STLB-flush/m-p/985581#M3240</link>
      <description>@arkaprava
Have you ever tried to write your own driver for accessing MSR register?</description>
      <pubDate>Mon, 07 Jan 2013 20:02:41 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/Understanding-hardware-performance-counter-event-for-STLB-flush/m-p/985581#M3240</guid>
      <dc:creator>Bernard</dc:creator>
      <dc:date>2013-01-07T20:02:41Z</dc:date>
    </item>
    <item>
      <title>@ilya</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/Understanding-hardware-performance-counter-event-for-STLB-flush/m-p/985582#M3241</link>
      <description>&lt;P&gt;@ilya&lt;/P&gt;
&lt;P&gt;there are user-space frameworks to access hardware performance counters from user space already in place, so 99% of users do not need to directly program low-level registers (MSR) to read processor performance data. Consider &lt;A href="https://perf.wiki.kernel.org/index.php/Main_Page"&gt;Linux perf&lt;/A&gt;, &lt;A href="http://software.intel.com/en-us/articles/intel-performance-counter-monitor-a-better-way-to-measure-cpu-utilization"&gt;Intel Performance Counter Monitor &lt;/A&gt; or &lt;A href="http://icl.cs.utk.edu/papi/"&gt;PAPI&lt;/A&gt; for example.&lt;/P&gt;
&lt;P&gt;&lt;A href="http://software.intel.com/en-us/intel-vtune-amplifier-xe"&gt;Intel VTune Amplifier XE&lt;/A&gt;, Linux perf and &lt;A href="http://oprofile.sourceforge.net/news/"&gt;oprofile&lt;/A&gt; are profilers using processor hardware performance counters (but there are certainly more than that).&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Roman&lt;/P&gt;</description>
      <pubDate>Fri, 18 Jan 2013 11:31:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/Understanding-hardware-performance-counter-event-for-STLB-flush/m-p/985582#M3241</guid>
      <dc:creator>Roman_D_Intel</dc:creator>
      <dc:date>2013-01-18T11:31:00Z</dc:date>
    </item>
    <item>
      <title>&gt;&gt;&gt;@ilya</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/Understanding-hardware-performance-counter-event-for-STLB-flush/m-p/985583#M3242</link>
      <description>&lt;P&gt;&amp;gt;&amp;gt;&amp;gt;@ilya&lt;/P&gt;
&lt;P&gt;there are user-space frameworks to access hardware performance counters from user space already in place, so 99% of users do not need to directly program low-level registers (MSR) to read processor performance data. Consider &lt;A href="https://perf.wiki.kernel.org/index.php/Main_Page"&gt;Linux perf&lt;/A&gt;, &lt;A href="http://software.intel.com/en-us/articles/intel-performance-counter-monitor-a-better-way-to-measure-cpu-utilization"&gt;Intel Performance Counter Monitor &lt;/A&gt; or &lt;A href="http://icl.cs.utk.edu/papi/"&gt;PAPI&lt;/A&gt; for example.&amp;gt;&amp;gt;&amp;gt;&lt;/P&gt;
&lt;P&gt;Thanks Roman.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Jan 2013 21:47:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/Understanding-hardware-performance-counter-event-for-STLB-flush/m-p/985583#M3242</guid>
      <dc:creator>Bernard</dc:creator>
      <dc:date>2013-01-18T21:47:18Z</dc:date>
    </item>
    <item>
      <title>Quote:iliyapolak wrote:</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/Understanding-hardware-performance-counter-event-for-STLB-flush/m-p/985584#M3243</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;iliyapolak wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&amp;gt;&amp;gt;&amp;gt;@ilya&lt;/P&gt;
&lt;P&gt;there are user-space frameworks to access hardware performance counters from user space already in place, so 99% of users do not need to directly program low-level registers (MSR) to read processor performance data. Consider &lt;A href="https://perf.wiki.kernel.org/index.php/Main_Page"&gt;Linux perf&lt;/A&gt;, &lt;A href="http://software.intel.com/en-us/articles/intel-performance-counter-monitor-a-better-way-to-measure-cpu-utilization"&gt;Intel Performance Counter Monitor &lt;/A&gt; or &lt;A href="http://icl.cs.utk.edu/papi/"&gt;PAPI&lt;/A&gt; for example.&amp;gt;&amp;gt;&amp;gt;&lt;/P&gt;
&lt;P&gt;Thanks Roman.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Hi Roman!&lt;/P&gt;
&lt;P&gt;How I can integrate Intel performance monitor API into my code?&lt;/P&gt;
&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Sun, 20 Jan 2013 20:20:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/Understanding-hardware-performance-counter-event-for-STLB-flush/m-p/985584#M3243</guid>
      <dc:creator>Bernard</dc:creator>
      <dc:date>2013-01-20T20:20:11Z</dc:date>
    </item>
    <item>
      <title>Hi Ilya,</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/Understanding-hardware-performance-counter-event-for-STLB-flush/m-p/985585#M3244</link>
      <description>&lt;P&gt;Hi Ilya,&lt;/P&gt;
&lt;P&gt;you can look at &lt;A href="http://software.intel.com/en-us/blogs/2010/11/23/dissecting-stream-benchmark-with-intel-performance-counter-monitor"&gt;this blog&lt;/A&gt; for an example of integration.&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Roman&lt;/P&gt;</description>
      <pubDate>Mon, 21 Jan 2013 10:29:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/Understanding-hardware-performance-counter-event-for-STLB-flush/m-p/985585#M3244</guid>
      <dc:creator>Roman_D_Intel</dc:creator>
      <dc:date>2013-01-21T10:29:31Z</dc:date>
    </item>
    <item>
      <title>@Roman</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/Understanding-hardware-performance-counter-event-for-STLB-flush/m-p/985586#M3245</link>
      <description>&lt;P&gt;@Roman&lt;/P&gt;
&lt;P&gt;Thanks for your help.I think that I will try to "mess" with MSR registers by writing my own drivers.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Jan 2013 17:18:45 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/Understanding-hardware-performance-counter-event-for-STLB-flush/m-p/985586#M3245</guid>
      <dc:creator>Bernard</dc:creator>
      <dc:date>2013-01-21T17:18:45Z</dc:date>
    </item>
  </channel>
</rss>

