<?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 Pat,Sure, I disabled C-states in Software Tuning, Performance Optimization &amp; Platform Monitoring</title>
    <link>https://community.intel.com/t5/Software-Tuning-Performance/Voltage-levels-at-different-frequency-levels-on-Sandy-bridge/m-p/980184#M3113</link>
    <description>&lt;P&gt;Pat,&lt;BR /&gt;Sure, I disabled C-states from the grub and recorded the voltage levels again. I got the results as expected, that is, the values don't fluctuate since the static power doesn't dominate anymore.&lt;BR /&gt;@Iliyapolak:&lt;BR /&gt;It is not exactly linear, it depends on many things like stall-cycles, IO interrupts, kernal thread interrupts, etc&lt;BR /&gt;&lt;BR /&gt;P.S: I worked with Kirk at Pittsburgh earlier this year :)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 15 Nov 2013 10:00:16 GMT</pubDate>
    <dc:creator>Rajiv_N_</dc:creator>
    <dc:date>2013-11-15T10:00:16Z</dc:date>
    <item>
      <title>Voltage levels at different frequency levels on Sandy bridge processor</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/Voltage-levels-at-different-frequency-levels-on-Sandy-bridge/m-p/980156#M3085</link>
      <description>&lt;P&gt;I'm trying to gather some data from the MSR registers about the voltage levels at various frequency levels. I see that the MSR register: IA32_PERF_STATUS output both the current frequency and operating voltage. But the last two hexadecimal bits give the Voltage ID.&lt;/P&gt;
&lt;P&gt;sudo modprobe msr&lt;BR /&gt;sudo rdmsr -d --bitfield 15:0 0x198&lt;/P&gt;
&lt;P&gt;On one of the forums, I see that for Core2Duo you need to substitute in the following linear equation to obtain the Votlage level at a given Frequency level.&lt;BR /&gt;0.7125V + VID*0.0125V&lt;BR /&gt;and I'm using a Sandy bridge processor. Could you please direct me to a place where I can find the linear equation or help me build it.&lt;/P&gt;
&lt;P&gt;Any help will be appreciated.&lt;/P&gt;</description>
      <pubDate>Sun, 10 Nov 2013 09:22:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/Voltage-levels-at-different-frequency-levels-on-Sandy-bridge/m-p/980156#M3085</guid>
      <dc:creator>Rajiv_N_</dc:creator>
      <dc:date>2013-11-10T09:22:59Z</dc:date>
    </item>
    <item>
      <title>Plus, When I read the MSR</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/Voltage-levels-at-different-frequency-levels-on-Sandy-bridge/m-p/980157#M3086</link>
      <description>&lt;P&gt;Plus, When I read the MSR register - the last 2 bits are always 0. Why would that case occur?&lt;/P&gt;
&lt;P&gt;My grub looks like this:&lt;BR /&gt;&lt;BR /&gt;GRUB_CMDLINE_LINUX_DEFAULT="quiet splash intel_pstate=disable"&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 10 Nov 2013 10:01:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/Voltage-levels-at-different-frequency-levels-on-Sandy-bridge/m-p/980157#M3086</guid>
      <dc:creator>Rajiv_N_</dc:creator>
      <dc:date>2013-11-10T10:01:03Z</dc:date>
    </item>
    <item>
      <title>Look in the System</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/Voltage-levels-at-different-frequency-levels-on-Sandy-bridge/m-p/980158#M3087</link>
      <description>&lt;P&gt;Look in the System Programming guide provided by Intel. &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://www.intel.com/content/www/us/en/processors/architectures-software-developer-manuals.html"&gt;http://www.intel.com/content/www/us/en/processors/architectures-software-developer-manuals.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://www.intel.com/content/www/us/en/processors/architectures-software-developer-manuals.html"&gt;&lt;/A&gt;It says in table 35-11:&lt;/P&gt;
