====== Hyper-V Performance ====== See also **[[https://virtualarchitects.com/wiki/doku.php?do=search&id=start&q=hyper-v|more Hyper-V pages]]** http://social.technet.microsoft.com/Forums/en-US/winserverhyperv/thread/6fb8cc70-bc52-4b3e-9aca-94288225a6ba http://technet.microsoft.com/en-US/library/dd722835%28v=BTS.10%29.aspx http://support.microsoft.com/kb/555975/en-us http://social.technet.microsoft.com/wiki/contents/articles/151.hyper-v-virtual-networking-survival-guide.aspx http://www.hyper-v.nu/archives/marcve/2013/01/lbfo-hyper-v-switch-qos-and-actual-performance-part-1/ * In machine BIOS, disable C1E and C-States * In machine BIOS, set all Power Management settings to "Maximum Performance" * On NICs and switches, enable jumbo frames for connections to the storage, but leave regular MTU on connections to clustering network and LAN, DMZ, ecc (more on this below) * On switches, disable all iSCSI optimizations * On switches, disable Spanning Tree Protocol for all connections to storage * Disable TCP Offloading and Receive Side scaling at the operating system level C:\>netsh int tcp set global rss=disabled C:\>netsh int tcp set global chimney=disabled * Verify which NICs among the ones you have available give the best performance to the storage * Disable NetBIOS and Microsoft protocols on connections to the storage * Use as many NICs as possible to connect to the storage * Install and configure iSCSI and MPIO using Dell MD Storage Software * Verify that MPIO is set at Round Robin with Subset * MPIO tab on the disk properties in Server Management, Disk Management * Designate a preferred Network for Cluster Shared Volumes Communication: PS C:\> ( Get-ClusterNetwork "Storage Network 130" ).Metric = 500 PS C:\> ( Get-ClusterNetwork "Storage Network 131" ).Metric = 501 PS C:\> ( Get-ClusterNetwork "Storage Network 132" ).Metric = 502 PS C:\> ( Get-ClusterNetwork "Storage Network 133" ).Metric = 503 * Resulting settings: PS C:\> Get-ClusterNetwork | ft Name, Metric, AutoMetric, Role Name Metric AutoMetric Role ---- ------ ---------- ---- Clustering Network 1000 True 1 Management Network 10000 True 3 Storage Network 130 500 False 0 Storage Network 131 501 False 0 Storage Network 132 502 False 0 Storage Network 133 503 False 0 * Install http://support.microsoft.com/kb/2517329/en-us * Set the TCPAckFrequency to 1 on interfaces to the iSCSI storage as explained in http://support.microsoft.com/kb/2020559/ and http://sustainablesharepoint.wordpress.com/2010/03/10/best-practice-for-hyper-v-with-iscsi/ ====== Testing ====== http://www.hosting.com/support/info/using-iperf-to-test-network-bandwidth