Linux 5.0 File-System Benchmarks: Btrfs vs. EXT4 vs. F2FS vs. XFS
When running FS-Mark, F2FS was the fastest for the SATA/USB storage tests while XFS picked up another win when it came to the Optane 900p performance, followed by F2FS.
For FS-Mark with four threads, F2FS was still the fastest for the SATA 3.0 SSD while EXT4 turned out to be the fastest for the USB-to-SATA configuration. Btrfs continued operating very buggy with the USB storage setup and failed to run the rest of the benchmarks. On the NVMe SSD, the four-thread FS-Mark was the fastest on XFS followed by Btrfs.
Under Compile Bench, EXT4 was the fastest on all three drives followed by a mix of XFS and F2FS.
The PostgreSQL database server ran well particularly on EXT4 and XFS while F2FS on the USB 3.0 SSD testing ran into a strange performance drop while Btrfs was still problematic from the USB storage.