I have almost 7,000 files in a single directory which makes loading that particular directory a tedious and time-consuming one. Is there any way to list and perform operations on files in that directory faster rather than distributing the files into multiple sub-folders(which makes it even more difficult)?I'm using ext4. But also received the same from efs filesystems.
How to speed up directory listing on high-inode partitions?
inode