<?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 NFS and stat() calls in Network and Storage Protocols</title>
    <link>https://community.netapp.com/t5/Network-and-Storage-Protocols/NFS-and-stat-calls/m-p/116949#M8275</link>
    <description>&lt;P&gt;I realise that this question might fall into the 'How long is a piece of string' category but...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a directory structure on a local HDD&amp;nbsp;that consists of 6533 directories, 33662 files&amp;nbsp;and contains ~2.5GB.&lt;/P&gt;
&lt;P&gt;I also have an exact copy of this in a volume on an AFF8040 running CDOT 8.3.1P1 and mounted via NFSv3.&lt;/P&gt;
&lt;P&gt;The server is a Dell M620 blade&amp;nbsp;with 128GB and a 300GB&amp;nbsp;SAS HDD connected via&amp;nbsp;a 10Gbe link to a Cisco Nexus 5K switch which is connected to the AFF8040&lt;/P&gt;
&lt;P&gt;My question can be summarised by the following:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;$ time find /mnt/test/test_hdd/ -ls &amp;gt;/dev/null&lt;/P&gt;
&lt;P&gt;real&amp;nbsp;0m0.277s&lt;BR /&gt;user&amp;nbsp;0m0.124s&lt;BR /&gt;sys&amp;nbsp;0m0.150s&lt;BR /&gt;$&lt;/P&gt;
&lt;P&gt;$ time find /mnt/test/test_ssd/ -ls &amp;gt;/dev/null&lt;/P&gt;
&lt;P&gt;real&amp;nbsp;0m8.070s&lt;BR /&gt;user&amp;nbsp;0m0.290s&lt;BR /&gt;sys&amp;nbsp;0m0.898s&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A factor of ~30 seems to be rather high to me but I don't have any other information to compare it against.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is this the sort of time difference I should expect to see in these circumstances or is there something I can do to improve the response time?&lt;/P&gt;</description>
    <pubDate>Wed, 04 Jun 2025 21:49:33 GMT</pubDate>
    <dc:creator>MKELLYSCSC</dc:creator>
    <dc:date>2025-06-04T21:49:33Z</dc:date>
    <item>
      <title>NFS and stat() calls</title>
      <link>https://community.netapp.com/t5/Network-and-Storage-Protocols/NFS-and-stat-calls/m-p/116949#M8275</link>
      <description>&lt;P&gt;I realise that this question might fall into the 'How long is a piece of string' category but...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a directory structure on a local HDD&amp;nbsp;that consists of 6533 directories, 33662 files&amp;nbsp;and contains ~2.5GB.&lt;/P&gt;
&lt;P&gt;I also have an exact copy of this in a volume on an AFF8040 running CDOT 8.3.1P1 and mounted via NFSv3.&lt;/P&gt;
&lt;P&gt;The server is a Dell M620 blade&amp;nbsp;with 128GB and a 300GB&amp;nbsp;SAS HDD connected via&amp;nbsp;a 10Gbe link to a Cisco Nexus 5K switch which is connected to the AFF8040&lt;/P&gt;
&lt;P&gt;My question can be summarised by the following:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;$ time find /mnt/test/test_hdd/ -ls &amp;gt;/dev/null&lt;/P&gt;
&lt;P&gt;real&amp;nbsp;0m0.277s&lt;BR /&gt;user&amp;nbsp;0m0.124s&lt;BR /&gt;sys&amp;nbsp;0m0.150s&lt;BR /&gt;$&lt;/P&gt;
&lt;P&gt;$ time find /mnt/test/test_ssd/ -ls &amp;gt;/dev/null&lt;/P&gt;
&lt;P&gt;real&amp;nbsp;0m8.070s&lt;BR /&gt;user&amp;nbsp;0m0.290s&lt;BR /&gt;sys&amp;nbsp;0m0.898s&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A factor of ~30 seems to be rather high to me but I don't have any other information to compare it against.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is this the sort of time difference I should expect to see in these circumstances or is there something I can do to improve the response time?&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 21:49:33 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Network-and-Storage-Protocols/NFS-and-stat-calls/m-p/116949#M8275</guid>
      <dc:creator>MKELLYSCSC</dc:creator>
      <dc:date>2025-06-04T21:49:33Z</dc:date>
    </item>
    <item>
      <title>Re: NFS and stat() calls</title>
      <link>https://community.netapp.com/t5/Network-and-Storage-Protocols/NFS-and-stat-calls/m-p/116980#M8278</link>
      <description>&lt;P&gt;Local access will always be faster than network access.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can't comment on the latency time you are seeing, but I know that NFS used in the manner you are using tends to be a serialized process. For this specific test, you can certainly see some delays.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, network can factor in.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'd recommend having a look at XCP for this sort of test. That allows things to be be done more in parallel.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://xcp.netapp.com/" target="_blank"&gt;http://xcp.netapp.com/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We've seen some pretty impressive numbers for operations high in metadata access, such as ls or find. Give it a shot.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Mar 2016 15:14:50 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Network-and-Storage-Protocols/NFS-and-stat-calls/m-p/116980#M8278</guid>
      <dc:creator>parisi</dc:creator>
      <dc:date>2016-03-11T15:14:50Z</dc:date>
    </item>
    <item>
      <title>Re: NFS and stat() calls</title>
      <link>https://community.netapp.com/t5/Network-and-Storage-Protocols/NFS-and-stat-calls/m-p/116997#M8279</link>
      <description>&lt;P&gt;Maybe&amp;nbsp;filesystem cache is coming into play here? &amp;nbsp;Your NFS mount is shared storage that could be changing and thus must be queried each time vs a disk/LUN where the filesystem is owned by the client and the state can be cached. &amp;nbsp;Maybe you could unmount both, or better yet, reboot, and mount, and then prior to doing anything run the commands again? &amp;nbsp;And then now without rebooting another time? &amp;nbsp;Just curious to see if&amp;nbsp;there are differences on fresh boot without caches, and then on a repeat where caches could influence.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers,&lt;BR /&gt;Chris Madden&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;If this post resolved your issue, please help others by selecting&amp;nbsp;&lt;STRONG&gt;ACCEPT AS SOLUTION&lt;/STRONG&gt;&amp;nbsp;or adding a&amp;nbsp;&lt;STRONG&gt;KUDO&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Mar 2016 17:58:25 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Network-and-Storage-Protocols/NFS-and-stat-calls/m-p/116997#M8279</guid>
      <dc:creator>madden</dc:creator>
      <dc:date>2016-03-11T17:58:25Z</dc:date>
    </item>
  </channel>
</rss>

