James Y🎃ung<p>Surely someone's looked into this: if I wanted to store millions or billions of files on a filesystem, I wouldn't store them in one single subdirectory / folder. I'd split them up into nested folders, so each folder held, say, 100 or 1000 or n files or folders. What's the optimum n for filesystems, for performance or space? <br>I've idly pondered how to experimentally gather some crude statistics, but it feels like I'm just forgetting to search some obvious keywords. <br><a href="https://mefi.social/tags/BillionFileFS" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>BillionFileFS</span></a> <a href="https://mefi.social/tags/linux" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>linux</span></a> <a href="https://mefi.social/tags/filesystems" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>filesystems</span></a> <a href="https://mefi.social/tags/optimization" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>optimization</span></a> <a href="https://mefi.social/tags/benchmarking" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>benchmarking</span></a></p>