Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

1 Answer 1

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.