<?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 Yes.   One of the manuals in Software Tuning, Performance Optimization &amp; Platform Monitoring</title>
    <link>https://community.intel.com/t5/Software-Tuning-Performance/MSRs-read-time-resolution/m-p/1004450#M3624</link>
    <description>&lt;P&gt;Yes.&amp;nbsp;&amp;nbsp; One of the manuals says that these power and temperature MSR values are only updated about once per millisecond, so querying them more frequently is just extra overhead.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 09 Jul 2015 09:26:22 GMT</pubDate>
    <dc:creator>McCalpinJohn</dc:creator>
    <dc:date>2015-07-09T09:26:22Z</dc:date>
    <item>
      <title>MSRs read time resolution</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/MSRs-read-time-resolution/m-p/1004447#M3621</link>
      <description>Hello all,

I am trying to understand how fast I can get updated information from the IA32_THERM_STATUS msr to monitor the cores temperature.
I am using Linux 3.19 and the msr kernel module on a Haswell laptop core i7 processor.

It seems to work fine down to a sampling time of 1ms, but if I go below that it seems that the values only change every 1ms anyway.
For instance, if I sample at 500us there seem to be always pairs of the same temperature value.

I looked at the msr kernel code but I did not find anything that would limit the time resolution there (it pretty much just translates the pread to assembly code).

Is there a limitation at the hardware level?

Thanks for any hints; I apologize if the information is somewhere and I missed it.</description>
      <pubDate>Thu, 09 Jul 2015 08:29:04 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/MSRs-read-time-resolution/m-p/1004447#M3621</guid>
      <dc:creator>Davide_Basilio_B_1</dc:creator>
      <dc:date>2015-07-09T08:29:04Z</dc:date>
    </item>
    <item>
      <title>Intel documentation mentions</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/MSRs-read-time-resolution/m-p/1004448#M3622</link>
      <description>&lt;P&gt;Intel documentation mentions the 1 millisecond update time for the power and temperature MSRs in a couple of places.&amp;nbsp; I have seen it in the chapter on power monitoring in Volume 3 of the SW Developers Manual, and I think it is also in the Uncore Performance Monitoring Guides for the various Xeon E5 processors.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jul 2015 09:03:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/MSRs-read-time-resolution/m-p/1004448#M3622</guid>
      <dc:creator>McCalpinJohn</dc:creator>
      <dc:date>2015-07-09T09:03:39Z</dc:date>
    </item>
    <item>
      <title>Thanks John for your reply.</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/MSRs-read-time-resolution/m-p/1004449#M3623</link>
      <description>Thanks John for your reply.

So probably 1ms is as fast as one can go due to the hardware.

&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;John D. McCalpin wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;Intel documentation mentions the 1 millisecond update time for the power and temperature MSRs in a couple of places.&amp;nbsp; I have seen it in the chapter on power monitoring in Volume 3 of the SW Developers Manual, and I think it is also in the Uncore Performance Monitoring Guides for the various Xeon E5 processors.&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jul 2015 09:06:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/MSRs-read-time-resolution/m-p/1004449#M3623</guid>
      <dc:creator>Davide_Basilio_B_1</dc:creator>
      <dc:date>2015-07-09T09:06:07Z</dc:date>
    </item>
    <item>
      <title>Yes.   One of the manuals</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/MSRs-read-time-resolution/m-p/1004450#M3624</link>
      <description>&lt;P&gt;Yes.&amp;nbsp;&amp;nbsp; One of the manuals says that these power and temperature MSR values are only updated about once per millisecond, so querying them more frequently is just extra overhead.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jul 2015 09:26:22 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/MSRs-read-time-resolution/m-p/1004450#M3624</guid>
      <dc:creator>McCalpinJohn</dc:creator>
      <dc:date>2015-07-09T09:26:22Z</dc:date>
    </item>
  </channel>
</rss>

