I have a question about the filesystem ext4 and disk fragmentation: Does ext4 place files in the same directory near or next to each other on the disk? And if so how is it fragmented, for example is filename important?
I ask this because we've a project for which we have a lot of small files and the files are read/requested in multiple threads but every thread has it's patern for file requests. If we place files in the same directory (file001, file002, file003 etc.) and give the disk a "Read Ahead" for 1 or 2 MB it will boost the read speed.
The idea is o have the files in the same directory next to each other on the disk. (file001, file002, file003 etc.)