<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Misaligned vmdk with offset group 2 causing read latency in VMware Solutions Discussions</title>
    <link>https://community.netapp.com/t5/VMware-Solutions-Discussions/Misaligned-vmdk-with-offset-group-2-causing-read-latency/m-p/125613#M8796</link>
    <description>&lt;P&gt;The misalignment number represents how many 512 byte segments the IO is misaligned from a 4KB WAFL block. &amp;nbsp;So, an offset of 2 means that it's starting at 1KB instead of the start of the block.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;VSC corrects for this by creating a volume which is offset in the opposite direction, which effectively realigns the IO. &amp;nbsp;You can also correct it a &lt;A href="https://theregime.wordpress.com/2009/07/20/how-to-align-windows-disks-in-vmware-with-netapp-disk/" target="_self"&gt;number of other ways&lt;/A&gt;, though none of them are non-disruptive.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As to why this occurred with Server 2012 R2, that's a mystery to me. &amp;nbsp;Was the server upgraded from a previous version?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;</description>
    <pubDate>Tue, 22 Nov 2016 20:38:43 GMT</pubDate>
    <dc:creator>asulliva</dc:creator>
    <dc:date>2016-11-22T20:38:43Z</dc:date>
    <item>
      <title>Misaligned vmdk with offset group 2 causing read latency</title>
      <link>https://community.netapp.com/t5/VMware-Solutions-Discussions/Misaligned-vmdk-with-offset-group-2-causing-read-latency/m-p/125606#M8795</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are having read latency issues on a particular vmdk data disk in our environment. VSC 6.2.1 Optimization and Migration analyse shows misalignment with offset 2. The server itself is running Windows Server 2012 R2 so misalignment should'nt be any issue as far as I know.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyone who knows what offset 2 means and how to correct this? Disk and partition management done by default except NTFS allocation size which is increased from default 4KB to 64KB.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Environment:&amp;nbsp;&lt;/P&gt;&lt;P&gt;Vmware vSphere 6.0&lt;/P&gt;&lt;P&gt;NFS data stores&lt;/P&gt;&lt;P&gt;Windows 2012 R2&lt;/P&gt;&lt;P&gt;Application: MS SQL Server 2012&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Disk misaligned = 1100GB in size&lt;/P&gt;&lt;P&gt;Disk type: GPT&lt;/P&gt;&lt;P&gt;NTFS Allocation unit size = 64K&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BlockSize&amp;nbsp; Index&amp;nbsp; Name &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; StartingOffset&lt;/P&gt;&lt;P&gt;512&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0&amp;nbsp; &amp;nbsp; &amp;nbsp; Disk #3, Partition #0&amp;nbsp; 135266304&lt;/P&gt;&lt;P&gt;512&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0&amp;nbsp; &amp;nbsp; &amp;nbsp; Disk #2, Partition #0&amp;nbsp; 135266304&lt;/P&gt;&lt;P&gt;512&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0&amp;nbsp; &amp;nbsp; &amp;nbsp; Disk #1, Partition #0&amp;nbsp; 135266304&lt;/P&gt;&lt;P&gt;512&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0&amp;nbsp; &amp;nbsp; &amp;nbsp; Disk #0, Partition #0&amp;nbsp; 1048576&lt;/P&gt;&lt;P&gt;512&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1&amp;nbsp; &amp;nbsp; &amp;nbsp; Disk #0, Partition #1&amp;nbsp; 315621376&lt;/P&gt;&lt;P&gt;512&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 2&amp;nbsp; &amp;nbsp; &amp;nbsp; Disk #0, Partition #2&amp;nbsp; 553648128&lt;/P&gt;&lt;P&gt;512&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 3&amp;nbsp; &amp;nbsp; &amp;nbsp; Disk #0, Partition #3&amp;nbsp; 419430400&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;David T&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 18:12:08 GMT</pubDate>
      <guid>https://community.netapp.com/t5/VMware-Solutions-Discussions/Misaligned-vmdk-with-offset-group-2-causing-read-latency/m-p/125606#M8795</guid>
      <dc:creator>dtapper</dc:creator>
      <dc:date>2025-06-04T18:12:08Z</dc:date>
    </item>
    <item>
      <title>Re: Misaligned vmdk with offset group 2 causing read latency</title>
      <link>https://community.netapp.com/t5/VMware-Solutions-Discussions/Misaligned-vmdk-with-offset-group-2-causing-read-latency/m-p/125613#M8796</link>
      <description>&lt;P&gt;The misalignment number represents how many 512 byte segments the IO is misaligned from a 4KB WAFL block. &amp;nbsp;So, an offset of 2 means that it's starting at 1KB instead of the start of the block.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;VSC corrects for this by creating a volume which is offset in the opposite direction, which effectively realigns the IO. &amp;nbsp;You can also correct it a &lt;A href="https://theregime.wordpress.com/2009/07/20/how-to-align-windows-disks-in-vmware-with-netapp-disk/" target="_self"&gt;number of other ways&lt;/A&gt;, though none of them are non-disruptive.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As to why this occurred with Server 2012 R2, that's a mystery to me. &amp;nbsp;Was the server upgraded from a previous version?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;</description>
      <pubDate>Tue, 22 Nov 2016 20:38:43 GMT</pubDate>
      <guid>https://community.netapp.com/t5/VMware-Solutions-Discussions/Misaligned-vmdk-with-offset-group-2-causing-read-latency/m-p/125613#M8796</guid>
      <dc:creator>asulliva</dc:creator>
      <dc:date>2016-11-22T20:38:43Z</dc:date>
    </item>
    <item>
      <title>Re: Misaligned vmdk with offset group 2 causing read latency</title>
      <link>https://community.netapp.com/t5/VMware-Solutions-Discussions/Misaligned-vmdk-with-offset-group-2-causing-read-latency/m-p/125626#M8797</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your reply Andrew. Got the same from Netapp support today:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"&lt;SPAN&gt;A WAFL block is 4K, consisting of 8x 512b buckets marked from 0 to 7. These are also called offsets in this context. So, offset 2 means that you are reading/writing from the 3rd bucket, which means to read/write 4k you need to also merge, read and write the first 3x 512b of the next block. This clearly adds overhead (misalignment) and can cause performance issues.&lt;/SPAN&gt;"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Found an interesting post regarding alignment and newer versions of Windows/SQL Server:&amp;nbsp;&lt;A href="https://blogs.msdn.microsoft.com/jimmymay/2014/03/14/disk-partition-alignment-it-still-matters-dpa-for-windows-server-2012-sql-server-2012-and-sql-server-2014/&amp;nbsp;" target="_blank"&gt;https://blogs.msdn.microsoft.com/jimmymay/2014/03/14/disk-partition-alignment-it-still-matters-dpa-for-windows-server-2012-sql-server-2012-and-sql-server-2014/&amp;nbsp;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Looks like alignment is an important topic even after Windows Server 2008, especially if you're running MS SQL server with a lot of random reads.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;</description>
      <pubDate>Wed, 23 Nov 2016 10:27:33 GMT</pubDate>
      <guid>https://community.netapp.com/t5/VMware-Solutions-Discussions/Misaligned-vmdk-with-offset-group-2-causing-read-latency/m-p/125626#M8797</guid>
      <dc:creator>dtapper</dc:creator>
      <dc:date>2016-11-23T10:27:33Z</dc:date>
    </item>
    <item>
      <title>Re: Misaligned vmdk with offset group 2 causing read latency</title>
      <link>https://community.netapp.com/t5/VMware-Solutions-Discussions/Misaligned-vmdk-with-offset-group-2-causing-read-latency/m-p/125688#M8800</link>
      <description>&lt;P&gt;Hi again,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here you can see the misalignment in VSC 6.2.1.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.netapp.com/t5/image/serverpage/image-id/6453i42671807B9DD8A72/image-size/original?v=v2&amp;amp;px=-1" border="0" alt="Screen Shot 2016-11-25 at 17.04.22.png" title="Screen Shot 2016-11-25 at 17.04.22.png" width="384" height="97" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Disk above is marked with underline in the text below. Default starting offset which is divisible by 4096 (WAFL 4K block size).&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Disk type: GPT&lt;/P&gt;&lt;P&gt;NTFS Allocation unit size =&amp;nbsp;65536&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BlockSize&amp;nbsp; Index&amp;nbsp; Name&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; StartingOffset&lt;/P&gt;&lt;P&gt;512&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Disk #3, Partition #0&amp;nbsp; 135266304&lt;/P&gt;&lt;P&gt;512&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Disk #2, Partition #0&amp;nbsp; 135266304&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;FONT color="#000000"&gt;512&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Disk #1, Partition #0&amp;nbsp; 135266304 / 4096 = 33024&amp;nbsp;(Divisible by 4096)&lt;/FONT&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;512&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Disk #0, Partition #0&amp;nbsp; 1048576&lt;/P&gt;&lt;P&gt;512&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Disk #0, Partition #1&amp;nbsp; 315621376&lt;/P&gt;&lt;P&gt;512&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Disk #0, Partition #2&amp;nbsp; 553648128&lt;/P&gt;&lt;P&gt;512&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Disk #0, Partition #3&amp;nbsp; 419430400&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So if the disk/partition is aligned - how can we then get misaligned IO?&lt;/P&gt;&lt;P&gt;NTFS allocation unit size is not default, it's been increased to 64K according to MS SQL server best practices. However, it's default 4K in our test environment and is also misaligned with offset group 2.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any hint?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BR,&amp;nbsp;&lt;/P&gt;&lt;P&gt;David T&lt;/P&gt;</description>
      <pubDate>Fri, 25 Nov 2016 16:13:14 GMT</pubDate>
      <guid>https://community.netapp.com/t5/VMware-Solutions-Discussions/Misaligned-vmdk-with-offset-group-2-causing-read-latency/m-p/125688#M8800</guid>
      <dc:creator>dtapper</dc:creator>
      <dc:date>2016-11-25T16:13:14Z</dc:date>
    </item>
  </channel>
</rss>

