PercentIdleMBInSpaceDemand option fails to prevent over-provisioning on the Datastore Cluster in VMware vSphere
search cancel

PercentIdleMBInSpaceDemand option fails to prevent over-provisioning on the Datastore Cluster in VMware vSphere

book

Article ID: 343187

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

Symptoms:
  • PercentIdleMBInSpaceDemand option fails to prevent over-provisioning on the Datastore Cluster in VMware vSphere 
  • VMware Storage DRS is giving incorrect initial placement recommendations.


Environment

VMware vCenter Server 6.5.x
VMware vCenter Server 7.0.x
VMware vCenter Server 6.7.x
VMware vCenter Server 6.0.x
VMware vCenter Server 5.5.x

Cause

This issue occurs due to the the space demand calculation in the VMware Storage DRS algorithm for initial placement does not correctly account for the PercentIdleMBInSpaceDemand parameter in VMware vSphere

Resolution

This is expected behavior for initial placement case. Because, for initial placement, SDRS uses the "used space" of the datastore for generating the recommendation rather than "entitled space". However, SDRS uses the "entitled space" ONLY during load balance.

Example :

Datastore-1 : 50GB Capacity
VM1 - 50GB Thick VM
Used Space - 50GB
Entitled Space - 50GB
Datastore-2 : 50GB Capacity
VM2 - 30GB Thick VM
VM3 - 15GB Thin VM
Used Space - 30GB
Entitled Space - 45GB (Because PercentIdleMBInSpaceDemand is set to 100)

  • When we create a new VM or add a new disk of size 10GB. SDRS considers the datastore "used space" for initial placement cases. Hence, it will see that only 30GB is used on the Datastore-2. So, it can fit in the new 10GB disk/VM. So, it generates the recommendation.

  • If we consider entitlement to determine initial placement, some provisioning failures may be undesirable to customers. Specially in a heavily thin provisioning environment when datastore usages are reaching threshold. The headroom part in entitlement can be too conservative.

  • SDRS considers the space usage of powered-off VMs as well. Considering space growth for powered-off VMs does not make as much sense as for powered-on VMs.


This is a known issue and engineering team is aware of this.


Additional Information

The advanced option "PercentIdleMBInSpaceDemand" was designed to work as explained in the blog.
https://frankdenneman.nl/2012/10/01/avoiding-vmdk-level-over-commitment-while-using-thin-disks-and-storage-drs/

By setting the percentage to 100%, no over-commitment will be allowed on the datastore, however the efficiency advantage of using thin disks remains. Storage DRS uses the allocated space to calculate the risk and the cost of a migration recommendation when a datastore avoids its I/O or space utilization threshold.