<?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 Misaligned VM performance impact analysis on NFS datastores ~ 18% in VMware Solutions Discussions</title>
    <link>https://community.netapp.com/t5/VMware-Solutions-Discussions/Misaligned-VM-performance-impact-analysis-on-NFS-datastores-18/m-p/60780#M5741</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;We are in the process of aligning our VMs on our NFS datastores - I read with interest the Netapp doc&lt;/P&gt;&lt;P&gt;&lt;A href="http://media.netapp.com/documents/tr-3747.pdf" target="_blank"&gt;http://media.netapp.com/documents/tr-3747.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;outlining the performance impact from the Netapp point of view - but I did not see the impact quantified.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since the process of alignment currently requires the VM to be down (integrate with storage vMotion please?!)&lt;/P&gt;&lt;P&gt;I decided to try and design a test from the VM's point of view of the impact of aligned vs not-aligned.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The setup (I did this on an otherwise quiesced lab system (Dell 1950 x 2 cluster running vSphere + Netapp 2020 (NFS Datastores)):&lt;/P&gt;&lt;P&gt;1) Take a misaligned Linux VM (as checked by mbrscan)&lt;/P&gt;&lt;P&gt;2) clone the VM&lt;/P&gt;&lt;P&gt;3) align the clone with mbralign&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now we have two linux VMs M(isaligned) and (A)ligned&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wanted a way to generate IO of varying sizes - I used this script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[fcocquyt@lab-vm-01 ~]$ more generateIO.csh&lt;/P&gt;&lt;P&gt;#!/bin/csh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set x=1&lt;BR /&gt;set bs=1024&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;while ( $bs &amp;lt; 9000 )&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; echo $bs&lt;BR /&gt;while ( $x &amp;lt; 20 )&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; dd if=/dev/zero of=tstfile$x&amp;nbsp; bs=$bs&amp;nbsp; count=10240 &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; sum tstfile$x&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; @ x++&lt;BR /&gt;end&lt;BR /&gt;rm tstfile*&lt;BR /&gt;@ bs+=1024&lt;BR /&gt;set x = 1&lt;BR /&gt;end&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I found from repeated runs of this script on both M and A vms was the Misaligned VM took an average of 18% longer to run the same IO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also captured /usr/lib/vmware/bin/vscsiStats - but interestingly those numbers (latency and outStandingIOs for example) did not show the same result (it showed about the same average latency for M &amp;amp; A vms...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I welcome any and all comments on this analysis&lt;/P&gt;&lt;P&gt;One area: block size - I have a suspicion the blocksize has a big effect on the latency - while the script was stepping through the blocksizes I observed the throughput varying quite a bit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the finding of 18% impact is in line with my expectation for NFS datastores...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Jun 2025 07:23:43 GMT</pubDate>
    <dc:creator>fletch2007</dc:creator>
    <dc:date>2025-06-05T07:23:43Z</dc:date>
    <item>
      <title>Misaligned VM performance impact analysis on NFS datastores ~ 18%</title>
      <link>https://community.netapp.com/t5/VMware-Solutions-Discussions/Misaligned-VM-performance-impact-analysis-on-NFS-datastores-18/m-p/60780#M5741</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;We are in the process of aligning our VMs on our NFS datastores - I read with interest the Netapp doc&lt;/P&gt;&lt;P&gt;&lt;A href="http://media.netapp.com/documents/tr-3747.pdf" target="_blank"&gt;http://media.netapp.com/documents/tr-3747.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;outlining the performance impact from the Netapp point of view - but I did not see the impact quantified.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since the process of alignment currently requires the VM to be down (integrate with storage vMotion please?!)&lt;/P&gt;&lt;P&gt;I decided to try and design a test from the VM's point of view of the impact of aligned vs not-aligned.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The setup (I did this on an otherwise quiesced lab system (Dell 1950 x 2 cluster running vSphere + Netapp 2020 (NFS Datastores)):&lt;/P&gt;&lt;P&gt;1) Take a misaligned Linux VM (as checked by mbrscan)&lt;/P&gt;&lt;P&gt;2) clone the VM&lt;/P&gt;&lt;P&gt;3) align the clone with mbralign&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now we have two linux VMs M(isaligned) and (A)ligned&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wanted a way to generate IO of varying sizes - I used this script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[fcocquyt@lab-vm-01 ~]$ more generateIO.csh&lt;/P&gt;&lt;P&gt;#!/bin/csh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set x=1&lt;BR /&gt;set bs=1024&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;while ( $bs &amp;lt; 9000 )&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; echo $bs&lt;BR /&gt;while ( $x &amp;lt; 20 )&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; dd if=/dev/zero of=tstfile$x&amp;nbsp; bs=$bs&amp;nbsp; count=10240 &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; sum tstfile$x&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; @ x++&lt;BR /&gt;end&lt;BR /&gt;rm tstfile*&lt;BR /&gt;@ bs+=1024&lt;BR /&gt;set x = 1&lt;BR /&gt;end&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I found from repeated runs of this script on both M and A vms was the Misaligned VM took an average of 18% longer to run the same IO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also captured /usr/lib/vmware/bin/vscsiStats - but interestingly those numbers (latency and outStandingIOs for example) did not show the same result (it showed about the same average latency for M &amp;amp; A vms...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I welcome any and all comments on this analysis&lt;/P&gt;&lt;P&gt;One area: block size - I have a suspicion the blocksize has a big effect on the latency - while the script was stepping through the blocksizes I observed the throughput varying quite a bit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the finding of 18% impact is in line with my expectation for NFS datastores...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2025 07:23:43 GMT</pubDate>
      <guid>https://community.netapp.com/t5/VMware-Solutions-Discussions/Misaligned-VM-performance-impact-analysis-on-NFS-datastores-18/m-p/60780#M5741</guid>
      <dc:creator>fletch2007</dc:creator>
      <dc:date>2025-06-05T07:23:43Z</dc:date>
    </item>
    <item>
      <title>Re: Misaligned VM performance impact analysis on NFS datastores ~ 18%</title>
      <link>https://community.netapp.com/t5/VMware-Solutions-Discussions/Misaligned-VM-performance-impact-analysis-on-NFS-datastores-18/m-p/60785#M5742</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Very handy info -- thanks much for posting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I generally tell people that you have a certain performance "ceiling" based on the filer head and/or # of spindles (more driven by spindle count usually). Misalignment just means that you'll hit that "ceiling" sooner than you would otherwise. Until you hit that ceiling you won't see a huge difference (although 18% is higher than I would have thought.....very good to know). Once you do hit that ceiling, it's the same as when you max out your backend disk I/O under any circumstances (i.e. things get very slow)....you're just going to get there faster than otherwise due to the impact of misalignment.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Sep 2009 04:29:13 GMT</pubDate>
      <guid>https://community.netapp.com/t5/VMware-Solutions-Discussions/Misaligned-VM-performance-impact-analysis-on-NFS-datastores-18/m-p/60785#M5742</guid>
      <dc:creator>amiller_1</dc:creator>
      <dc:date>2009-09-24T04:29:13Z</dc:date>
    </item>
    <item>
      <title>Re: Misaligned VM performance impact analysis on NFS datastores ~ 18%</title>
      <link>https://community.netapp.com/t5/VMware-Solutions-Discussions/Misaligned-VM-performance-impact-analysis-on-NFS-datastores-18/m-p/60790#M5743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Turns out the impact of misaligned VMs can be more dramatic if the level of unaligned IO tips ONTAP into synchronous mode.&lt;/P&gt;&lt;P&gt;One indicator is the pw.over_limit stat -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ref: &lt;A href="http://www.google.com/url?sa=t&amp;amp;source=web&amp;amp;cd=1&amp;amp;ved=0CBQQFjAA&amp;amp;url=http%3A%2F%2Fcommunities.vmware.com%2Fservlet%2FJiveServlet%2Fdownload%2F2409-117516-821464-4435%2FNetappDisk%2BAlignment%2Bon%2BVirtuals%2B-%2B3593.pdf" target="_blank"&gt;TR-3593.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.4 Counters that indicate Improper Alignment&lt;BR /&gt;There are various ways of determining if you do not have proper alignment. Using perfstat counters, under the wafl_susp section, “wp.partial_writes“, “pw.over_limit“, and “pw.async_read“ are indicators of improper alignment. The “wp.partial write“ is the block counter of unaligned I/O. If more than a small number of partial writes happen, then WAFL® will launch a background read. These are counted in “pw.async_read“; “pw.over_limit“ is the block counter of the writes waiting on disk reads.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This counter is not exposed via SNMP as standard, but can be trended as outlined here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://www.vmadmin.info/2010/07/quantifying-vmdk-misalignment.html" target="_blank"&gt;http://www.vmadmin.info/2010/07/quantifying-vmdk-misalignment.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jul 2010 20:14:00 GMT</pubDate>
      <guid>https://community.netapp.com/t5/VMware-Solutions-Discussions/Misaligned-VM-performance-impact-analysis-on-NFS-datastores-18/m-p/60790#M5743</guid>
      <dc:creator>fletch2007</dc:creator>
      <dc:date>2010-07-23T20:14:00Z</dc:date>
    </item>
  </channel>
</rss>

