VMworld

 

 
Currently Being Moderated

Partition alignment for VMware guests

Posted by Matthew Snodderly on Feb 6, 2010 8:58:47 PM

At an EMC class I took recently, the instructor claimed that in testing she had done, correctly aligning the partitions on a physical Windows server resulted in 30% performance gains.  I'm not sure what, if anything the gain is for aligning the partitions in virtual disks, assuming the underlying VMFS LUNs are aligned (which by default they will be if they're created under ESX 3+ or vSphere).

That being said, this is the advice from the "Performance Best Practices for VMware vSphere 4.0" guide:

 

Make sure the system partitions within the guest are aligned. For further information you might want to

refer to the literature from the operating system vendor regarding appropriate tools to use as well as

recommendations from the array vendor.

(from http://www.vmware.com/pdf/Perf_Best_Practices_vSphere4.0.pdf)
Accordingly, I have my Windows VM templates configured with aligned partitions. See http://technet.microsoft.com/en-us/library/aa995867(EXCHG.65).aspx and http://support.microsoft.com/kb/929491 for info on aligning windows partitions.

 

This is a potentially useful tool -- a powershell script to check the partition alignment of your Windows VMs. (via Scott Lowe )

 

I haven't adjusted the partition alignment on my Linux VM templates yet. That's on my To Do list, hopefully for some time in the near future. I plan to do some before and after performance testing, and I'll post the results here when I do.

 

 

 

--mds


Feb 7, 2010 10:26 AM Gregory Knight Gregory Knight    says:

Interesting, I didn't know that, of course I'm new to virtualization, just a junior admin that runs 10 machines virtualized with 60 vms.

 

But thanks for the post.

Matthew Snodderly

Matthew Snodderly

Member since: Jun 13, 2008

sysadmin 2.0 Virtualization, infrastructure automation, configuration management, cloud stuff etc. Mostly links to things I think are interesting.

View Matthew Snodderly's profile

Actions

Create Your Own Personal Blog

To create a personal blog on VMworld.com, sign into your account, click on "Manage Account" in the top right corner of any page, click on the "Blog Posts" tab and then click on "Create a Personal Blog" or "Write a Blog Post" from within your account profile.

Note: All blogs will be monitored and reviewed for content. Any blogs not related to virtualization or considered to be spam or offensive will be removed.