2 ms·
I thought there was some ext4 specific mount option you could set to tell it to speed that up significantly? I can't seem to find it now. In any case, the cla
by kbenson 12y ago
I thought there was some ext4 specific mount option you could set to tell it to speed that up significantly? I can't seem to find it now.
In any case, the classic workaround (which can be a PITA) is to create a tree of subfolders and distribute files between them. E.g. first letter of filename, second letter of filename, or for more even distribution use first characters from hashing the filename.
- js2 12y agodir_index. Funny this is being concurrently discussed on the "Tell HN: The site was offline. What changed?" thread. https://news.ycombinator.com/item?id=7872306 https://news.ycombinator.com/item?id=7872306
- otterley 12y agodir_index is on by default for ext4 filesystems. It doesn't help in this case.