VMware Communities
rickardnobel
Champion
Champion

Workstation on SSD, any issues with disk zeroing?

Are there any issues with running virtual machines on SSD for VMware Workstation 7.x? I am thinking of the zeroing of the disk that I think occurs either on the fly or from the beginning with the Pre-Allocate disk (which I suspect is the same as a so called Eager Zeroed Thick Disk in vSphere)?

However, from what I understand a SSD can not overwrite an area that previous been written to, but must use unallocated space. So, how does this work with virtual machine disk file? If a VMDK is being preallocated, could any of those sectors be used?

My VMware blog: www.rickardnobel.se
0 Kudos
3 Replies
rickardnobel
Champion
Champion

Sorry to bump this, but I wonder if there is any best practises around Workstation on a SSD? That is, should I use pre-allocated disk space or thin disks for best performance?

My VMware blog: www.rickardnobel.se
0 Kudos
continuum
Immortal
Immortal

> should I use pre-allocated disk space or thin disks for best performance?

I doubt that there is a difference to normal disks regarding this question.

For VMs with mostly static content sparse disks are fine.
For VMs with heavy write activities preallocated disks are better.

FYI: Workjstation does not use thin provisioned disks - unless you create them manually yourself - which is quite tricky.
The correct term for what you mean is sparse.


________________________________________________
Do you need support with a VMFS recovery problem ? - send a message via skype "sanbarrow"
I do not support Workstation 16 at this time ...

0 Kudos
KyNetGuy
Enthusiast
Enthusiast

If you are running on a newer SSD with Trim, it will zero out all the empty blocks of the physical disk to improve write performance correct?  Pre-allocating a disk in VMware will have data written to each block.  Forcing the SSD to first have to erase the block before writing to it inside the VM.  Even though the VM thinks it is empty, the SSD sees data there.  This would actually slow the write performance in an SSD environment as well as write to the disc unneccesarily.  (finite number of writes to an SSD disk)

Another thing to consider is your free disk space.  If you pre-allocate a disk, this gives your OS and other apps less free space.  Space that will normally be emptied with the TRIM process.  This comes into play if you do a lot of writes on your drive.  The self-leveling features of an SSD will use empty blocks before ones it has to erase then write to.  When you decrease this free space, you increase your odds that your OS will have to use a block that has to be erased then written to, thus effecting overall workstation performance.

For workstation, I actually run my VMs on a spinning disk instead of my SSDs.  I find the performance for my purposes (testing) to not be worth the potential hit I would take on normal workstation operations.

0 Kudos