Hyper-V: How to make sure you are getting the best performance when doing performance comparisonshttp://blogs.msdn.com/b/tvoellm/archive/2008/04/19/hyper-v-how-to-make-sure-you-are-getting-the-best-performance-when-doing-performance-comparisons.aspxAs we have moved from Beta to RC the number of questions I have been getting around Hyper-V performance have grown quite a bit. It’s time to put some tips out on how to avoid some common pitfalls.
Pitfall 1: The first and most common has been runningen-USTelligent Evolution Platform Developer Build (Build: 5.6.50428.7875)re: Hyper-V: How to make sure you are getting the best performance when doing performance comparisonshttp://blogs.msdn.com/b/tvoellm/archive/2008/04/19/hyper-v-how-to-make-sure-you-are-getting-the-best-performance-when-doing-performance-comparisons.aspx#8994202Fri, 10 Oct 2008 15:51:35 GMT91d46819-8472-40ad-a661-2c78acb4018c:8994202William Fields<P>Hello,</P>
<P>I'd like to see some file transfer performance numbers on your end. Also, I'd like to know (or clarify) a couple things.</P>
<P>My understanding (<A href="http://blogs.technet.com/jhoward/archive/2008/06/16/how-does-basic-networking-work-in-hyper-v.aspx" target=_new rel=nofollow>http://blogs.technet.com/jhoward/archive/2008/06/16/how-does-basic-networking-work-in-hyper-v.aspx</A>) is that when transfering data from parent to child through the virtual network switch (Synthetic NIC, and VMBus active), there should be no actual traffic between the physical NIC's (in a dual-NIC system). See: <A href="http://blogs.technet.com/blogfiles/jhoward/WindowsLiveWriter/HowdoesbasicnetworkingworkinHyperV_B633/14_2.jpg" target=_new rel=nofollow>http://blogs.technet.com/blogfiles/jhoward/WindowsLiveWriter/HowdoesbasicnetworkingworkinHyperV_B633/14_2.jpg</A></P>
<P>When I monitor the physical NIC's via performance monitor, they show that they're passing the traffic out of my physical box, to the physical switch (GB full duplex), then back into the box. And BTW - the data is also passing through the virtual switch. Note, this is passing data to/from a WinXP guest. This graphic shows what I'm talking about <A href="http://blogs.technet.com/blogfiles/jhoward/WindowsLiveWriter/HowdoesbasicnetworkingworkinHyperV_B633/13_2.jpg" target=_new rel=nofollow>http://blogs.technet.com/blogfiles/jhoward/WindowsLiveWriter/HowdoesbasicnetworkingworkinHyperV_B633/13_2.jpg</A></P>
<P>#2 - Even though my physical system has dual-GB NIC's, and a full duplex GB switch, the data transfer rate from parent to child partition is equivalent to a poor porforming 100mb network (&lt;5,000,000 bytes/sec). What's up with that? I should be seeing 20+ million bytes/sec on a GB system.</P>
<P>I've posted this to this blog entry as well as John Howards.</P>
<P>Any feedback would be great. Network file transfer performance numbers would be wonderful! I'm very excited about Hyper-V, but I'm not sold on performance yet.</P>
<P>Thanks.</P>
<P>&nbsp;-----</P>
<P>[Tony's Reply]</P>
<P>Performance data is coming...</P>
<P><A href="http://blogs.msdn.com/tvoellm/archive/2008/09/24/what-hyper-v-storage-is-best-for-you-show-me-the-numbers.aspx">http://blogs.msdn.com/tvoellm/archive/2008/09/24/what-hyper-v-storage-is-best-for-you-show-me-the-numbers.aspx</A></P>
<P>&nbsp;As for the networking performance you are seeing from guest to host when using a public switch (is a switch attached to a physical NIC) is you least performant option because you are also depending on your switch to send back the packets.&nbsp; If you want guest to host performance you should use a private switch.&nbsp; There are also factors that you might check out firewall, filtering, ...&nbsp; You also want to make sure you have LSO and TCP offload enabled on the virtual switch.</P>
<P>You should check out SQL and BizTalk papers...</P>
<P><A href="http://blogs.msdn.com/tvoellm/archive/2008/10/07/sql-server-2008-on-windows-server-2008-hyper-v-performance-guidance.aspx">http://blogs.msdn.com/tvoellm/archive/2008/10/07/sql-server-2008-on-windows-server-2008-hyper-v-performance-guidance.aspx</A></P>
<P>and</P>
<P><A href="http://blogs.msdn.com/tvoellm/archive/2008/07/22/biztalk-team-releases-best-practice-doc-for-running-on-ws08-hyper-v.aspx">http://blogs.msdn.com/tvoellm/archive/2008/07/22/biztalk-team-releases-best-practice-doc-for-running-on-ws08-hyper-v.aspx</A></P>
<P>&nbsp;</P><div style="clear:both;"></div><img src="http://blogs.msdn.com/aggbug.aspx?PostID=8994202" width="1" height="1">Hyper-V Performance FAQhttp://blogs.msdn.com/b/tvoellm/archive/2008/04/19/hyper-v-how-to-make-sure-you-are-getting-the-best-performance-when-doing-performance-comparisons.aspx#8576829Fri, 06 Jun 2008 06:27:59 GMT91d46819-8472-40ad-a661-2c78acb4018c:8576829ALL TOPICS PERFORMANCE<p>Hyper-V Performance FAQ Anthony F Voellm (aka Tony) 6/5/2008 <a rel="nofollow" target="_new" href="http://blogs.msdn.com/tvoellm">http://blogs.msdn.com/tvoellm</a> Q: What is</p>
<img src="http://blogs.msdn.com/aggbug.aspx?PostID=8576829" width="1" height="1">re: Hyper-V: How to make sure you are getting the best performance when doing performance comparisonshttp://blogs.msdn.com/b/tvoellm/archive/2008/04/19/hyper-v-how-to-make-sure-you-are-getting-the-best-performance-when-doing-performance-comparisons.aspx#8414588Mon, 21 Apr 2008 16:35:41 GMT91d46819-8472-40ad-a661-2c78acb4018c:8414588Pete<P>Graphics for Pitfalls 1 &amp; 2 are switched</P>
<P>[[Tony- Thanks Pete - Fixed]]</P><div style="clear:both;"></div><img src="http://blogs.msdn.com/aggbug.aspx?PostID=8414588" width="1" height="1">