<?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 Processor frequency changes in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/Processor-frequency-changes/m-p/873628#M8762</link>
    <description>&lt;P&gt;&lt;FONT size="2"&gt;A couple of questions ...&lt;/FONT&gt;&lt;/P&gt;
&lt;P align="left"&gt;&lt;FONT size="2"&gt;1) Is there a way to know, from a driver,when a processor's frequency changes?&lt;/FONT&gt;&lt;FONT size="2"&gt;The OS (Windows) does not provide any callbacks for frequecy changes, and it doesnot appear to be any hardware interrupts&lt;/FONT&gt;&lt;FONT size="2"&gt;generated on frequency/voltage transitions. &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="2"&gt;2) Is the bus multiplier value available in an MSR, or is it the ratio ofAPERF/MPERF, or something else? Don't know how public the&lt;/FONT&gt;&lt;FONT size="2"&gt;first part of the question is.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="2"&gt;3) On a Core 2 processor I can count EIST_TRANS (event 0x3A) and set it up to interrupt on every increment of the counter. Then in the interrupt handler calculate the APERF/MPERF ratio and come up with value for the frequency. Does that make sense? I'm insterested on servers, at moderate to high utilization so I'm assuming the rate of frequency/voltage transitions is low (a few per second).&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="2"&gt;Enio.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 13 Jun 2008 20:00:59 GMT</pubDate>
    <dc:creator>EnioPineda</dc:creator>
    <dc:date>2008-06-13T20:00:59Z</dc:date>
    <item>
      <title>Processor frequency changes</title>
      <link>https://community.intel.com/t5/Software-Archive/Processor-frequency-changes/m-p/873628#M8762</link>
      <description>&lt;P&gt;&lt;FONT size="2"&gt;A couple of questions ...&lt;/FONT&gt;&lt;/P&gt;
&lt;P align="left"&gt;&lt;FONT size="2"&gt;1) Is there a way to know, from a driver,when a processor's frequency changes?&lt;/FONT&gt;&lt;FONT size="2"&gt;The OS (Windows) does not provide any callbacks for frequecy changes, and it doesnot appear to be any hardware interrupts&lt;/FONT&gt;&lt;FONT size="2"&gt;generated on frequency/voltage transitions. &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="2"&gt;2) Is the bus multiplier value available in an MSR, or is it the ratio ofAPERF/MPERF, or something else? Don't know how public the&lt;/FONT&gt;&lt;FONT size="2"&gt;first part of the question is.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="2"&gt;3) On a Core 2 processor I can count EIST_TRANS (event 0x3A) and set it up to interrupt on every increment of the counter. Then in the interrupt handler calculate the APERF/MPERF ratio and come up with value for the frequency. Does that make sense? I'm insterested on servers, at moderate to high utilization so I'm assuming the rate of frequency/voltage transitions is low (a few per second).&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="2"&gt;Enio.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jun 2008 20:00:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Processor-frequency-changes/m-p/873628#M8762</guid>
      <dc:creator>EnioPineda</dc:creator>
      <dc:date>2008-06-13T20:00:59Z</dc:date>
    </item>
    <item>
      <title>Re: Processor frequency changes</title>
      <link>https://community.intel.com/t5/Software-Archive/Processor-frequency-changes/m-p/873629#M8763</link>
      <description>&lt;P&gt;The bus multiplier is available by MSR, requiring Administrator or root privilege. In a web search, you will find several utilities which appear to use it; possibly byreverse engineering. I haven't seen open source code examples. People who write drivers professionally are expected to open a support account, such as mentioned earlier on this forum.&lt;/P&gt;
&lt;P&gt;I guess your proposal makes sense. I can judge it only by open web references, where the actual e-mail addresses of the real experts are listed.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jun 2008 21:34:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Processor-frequency-changes/m-p/873629#M8763</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2008-06-13T21:34:46Z</dc:date>
    </item>
    <item>
      <title>Re: Processor frequency changes</title>
      <link>https://community.intel.com/t5/Software-Archive/Processor-frequency-changes/m-p/873630#M8764</link>
      <description>&lt;P&gt;You should first check whether state transition notifications are available via WMI (Windows Management and Instrumentation). If not then you will have to write driver.&lt;/P&gt;
&lt;P&gt;However, do not assume that you will have a free performance counter for monitoring that particular event. At present I am not aware of any mechanism which could be used to query whether the counter is free or in use by another process.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jun 2008 18:32:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Processor-frequency-changes/m-p/873630#M8764</guid>
      <dc:creator>levicki</dc:creator>
      <dc:date>2008-06-24T18:32:53Z</dc:date>
    </item>
  </channel>
</rss>

