vSphere 6.5

Setup and Configure VMware vSphere 6.5 Storage I/O Control

A look at the new vSphere 6.5 Storage I/O Control and how to Setup and Configure VMware vSphere 6.5 Storage I/O Control along with performance monitoring

When managing and maintaining a VMware vSphere environment, keeping an eye on storage and storage I/O is extremely important. In most virtualization environments where shared SAN storage is in place, it is not uncommon to see storage I/O resources exhausted before CPU and in many cases memory. In many cases, a higher than expected number of I/O intensive VMs sharing the same datastore will become active at the same time requested I/O operations. This can lead to contention as those active VMs compete with each other as well as with VMs running low priority workloads. Having an automated mechanism especially in virtualized environments that keeps one virtual resource from overrunning a storage array and taking all the available I/O present is essential. Way back in vSphere 4.1 a feature called Storage I/O Control was introduced that provides this automated mechanism that dynamically allocates portions of the host’s I/O queues to VMs. However, it is a great feature that still, many do not utilize or even know about.ย  Let’s take a look at how toย Setup and Configure VMware vSphere 6.5 Storage I/O Control.

New Features of Storage I/O Control in vSphere 6.5

Storage I/O control has remained unchanged for a long while since its inception in vSphere 4.1. However, in vsphere 6.5 it has received an upgrade. It is now “policy driven”, implemented with the VAIO framework (vSphere APIs for IO). This makes the feature more powerful and tweakable, tailored to specific requirements of the environment.

When you enable Storage I/O Control (SIOC) on a datastore, the VMware ESXi host begins to monitor the device latency that is observed when communicating with the datastore where SIOC is enabled. When device latency is more than the configured threshold, vSphere views the datstore as congested and each VM that is accessing the SIOC enabled datastore is allocated I/O resources in proportio to their shares.

When you enable Storage I/O Control (SIOC) on a datastore, the VMware ESXi host begins to monitor the device latency that is observed when communicating with the datastore where SIOC is enabled. When device latency is more than the configured threshold, vSphere views the datstore as congested and each VM that is accessing the SIOC enabled datastore is allocated I/O resources in proportion to their shares. Shares are setup per virtual machine based on policy settings.

vSphere 6.5 Storage I/O Control Requirements

Below are requirements to consider before implementing vSphere 6.5 Storage I/O Control:

  • Datastores must be managed by a single vCenter Server
  • It is supported on all VMFS and NFS datastores – Fiber Channel, iSCSI, NFS. Raw Disk Mapping (RDM) is not supported. Also, datastores with multiple extents are not supported.
  • Be careful not to simply enable Storage I/O Control on any SAN that has automated tiering. Be sure to verify your SAN with tiering functionality is certified as compatibile with SIOC before enabling

Setup and Configure VMware vSphere 6.5 Storage I/O Control

To enable Storage I/O Control on a datastore, we simply navigate to the theย Home buttonย >> Storage >> right click on the datastore >> Configure Storage I/O Control.ย  We are then presented with the following box toย Enable Storage I/O Control.ย  Check the box to enable it.ย  By default it is set toย Percentage of peak throughput 90%.ย  This can also be changed to the next radio button for aย manual ms setting.

Enabling-VMware-Storage-IO-Control-SIOC-on-a-datastore
Enabling VMware Storage IO Control SIOC on a datastore

Create a VM Storage Policy for Storage I/O Control

To create a VM Storage Policy for use with Storage I/O Control, navigate toย Home >> Policies and Profilesย >> VM Storage Policies.ย  Then we want toย Create VM Storage Policy.

Create-a-new-VM-Storage-Policy-for-use-with-SIOC
Create a new VM Storage Policy for use with SIOC

This launches theย Create New VM Storage Policyย wizard.ย  We begin by naming the policy.

Name-the-new-vm-storage-policy
Name the new VM storage policy

Under theย Policy structure >> Common rules check the box and click theย Add component button.

Add-components-to-the-VM-storage-policy
Add components to the VM storage policy

Now we select theย Storage I/O Control menu and we see we have the default options to setย Low, Normal,ย orย Highย IO Shares allocation.

Select-storage-io-control-SIOC-and-the-shares-option-you-choose
Select storage io control SIOC and the shares option you choose

Below as shown, the Default Storage Policy Components that are configured out of the box.

Default-VM-Storage-Policy-components
Default VM Storage Policy components

After setting theย Normal shares option.

Storage-IO-control-VM-storage-policy-configured-for-normal-shares
Storage IO control VM storage policy configured for normal shares

If we select theย Custom option, we can manually define the IOPS limit, IOPS reservation, and IOPS shares.

Choosing-custom-in-the-Storage-IO-Policy-SIOC
Choosing custom in the Storage IO Policy SIOC

Clickย Finish to finalize the new Storage I/O Control VM Storage Policy.

Complete-the-new-VM-Storage-Policy-creation
Complete the new VM Storage Policy creation

Assign the Storage I/O Control VM Storage Policy to a Virtual Machine

Now that we have our newย Storage I/O Control VM Storage Policy defined, we can apply it to a virtual machine.ย  Right-click the virtual machine and select theย Edit VM Storage Policies.

Setting-the-VM-Storage-Policy-on-a-virtual-machine
Setting the VM Storage Policy on a virtual machine

Now we select the newย VM storage policy we defined from the dropdown menu.ย  Click theย Apply to all to apply the policy to all the VM files and click OK.

Select-the-Storage-Policy-created-in-the-dropdown
Select the Storage Policy created in the dropdown

Notice how theย VM Storage Policy now has changed for the VM files.

After-applying-the-VM-Storage-Policy-to-the-VM-files
After applying the VM Storage Policy to the VM files

Monitoring VMware Storage I/O Control

Monitoring VMware Storage I/O Control can be done from theย Storage >> <Datastore > >> Monitor >> Performance, Performance View dropdown.ย  You will see the following windows measuring Storage I/O Control:

  • Storage I/O Control Normalized Latency
  • Storage I/O Control Aggregate IOPs
  • Storage I/O Control Activity
Monitoring-VMware-Storage-IO-Control
Monitoring VMware Storage IO Control

Thoughts –ย Setup and Configure VMware vSphere 6.5 Storage I/O Control

Storage I/O Control is a great technology that many may not fully utilize in vSphere storage environments.ย  The process toย Setup and Configure VMware Storage I/O Control is not difficult and easily helps to maximize the storage performance of a SAN environment with high I/O workloads.ย  The technology has been enhanced in vSphere 6.5 Storage I/O control by now utilizing the VAIO framework for more powerful policy driven control of storage I/O performance.ย  Also, a great resource for learning more about the Storage I/O control is the official vSphere Resource Management document.

Subscribe to VirtualizationHowto via Email ๐Ÿ””

Enter your email address to subscribe to this blog and receive notifications of new posts by email.



Brandon Lee

Brandon Lee is the Senior Writer, Engineer and owner at Virtualizationhowto.com, and a 7-time VMware vExpert, with over two decades of experience in Information Technology. Having worked for numerous Fortune 500 companies as well as in various industries, He has extensive experience in various IT segments and is a strong advocate for open source technologies. Brandon holds many industry certifications, loves the outdoors and spending time with family. Also, he goes through the effort of testing and troubleshooting issues, so you don't have to.

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.