Home > Blogs > VMware vSphere Blog


Guest OS Partition Alignment

We've been running a new session at VMworld 2011 called Group Discussions. These are round table discussions about best practices, and is an opportunity for customers to bounce questions between each other as well as ask advice from the VMware folks in attendance. I've been moderating the #GD21 session, and was interested to see the question about Guest OS Partition Alignment come up in both sessions.

An unaligned partition results in the I/O crossing a track boundary and causes an additional I/O. This incurs a penalty on latency and throughput. The additional I/O (especially if small) can impact system resources significantly on some host types. An aligned partition ensures that the single I/O is serviced by a single device, eliminating the additional I/O and resulting in overall performance improvement.

Before Alignment:

  Picture1

After Alignment:

Picture2

I should point out that this issue doesn't affect many of the newer Guest OS, which are automatically aligned. Operating Systems which I understand to be partition aligned, and thus unaffected by this issue, are Windows 7, Windows Vista & Windows 2008. There maybe others – if you know of additional ones, please leave a comment.

Many of our storage partners have published best practices around what to do with their particular storage array for partition alignment. A list of papers that I am aware of are here. Again, if you know of others, feel free to leave a comment.

EMC:
http://www.emc.com/collateral/hardware/technical-documentation/h2370-microsoft-sql-svr-2005-ns-series-iscsi-bp-plan-gde-ldv.pdf
http://www.emc.com/collateral/hardware/solution-overview/h2529-vmware-esx-svr-w-symmetrix-wp-ldv.pdf

HP:
http://h71019.www7.hp.com/ActiveAnswers/downloads/Exchange2003EVA5000PerformanceWhitePaper.doc

IBM:
http://www.redbooks.ibm.com/redbooks/pdfs/sg247521.pdf
http://www.redbooks.ibm.com/redbooks/pdfs/sg247146.pdf

Microsoft:
http://support.microsoft.com/kb/929491

NetApp:
http://media.netapp.com/documents/tr-3747.pdf

 

Get notification of these blogs postings and more VMware Storage information by following me on Twitter: Twitter VMwareStorage

This entry was posted in Storage, vSphere by Cormac Hogan. Bookmark the permalink.
Cormac Hogan

About Cormac Hogan

Cormac Hogan is a senior technical marketing architect within the Cloud Infrastructure Product Marketing group at VMware. He is responsible for storage in general, with a focus on core VMware vSphere storage technologies and virtual storage, including the VMware vSphere® Storage Appliance. He has been in VMware since 2005 and in technical marketing since 2011.

6 thoughts on “Guest OS Partition Alignment

  1. For alignment, trintri is very interessing.
    At a high level, Tintri is introducing a few new features: dual controllers, VMDK auto alignment, and enhanced VM latency metrics presented in the user interface.

  2. Thanks for the RHEL/Centos clarification Chris – forgot about that one.
    Meistermn, yes indeed, Tintri are doing very cool stuff. I see they have been nominated as a VMworld 2011 finalist in the ‘Hardware for Virtualization’ category. I’m hoping to do a blog shortly about interesting storage stuff from this year’s VMworld.

  3. Using Netapp we’ve always aligned our vm using Netapp’s tools (ESX host utils package).
    But in ESXi we can’t install it (no service console), and from my understanding you can’t use it in CLI.
    How are we supposed to align vmdk files with ESXi 5?

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>