Skip to content

Comparing VMware Disk Provisioning Types - Which One Should You Choose?

Published: at 04:00 PM

Comparing VMware Disk Provisioning Types - Which One Should You Choose?

When setting up virtual machines in VMware environments, one of the critical decisions is selecting the right disk provisioning type. The best choice among Thin Provisioned, Thick Provisioned (Lazily Zeroed), and Thick Provisioned (Eagerly Zeroed) depends on your use case and performance requirements.

Comparison Table

FeatureThin ProvisionedThick Provisioned, Lazily ZeroedThick Provisioned, Eagerly Zeroed
Storage EfficiencyBest (allocates space as needed)Moderate (pre-allocates space but doesn’t zero out)Worst (pre-allocates and zeroes out space)
PerformanceCan slow down over time due to on-demand allocationBetter than thin, but slower on first writeBest, since all space is allocated and zeroed upfront
Security (Data Wiping)No guarantee of old data being wipedOld data remains until overwrittenFully zeroed, ensuring no residual data
VM Creation TimeFastestModerateSlowest (due to zeroing)
Snapshot & Cloning ImpactSnapshots grow dynamically, consuming space over timeMore predictable than thinMore predictable than thin

Which One to Choose?

Choose Thin Provisioning if:

Choose Thick Provisioned (Lazily Zeroed) if:

Choose Thick Provisioned (Eagerly Zeroed) if:

Best Overall Recommendation:

Technical Details

Thin Provisioning

Thin provisioning creates a disk that uses only as much storage space as it needs for its initial operations. For example, if you create a 100GB thin-provisioned disk, it might initially use only 20GB of physical storage. As you add more data to the VM, the disk expands to accommodate it, up to the maximum size you’ve allocated.

Key considerations:

Thick Provisioned, Lazily Zeroed

This option pre-allocates all the space required for your virtual disk at creation time. However, any data that may be present on the physical device is not erased or written over. Instead, this old data is zeroed out on first write, which can cause a small performance hit when writing to a new block for the first time.

Key considerations:

Thick Provisioned, Eagerly Zeroed

This is the most performance-optimized and secure option. It pre-allocates all space and zeroes out all blocks at creation time. While this makes disk creation take longer, it ensures that all blocks are ready for immediate writing, leading to the best possible performance during VM operation.

Key considerations:

Use Case Examples

  1. Development Environment: Thin provisioning is often ideal for dev/test environments where storage efficiency is more important than performance.

  2. General-Purpose Servers: Thick provisioned, lazily zeroed offers a good balance for standard application servers, file servers, and web servers.

  3. Production Databases: Thick provisioned, eagerly zeroed is typically the best choice for database servers and mission-critical applications where performance is paramount.

  4. Security-Sensitive Applications: For VMs handling sensitive data, eagerly zeroed disks provide an additional security layer by ensuring no residual data remains.

By selecting the appropriate disk provisioning type for your specific workloads, you can optimize both your storage utilization and application performance in your VMware environment.