User Tools

Site Tools


virtualization:microsoft:hyper-v-performance

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
virtualization:microsoft:hyper-v-performance [2013/01/19 15:48]
gcooper created
virtualization:microsoft:hyper-v-performance [2019/05/20 11:31] (current)
gcooper
Line 1: Line 1:
 ====== Hyper-V Performance ====== ====== 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://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, disable C1E and C-States
Line 9: Line 19:
   * On switches, disable Spanning Tree Protocol for all connections to storage   * On switches, disable Spanning Tree Protocol for all connections to storage
   * Disable TCP Offloading and Receive Side scaling at the operating system level   * Disable TCP Offloading and Receive Side scaling at the operating system level
-    * <file>C:\>netsh int tcp set global rss=disabled + 
-C:\>netsh int tcp set global chimney=disabled</file> +<file> 
-  * Verify which NICs among the ones you have available give the best performance to the storage.   On my machines (Dell PE R610) I have 4 onboard Broadcom NICs and an additional Intel quad port board and I have found that using the same settings, when connecting the storage via the Intel NICs performance are way better than the Broadcom (side note: right the opposite on VMware, much better via Broadcom) +C:\>netsh int tcp set global rss=disabled 
-Disable NetBIOS and Microsoft protocols on connections to the storage +C:\>netsh int tcp set global chimney=disabled 
-(obviously) Use as many NICs as possible to connect to the storage +</file> 
-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) +  * Verify which NICs among the ones you have available give the best performance to the storage 
-Designate a preferred Network for Cluster Shared Volumes Communication:+  * 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 130" ).Metric = 500
    PS C:\> ( Get-ClusterNetwork "Storage Network 131" ).Metric = 501    PS C:\> ( Get-ClusterNetwork "Storage Network 131" ).Metric = 501
    PS C:\> ( Get-ClusterNetwork "Storage Network 132" ).Metric = 502    PS C:\> ( Get-ClusterNetwork "Storage Network 132" ).Metric = 502
    PS C:\> ( Get-ClusterNetwork "Storage Network 133" ).Metric = 503    PS C:\> ( Get-ClusterNetwork "Storage Network 133" ).Metric = 503
-Resulting settings+ 
 +  * Resulting settings
    PS C:\> Get-ClusterNetwork | ft Name, Metric, AutoMetric, Role    PS C:\> Get-ClusterNetwork | ft Name, Metric, AutoMetric, Role
    Name                              Metric            AutoMetric                  Role    Name                              Metric            AutoMetric                  Role
Line 31: Line 49:
    Storage Network 132                  502                 False                     0    Storage Network 132                  502                 False                     0
    Storage Network 133                  503                 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 storageas explained in http://support.microsoft.com/kb/2020559/ and http://sustainablesharepoint.wordpress.com/2010/03/10/best-practice-for-hyper-v-with-iscsi/+  * 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 
 + 
virtualization/microsoft/hyper-v-performance.1358635716.txt.gz · Last modified: 2013/01/19 15:48 by gcooper