An Initial Benchmark Of Bcachefs vs. Btrfs vs. EXT4 vs. F2FS vs. XFS On Linux 6.11

Written by Michael Larabel in Storage on 9 August 2024 at 11:55 AM EDT. Page 3 of 3. 105 Comments.
Dbench benchmark with settings of Client Count: 12. F2FS was the fastest.

For Dbench, F2FS again had a lovely first place finish followed by XFS and then EXT4. Bcachefs and Btrfs were back in last with at least Bcachefs performing a fair amount better than Btrfs for this storage benchmark.

CockroachDB benchmark with settings of Workload: KV, 50% Reads, Concurrency: 256. XFS was the fastest.

For the Cockroach database XFS and F2FS were effectively tied for first while Btrfs was the slowest and Bcachefs was mid-way between the Btrfs CoW and EXT4 / F2FS / XFS.

MariaDB benchmark with settings of Test: oltp_update_non_index, Threads: 64. F2FS was the fastest.
MariaDB mariadb-slap benchmark with settings of Clients: 32. EXT4 was the fastest.

Bcachefs with its copy-on-write design impressed for the out-of-the-box performance in MariaDB that it performed closer to EXT4 / XFS / F2FS than Btrfs out-of-the-box.

PostgreSQL benchmark with settings of Scaling Factor: 100, Clients: 1000, Mode: Read Write. XFS was the fastest.
PostgreSQL benchmark with settings of Scaling Factor: 100, Clients: 1000, Mode: Read Write, Average Latency. XFS was the fastest.

For PostgreSQL, Bcachefs also continued performing a fair amount better than Btrfs.

Geometric Mean Of All Test Results benchmark with settings of Result Composite, Linux 6.11 File-Systems. XFS was the fastest.

From this testing on Linux 6.11-rc2, Bcachefs continues looking better with each new kernel version. There were some nice improvements since the last time I carried out Bcachefs testing and it performed measurably better in a number of benchmarks than Btrfs. XFS and EXT4 remained tied in first place overall for those curious about the out-of-the-box Linux file-system performance without any additional tuning/tweaks.

If you enjoyed this article consider joining Phoronix Premium to view this site ad-free, multi-page articles on a single page, and other benefits. PayPal or Stripe tips are also graciously accepted. Thanks for your support.

Related Articles
About The Author

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.