<?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 Win32 FindFirstFIle API Vs &amp;quot;File-List-Directory-Iter&amp;quot; API Speed And Multi - Threading in Software Development Kit (SDK) and API Discussions</title>
    <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Win32-FindFirstFIle-API-Vs-quot-File-List-Directory-Iter-quot-API-Speed-And/m-p/145222#M2786</link>
    <description>&lt;P&gt;I am trying to iterate over 7 Mode and C-DoT Files, Folders And Attributes In All Volumes. I see that all discussions in the community refer to using "file-list-directory-iter" API. I wonder what would be performance difference if I just used the Win32 API "FindFirstFile" since NetApp already supports this win32 function via CIFS shares.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note that I am trying to write a high performance Directory Walker , using "FindFirstFile" and "FindNextFile" I can assign found directories I found to other threads while continue iterating other files. multithreading will boost the scanning performance. can I achieve multithreading using the ONTAP API ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So Two questions :&lt;/P&gt;
&lt;P&gt;1- "FindFirstFile" vs "file-list-directory-iter' which one is better in performance in general ?&lt;/P&gt;
&lt;P&gt;2- can I multithread the "file-list-directory-iter' ?&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 13:03:18 GMT</pubDate>
    <dc:creator>malidiab</dc:creator>
    <dc:date>2025-06-04T13:03:18Z</dc:date>
    <item>
      <title>Win32 FindFirstFIle API Vs "File-List-Directory-Iter" API Speed And Multi - Threading</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Win32-FindFirstFIle-API-Vs-quot-File-List-Directory-Iter-quot-API-Speed-And/m-p/145222#M2786</link>
      <description>&lt;P&gt;I am trying to iterate over 7 Mode and C-DoT Files, Folders And Attributes In All Volumes. I see that all discussions in the community refer to using "file-list-directory-iter" API. I wonder what would be performance difference if I just used the Win32 API "FindFirstFile" since NetApp already supports this win32 function via CIFS shares.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note that I am trying to write a high performance Directory Walker , using "FindFirstFile" and "FindNextFile" I can assign found directories I found to other threads while continue iterating other files. multithreading will boost the scanning performance. can I achieve multithreading using the ONTAP API ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So Two questions :&lt;/P&gt;
&lt;P&gt;1- "FindFirstFile" vs "file-list-directory-iter' which one is better in performance in general ?&lt;/P&gt;
&lt;P&gt;2- can I multithread the "file-list-directory-iter' ?&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 13:03:18 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Win32-FindFirstFIle-API-Vs-quot-File-List-Directory-Iter-quot-API-Speed-And/m-p/145222#M2786</guid>
      <dc:creator>malidiab</dc:creator>
      <dc:date>2025-06-04T13:03:18Z</dc:date>
    </item>
  </channel>
</rss>

