Trying Out & Benchmarking Bcachefs On Linux 6.7

Written by Michael Larabel in Software on 3 November 2023 at 10:59 AM EDT. Page 4 of 4. 87 Comments.
ClickHouse benchmark with settings of 100M Rows Hits Dataset, First Run / Cold Cache. XFS was the fastest.
ClickHouse benchmark with settings of 100M Rows Hits Dataset, Third Run. XFS was the fastest.

Bcachefs was slower than the other four when it came to running the ClickHouse database on this NVMe SSD.

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

Bcachefs out-of-the-box on this NVMe SSD testing setup on Linux Git was also much slower than the other file-systems tested on the same hardware for PostgreSQL.

SQLite benchmark with settings of Threads / Copies: 1. EXT4 was the fastest.
SQLite benchmark with settings of Threads / Copies: 8. F2FS was the fastest.

With SQLite benchmarks Bcachefs out-of-the-box was faster than Btrfs, but both of these CoW file-systems with their default mount options were much slower than XFS, EXT4, and F2FS.

nginx benchmark with settings of Connections: 500. XFS was the fastest.

When stressing the system with the Nginx web server and executing 500 concurrent connections, the file-system selection had some impact. Bcachefs performed slightly better than Btrfs here while XFS had a narrow first place finish.

Well, that's where things stand at the moment in looking at Bcachefs out-of-the-box that's newly merged for Linux 6.7. If there is reader interest in seeing any tuned configurations, multi-drive, etc, voice your thoughts by commenting on this article in the forums.

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

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.