Storing & accessing up to 10 million files in Linux
You should definitely store the files in subdirectories. EXT4 and XFS both use efficient lookup methods for file names, but if you ever need to run tools over the directories such as ls or find you will be very glad to have the files in manageable chunks of 1,000 – 10,000 files. The inode number … Read more