&lt;P&gt;MSR_PERF_STATUS[47:32] * (float) 1/(2^13). (typo in my version says bits [37:32] but I am sure it's [47:32].&lt;/P&gt;
&lt;P&gt;perfwise&lt;/P&gt;</description>
      <pubDate>Sun, 10 Nov 2013 17:01:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/Voltage-levels-at-different-frequency-levels-on-Sandy-bridge/m-p/980158#M3087</guid>
      <dc:creator>perfwise</dc:creator>
      <dc:date>2013-11-10T17:01:23Z</dc:date>
    </item>
    <item>
      <title>Did you consult "Software</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/Voltage-levels-at-different-frequency-levels-on-Sandy-bridge/m-p/980159#M3088</link>
      <description>&lt;P&gt;Did you consult "Software Development Manuals"?&lt;/P&gt;</description>
      <pubDate>Mon, 11 Nov 2013 08:22:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/Voltage-levels-at-different-frequency-levels-on-Sandy-bridge/m-p/980159#M3088</guid>
      <dc:creator>Bernard</dc:creator>
      <dc:date>2013-11-11T08:22:53Z</dc:date>
    </item>
    <item>
      <title>iliyapolak,</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/Voltage-levels-at-different-frequency-levels-on-Sandy-bridge/m-p/980160#M3089</link>
      <description>&lt;P&gt;&lt;A href="http://software.intel.com/en-us/user/542548"&gt;iliyapolak,&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Yes, I did consult the SDM. I did not find them. Any help will be appreciated.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Nov 2013 08:35:43 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/Voltage-levels-at-different-frequency-levels-on-Sandy-bridge/m-p/980160#M3089</guid>
      <dc:creator>Rajiv_N_</dc:creator>
      <dc:date>2013-11-11T08:35:43Z</dc:date>
    </item>
    <item>
      <title>Yes, I did look at the SDM's.</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/Voltage-levels-at-different-frequency-levels-on-Sandy-bridge/m-p/980161#M3090</link>
      <description>&lt;P&gt;Yes, I did look at the SDM's. The SDMs provide us with the MSR registers, the bits that represent voltage and the corresponding voltage for the 2 least significant bits.&lt;/P&gt;
&lt;P&gt;However, On my sandy bridge processor the last two bits are always zero. Is there anyway out of it?&lt;/P&gt;</description>
      <pubDate>Mon, 11 Nov 2013 10:55:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/Voltage-levels-at-different-frequency-levels-on-Sandy-bridge/m-p/980161#M3090</guid>
      <dc:creator>Rajiv_N_</dc:creator>
      <dc:date>2013-11-11T10:55:33Z</dc:date>
    </item>
    <item>
      <title>It seems that lower word of</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/Voltage-levels-at-different-frequency-levels-on-Sandy-bridge/m-p/980162#M3091</link>
      <description>&lt;P&gt;It seems that lower word of&amp;nbsp;IA32_PERF_STATUS is controlling Intel Speed Step technology,but exact description is not given.&lt;/P&gt;
&lt;P&gt;&lt;A href="http://forum.osdev.org/viewtopic.php?f=15&amp;amp;t=26703"&gt;http://forum.osdev.org/viewtopic.php?f=15&amp;amp;t=26703&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Nov 2013 12:39:49 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/Voltage-levels-at-different-frequency-levels-on-Sandy-bridge/m-p/980162#M3091</guid>
      <dc:creator>Bernard</dc:creator>
      <dc:date>2013-11-11T12:39:49Z</dc:date>
    </item>
    <item>
      <title>Ok. But do you need any place</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/Voltage-levels-at-different-frequency-levels-on-Sandy-bridge/m-p/980163#M3092</link>
      <description>&lt;P&gt;Ok. But do you see any place where the voltage levels at a given frequency level are given?&lt;BR /&gt;I don't think they are available in the SDM. &lt;BR /&gt;The Table 35-12. MSRs Supported by Intel® Processors based on Intel® microarchitecture code name Sandy Bridge (Contd.) in&lt;/P&gt;
&lt;P&gt;Intel® 64 and IA-32 Architectures Software Developer’s Manual Combined Volumes: 1, 2A, 2B, 2C, 3A, 3B and 3C&lt;BR /&gt;Gives some information..&lt;/P&gt;</description>
      <pubDate>Mon, 11 Nov 2013 12:43:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/Voltage-levels-at-different-frequency-levels-on-Sandy-bridge/m-p/980163#M3092</guid>
      <dc:creator>Rajiv_N_</dc:creator>
      <dc:date>2013-11-11T12:43:00Z</dc:date>
    </item>
    <item>
      <title>Yes I would like to see the</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/Voltage-levels-at-different-frequency-levels-on-Sandy-bridge/m-p/980164#M3093</link>
      <description>&lt;P&gt;Yes I would like to see the exact description,but it is not available in SDM (table 35-12).It is interesting what lowest byte is supposed to set?&lt;/P&gt;</description>
      <pubDate>Mon, 11 Nov 2013 12:54:51 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/Voltage-levels-at-different-frequency-levels-on-Sandy-bridge/m-p/980164#M3093</guid>
      <dc:creator>Bernard</dc:creator>
      <dc:date>2013-11-11T12:54:51Z</dc:date>
    </item>
    <item>
      <title>It'd be great if one of the</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/Voltage-levels-at-different-frequency-levels-on-Sandy-bridge/m-p/980165#M3094</link>
      <description>&lt;P&gt;It'd be great if one of the intel personal sheds some light. since we are not able to figure it out. &lt;BR /&gt;The table 35-12 only tells us about the MSR registers and which bits to access for frequency and voltage levels.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Nov 2013 13:03:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/Voltage-levels-at-different-frequency-levels-on-Sandy-bridge/m-p/980165#M3094</guid>
      <dc:creator>Rajiv_N_</dc:creator>
      <dc:date>2013-11-11T13:03:18Z</dc:date>
    </item>
    <item>
      <title>Usually if the description is</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/Voltage-levels-at-different-frequency-levels-on-Sandy-bridge/m-p/980166#M3095</link>
      <description>&lt;P&gt;Usually if the description is absent the exact info is given as a NDA.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Nov 2013 14:44:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/Voltage-levels-at-different-frequency-levels-on-Sandy-bridge/m-p/980166#M3095</guid>
      <dc:creator>Bernard</dc:creator>
      <dc:date>2013-11-11T14:44:19Z</dc:date>
    </item>
    <item>
      <title>perfwise</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/Voltage-levels-at-different-frequency-levels-on-Sandy-bridge/m-p/980167#M3096</link>
      <description>&lt;P&gt;&lt;A href="http://software.intel.com/en-us/user/473125"&gt;perfwise&lt;/A&gt; &lt;BR /&gt;&lt;BR /&gt;Thank you for that. I figured that as well from the SDM. But how are you sure about the bit changes from 37 to 47?&lt;/P&gt;
&lt;P&gt;And, Which bits represent the voltage? which ones represent the frequency? it is 4 digit hexadecimal value.&lt;/P&gt;
&lt;P&gt;Moreover, does it represent the VDD or the VCC?&lt;/P&gt;
&lt;P&gt;The table 7-1 ends at 1.52V for VCC.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Nov 2013 15:52:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/Voltage-levels-at-different-frequency-levels-on-Sandy-bridge/m-p/980167#M3096</guid>
      <dc:creator>Rajiv_N_</dc:creator>
      <dc:date>2013-11-11T15:52:00Z</dc:date>
    </item>
    <item>
      <title>How did you set global_ctrl</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/Voltage-levels-at-different-frequency-levels-on-Sandy-bridge/m-p/980168#M3097</link>
      <description>&lt;P&gt;How&amp;nbsp;did you set global_ctrl and event_select?&lt;/P&gt;</description>
      <pubDate>Tue, 12 Nov 2013 06:27:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/Voltage-levels-at-different-frequency-levels-on-Sandy-bridge/m-p/980168#M3097</guid>
      <dc:creator>GHui</dc:creator>
      <dc:date>2013-11-12T06:27:30Z</dc:date>
    </item>
    <item>
      <title>@GHui,</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/Voltage-levels-at-different-frequency-levels-on-Sandy-bridge/m-p/980169#M3098</link>
      <description>&lt;P&gt;@GHui,&lt;/P&gt;
&lt;P&gt;I'm not trying to set the values. I'm just trying to read them.&lt;/P&gt;
&lt;P&gt;To set the values you need to do wrmsr &amp;lt;hex value&amp;gt; &amp;lt;new hex value&amp;gt;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Nov 2013 07:30:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/Voltage-levels-at-different-frequency-levels-on-Sandy-bridge/m-p/980169#M3098</guid>
      <dc:creator>Rajiv_N_</dc:creator>
      <dc:date>2013-11-12T07:30:31Z</dc:date>
    </item>
    <item>
      <title>&gt;&gt;&gt;The table 7-1 ends at 1</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/Voltage-levels-at-different-frequency-levels-on-Sandy-bridge/m-p/980170#M3099</link>
      <description>&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&amp;gt;&amp;gt;&amp;gt;The table 7-1 ends at 1.52V for VCC.&amp;gt;&amp;gt;&amp;gt;&lt;/P&gt;
&lt;P&gt;Can you tell me where in SDM I can find this table?&lt;/P&gt;
&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Tue, 12 Nov 2013 08:38:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/Voltage-levels-at-different-frequency-levels-on-Sandy-bridge/m-p/980170#M3099</guid>
      <dc:creator>Bernard</dc:creator>
      <dc:date>2013-11-12T08:38:00Z</dc:date>
    </item>
    <item>
      <title>http://www.manualslib.com</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/Voltage-levels-at-different-frequency-levels-on-Sandy-bridge/m-p/980171#M3100</link>
      <description>&lt;P&gt;&lt;A href="http://www.manualslib.com/manual/407239/Intel-2nd-Generation-Intel-Core-Processor-Family-Mobile-Datasheet-Volume-1-01-2011.html?page=89" target="_blank"&gt;http://www.manualslib.com/manual/407239/Intel-2nd-Generation-Intel-Core-Processor-Family-Mobile-Datasheet-Volume-1-01-2011.html?page=89&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Nov 2013 08:40:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/Voltage-levels-at-different-frequency-levels-on-Sandy-bridge/m-p/980171#M3100</guid>
      <dc:creator>Rajiv_N_</dc:creator>
      <dc:date>2013-11-12T08:40:16Z</dc:date>
    </item>
    <item>
      <title>Hello Rajiv,</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/Voltage-levels-at-different-frequency-levels-on-Sandy-bridge/m-p/980172#M3101</link>
      <description>&lt;P&gt;Hello Rajiv,&lt;/P&gt;
&lt;P&gt;As perfwise pointed out, the voltage ID for sandbridge is bits 32-47 of MSR IA32_PERF_STATUS (sometimes called MSR_PERF_STATUS).&lt;/P&gt;
&lt;P&gt;And perfwise's formula (voltage = VID/(2^13) = VID/8192) is also correct. This is documented in one of the sandybridge specification update docs page 25: &lt;A href="http://www.intel.com/content/dam/www/public/us/en/documents/specification-updates/4th-gen-core-family-desktop-specification-update.pdf"&gt;http://www.intel.com/content/dam/www/public/us/en/documents/specification-updates/4th-gen-core-family-desktop-specification-update.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;However, the spec update also lists an erratum (HSD31)&amp;nbsp;for the reported voltage id where it can be half of the expected value. The erratum says there may be a workaround in the bios and it says that the C-0 stepping of the processors for this spec update are affected. Unfortunately, the doc doesn't say which stepping number corresponds to stepping C-0. So I can't tell if you a hitting the erratum nor if there is a workaround in your bios.&lt;/P&gt;
&lt;P&gt;I think you asked if the VID pertains to VCC. Yes. This is stated in the desktop data sheet vol 1 page 89. See the datasheets at &lt;A href="http://www.intel.com/content/www/us/en/processors/core/CoreTechnicalResources.html"&gt;http://www.intel.com/content/www/us/en/processors/core/CoreTechnicalResources.html&lt;/A&gt; .&lt;/P&gt;
&lt;P&gt;I find the docs for a particular processor by going to ark.intel.com, select 'products by code name' at the left, lookup sandybridge, find your specific processor in the list, then click 'download datasheet' on the right. You may get a list of datasheets.... and you have to pick the right one.&lt;/P&gt;
&lt;P&gt;Or you can just just google something like 'intel i5-2540m' and click on the ark.intel.com link.&lt;/P&gt;
&lt;P&gt;Hope this helps.&lt;/P&gt;
&lt;P&gt;Pat&lt;/P&gt;</description>
      <pubDate>Tue, 12 Nov 2013 17:23:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/Voltage-levels-at-different-frequency-levels-on-Sandy-bridge/m-p/980172#M3101</guid>
      <dc:creator>Patrick_F_Intel1</dc:creator>
      <dc:date>2013-11-12T17:23:30Z</dc:date>
    </item>
    <item>
      <title>Also, you might try looking</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/Voltage-levels-at-different-frequency-levels-on-Sandy-bridge/m-p/980173#M3102</link>
      <description>&lt;P&gt;Also, you might try looking into the linux kernel source code or the power-governor (cpu-freq?) source code.&lt;/P&gt;
&lt;P&gt;I assume they have to deal with voltage id and that source might indicate how to decode values or workaround difficulties.&lt;/P&gt;
&lt;P&gt;Pat&lt;/P&gt;</description>
      <pubDate>Tue, 12 Nov 2013 17:37:45 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/Voltage-levels-at-different-frequency-levels-on-Sandy-bridge/m-p/980173#M3102</guid>
      <dc:creator>Patrick_F_Intel1</dc:creator>
      <dc:date>2013-11-12T17:37:45Z</dc:date>
    </item>
    <item>
      <title>@Rajiv
Thank you.</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/Voltage-levels-at-different-frequency-levels-on-Sandy-bridge/m-p/980174#M3103</link>
      <description>&lt;P&gt;@Rajiv&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Nov 2013 18:34:05 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/Voltage-levels-at-different-frequency-levels-on-Sandy-bridge/m-p/980174#M3103</guid>
      <dc:creator>Bernard</dc:creator>
      <dc:date>2013-11-12T18:34:05Z</dc:date>
    </item>
    <item>
      <title>Hi Pat,</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/Voltage-levels-at-different-frequency-levels-on-Sandy-bridge/m-p/980175#M3104</link>
      <description>&lt;P&gt;Hi Pat,&lt;BR /&gt;&lt;BR /&gt;Thank you for your reply. But what is the unit of power there? mV or V or MV?&lt;BR /&gt;One more issue is that the voltage doesn't stay constant.. it varies based on the stress on different components of the processor. I thought it is constant irrespective of the stress for a given frequency level, isn't it?&lt;BR /&gt;&lt;BR /&gt;Hope you can clear this one doubt. &lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Nov 2013 08:51:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/Voltage-levels-at-different-frequency-levels-on-Sandy-bridge/m-p/980175#M3104</guid>
      <dc:creator>Rajiv_N_</dc:creator>
      <dc:date>2013-11-13T08:51:59Z</dc:date>
    </item>
  </channel>
</rss>

