Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm using VMware Workstation 7. Are there any performance gains or losses to be had by compacting a virtual disk, or is it strictly a file size gain? If there are any differences with performances, what are they?

share|improve this question
up vote 4 down vote accepted

As quoted in VMware's release notes, "Compact virutal disk" feature will only free up unused space from a virtual disk.

Assuming you have configured a dynamic size of VM guest virtual disk file, "Compact virutal disk" may only help VM host reclaiming more space for its operating system. It actually may help regaining some performance of VM host if it is lack of diskspace for its running OS.

For enhancing VM guest performance, it is relatively useful to defragment its virtual disks within WMware workstation GUI.

Procedure will be like these:

  1. Within a live guest VM (assuming running Windows OS), defragment its hard disk until it's finished

  2. Make sure the target guest VM is shutdown properly

  3. Click on the guest VM on the left panel

  4. Click "Edit virtual machine settings" within Commands section on the right panel

  5. Click on target Hard Disk and then select "Defragment" within "Utilities" scollbox

  6. Wait until the defragmentation has finished

You will see some performance gain once you start the guest VM again.

Hope this helps!

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .