linux kernel 5 (ubuntu 18.04)

Use case is writing 100K files (50KB) in bursts, file system half 500million of files (per folder can be a small number if needed) and deleting old files all of the time.

Writing on SDDs

Requirement is performance (especially of the write) and stability

I've read about xfs, ext4, reiserfs, btrFS and F2FS

I don't have time to benchmark all so would appreciate to thin the list with the best file systems for my use case.

For instance reiserfs is good for many small files but is 50KB small? Since it is ssd will F2FS be a real advantage in this case?

  • 3
  • Just do not store more than several thousands files in a single directory in any FS. – Artem S. Tashkinov Aug 27 '20 at 10:00
  • I don't think the HDD benchmark article will be reflective of SSD/NVMe speed, since "random placement over time" will be irrelevant. My suggestion would be to run a benchmark yourself. I don't think ReiserFS is a good choice, because it is no longer supported. F2FS is meant for direct use of NAND flash, so is also unlikely to be best. That leaves ext4, XFS, BtrFSand a few tests would only take a couple hours. You could try the benchmark at dropbox.com/s/viba8rzdq6uegsq/bench.py?dl=0 with some small changes to reflect your file and directory sizes. Please post results here... :-) – LustreOne Aug 27 '20 at 19:34

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.