Tip: Setting up Hyper-V Storage Quality of Service
See how to use one of Hyper-V's best kept secrets -- storage QoS
March 11, 2015
![Tip: Setting up Hyper-V Storage Quality of Service Tip: Setting up Hyper-V Storage Quality of Service](https://eu-images.contentstack.com/v3/assets/blt07f68461ccd75245/bltb1b9eface3c17c5b/661816318f631878fc6e5a66/tips-hints-road-sign-595x335_0_3.jpg?width=1280&auto=webp&quality=95&format=jpg&disable=upscale)
One of the best kept secrets of Windows Server 2012 R2 Hyper-V is its built-in storage quality of service (QoS). Hyper-V storage QoS can govern the storage requirements of a VM. This can help solve the noisy neighbor problem where a given VM is consuming too many storage resources – impacting the performance of other VMs. Using storage QoS you can both limit the I/O Operations per Second (IOPs) that a given VM can consume and you can also arrange for VMs to generate a notification if the minimum IOPs value isn’t met. Hyper-V storage QoS is set on a per VHD basis and it can be configured while the VM is running. You can’t use Hyper-V storage QoS with pass-through disks or with shared virtual hard disks.
To set the storage QoS use the Hyper-V Manager and right-click the VM that you want to change. Select Settings then expand the SCSI Controller and select Advanced Features. This will display SCSI Controller Advanced Features dialog with the storage QoS settings that you can see in Figure 1.
![](https://cet.informabi.com/sites/windowsitpro.com/files/uploads/2015/02/Hyper-V%20Storage%20QoS.jpg?width=495&auto=webp&quality=80&disable=upscale)
Figure 1 - Hyper-V Storage QoS
To configure Hyper-V’s storage QoS check the Enable Quality of Service management box then supply a value for Minimum or Maximum IOPS. This will set a maximum IOPS value for the VHD. The Maximum setting can stop a VM from consuming excessive storage resources that may impact other VMs. A ballpark value that you might want to start with for a maximum value could be 500 IOPs for a general purpose VM. You might use a higher for a VM that requires more performance. The minimum IOPS value will generate an event notification when the IOPS to a specified virtual hard disk is below the defined threshold.
About the Author
You May Also Like