<div dir="ltr">we&#39;ve noticed that once we have grown to have thousands (21,839) of sub-directories running linux commands such as &#39;find&#39; and &#39;du&#39; are very slow. we compared them by running them directly on a hard-disk with the same file and directory contents<div>

<br></div><div>find ./directory/* -type f -mmin -60<br></div><div><br></div><div>(21,839 directories)</div><div>ocfs2 = 10 minutes</div><div>direct  = 30 seconds</div><div><br></div><div>Are there any tweaks we need to make to help improve performance of these commands when many sub-directories exist?<br>

</div><div><br></div><div>ocfs2 nodes = 3</div><div><br></div><div><span style="font-family:arial,sans-serif;font-size:12.800000190734863px">debugfs.ocfs2 1.6.3</span><br style="font-family:arial,sans-serif;font-size:12.800000190734863px">

<span style="font-family:arial,sans-serif;font-size:12.800000190734863px">        Feature Compat: 3 backup-super strict-journal-super</span><br style="font-family:arial,sans-serif;font-size:12.800000190734863px"><span style="font-family:arial,sans-serif;font-size:12.800000190734863px">        Feature Incompat: 9808 sparse inline-data xattr indexed-dirs discontig-bg</span><br style="font-family:arial,sans-serif;font-size:12.800000190734863px">

<span style="font-family:arial,sans-serif;font-size:12.800000190734863px">        Feature RO compat: 1 unwritten</span><br style="font-family:arial,sans-serif;font-size:12.800000190734863px"><span style="font-family:arial,sans-serif;font-size:12.800000190734863px">        Dynamic Features: (0x0)</span><br>

</div></div>