<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.technet.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Clint Huffman's Windows Performance Blog : CPU</title><link>http://blogs.technet.com/clint_huffman/archive/tags/CPU/default.aspx</link><description>Tags: CPU</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Use the Hyper-V Counters for CPU Measurement</title><link>http://blogs.technet.com/clint_huffman/archive/2008/10/13/use-the-hyper-v-counters-for-cpu-measurement.aspx</link><pubDate>Mon, 13 Oct 2008 19:31:40 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3135896</guid><dc:creator>clinth@microsoft.com</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.technet.com/clint_huffman/comments/3135896.aspx</comments><wfw:commentRss>http://blogs.technet.com/clint_huffman/commentrss.aspx?PostID=3135896</wfw:commentRss><description>&lt;p&gt;As a reminder to everyone, use the perf counter &amp;#8220;\Hyper-V Hypervisor Logical Processor(_Total)\% Total Run Time&amp;#8221; to measure CPU in a Hyper-V environment.&lt;/p&gt;  &lt;p&gt;If you are trying to measure CPU utilization in a Hyper-V environment and are a bit frustrated as to why the numbers don&amp;#8217;t match up, then read the excerpt below. I spent a month with the BizTalk Product Team doing analysis of BizTalk in a Hyper-V environment. We had the virtual computers (guest) running at 100% CPU, yet Task Manager on the host computer (root partition) was about 1% on all of the CPUs.&lt;/p&gt;  &lt;p&gt;Excerpt from &lt;a href="http://msdn.microsoft.com/en-us/library/cc768535.aspx"&gt;http://msdn.microsoft.com/en-us/library/cc768535.aspx&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;b&gt;Measure overall processor utilization of the Hyper-V environment using Hyper-V performance monitor counters&lt;/b&gt; &amp;#8211; For purposes of measuring processor utilization, the host operating system is logically viewed as just another guest operating system. Therefore, the &amp;#8220;\Processor(*)\% Processor Time&amp;#8221; monitor counter measures the processor utilization of the host operating system only. To measure total physical processor utilization of the host operating system and all guest operating systems, use the &amp;#8220;\Hyper-V Hypervisor Logical Processor(_Total)\% Total Run Time&amp;#8221; performance monitor counter. This counter measures the total percentage of time spent by the processor running the both the host operating system and all guest operating systems.&lt;/p&gt;  &lt;p&gt;Also, the PAL tool has a threshold file for Hyper-V with this information in it. &lt;a href="http://www.codeplex.com/PAL"&gt;http://www.codeplex.com/PAL&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;BizTalk Server 2006 R2 Hyper-V Guide (Full Guide)&lt;/p&gt;  &lt;p&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/cc768518.aspx"&gt;http://msdn.microsoft.com/en-us/library/cc768518.aspx&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;i&gt;All my posts are provided &amp;quot;AS IS&amp;quot; with no warranties, and confer no rights. &lt;/i&gt;&lt;i&gt;For PFE Job Opportunities at Microsoft, please visit our website at: &lt;a href="http://members.microsoft.com/careers/search/default.aspx"&gt;http://members.microsoft.com/careers/search/default.aspx&lt;/a&gt; - search for keyword &amp;#8220;PFE&amp;#8221;       &lt;br /&gt;&lt;/i&gt;&lt;i&gt;&lt;b&gt;&amp;#8220;PFE: The best place to be at Microsoft&amp;#8221; &lt;/b&gt;&lt;/i&gt;&lt;/p&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3135896" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/clint_huffman/archive/tags/PAL/default.aspx">PAL</category><category domain="http://blogs.technet.com/clint_huffman/archive/tags/analysis/default.aspx">analysis</category><category domain="http://blogs.technet.com/clint_huffman/archive/tags/performance/default.aspx">performance</category><category domain="http://blogs.technet.com/clint_huffman/archive/tags/Windows/default.aspx">Windows</category><category domain="http://blogs.technet.com/clint_huffman/archive/tags/Hyper-V/default.aspx">Hyper-V</category><category domain="http://blogs.technet.com/clint_huffman/archive/tags/CPU/default.aspx">CPU</category></item></channel></rss>