Bcachefs Tools 1.38.6 Brings Many Performance Improvements - Phoronix
Articles & Reviews
News Archive
Forums
Premium Ad-Free<br>Contact
Popular Categories
Close
Articles & Reviews
News Archive
Forums
Premium
Contact
Categories
Computers Display Drivers Graphics Cards Linux Gaming Memory Motherboards Processors Software Storage Operating Systems Peripherals
Bcachefs Tools 1.38.6 Brings Many Performance Improvements
Written by Michael Larabel in Linux Storage on 17 June 2026 at 04:06 PM EDT. 59 Comments
Kent Overstreet announced the release today of Bcachefs-Tools 1.38.6 as the user-space tools built around the Bcachefs copy-on-write file-system. There are a few new features and a lot of performance work in v1.38.6 without bringing any on-disk format breakage.
Bcachefs-Tools now supports up to 255 storage devices in a single file-system. There is also Ubuntu 26.04 LTS packages now published via apt.bcachefs.org to facilitate easier testing.
Plus there are many bug fixes but most significant is all the performance work that went into this release. Overstreet summed up the performance changes as:<br>"Performance work spanned much of the codebase, quite a few workloads and benchmarks were profiled. Some highlights:
- Many performance improvements in the journalling code, primarily targeting lock contention. Journal flushes are now fully lockless, significantly improving performance on multithreaded O_SYNC/fsync workloads.
Journal pin lists now have per-pin-list locks instead of sharing the main journal lock, and the journal pin fifo can now be resized at runtime; this avoids unnecessary throttling on O_SYNC/fsync heavy workloads.
Journal read now has to read significantly less of the journal by using a binary search to find the most recent entry on each device, which we're also taking advantage of by increasing the default journal size.
- The core btree iterator and transaction commit code saw significant profiling and optimization, greatly reducing icache usage in particular.
- Btree sharding was greatly improved; we now shard new inode allocations based on pid, not the current cpu, enforce that btree nodes do not cross shard boundaries, and on lock contention we try to migrate threads to the CPU for their data's shard. This drastically reduces lock contention; high client count dbench particularly benefited.
- Multithreaded btree write-buffer flushing saw more improvements, reducing stalls due to lock inversion, and runtime introspection was greatly improved."
Hopefully time at Phoronix will allow for some new Linux file-system comparison performance benchmarks soon, Bcachefs included, especially given Btrfs large folios by default and other upstream file-system improvements hitting Linux 7.2.
More details on the Bcachefs Tools 1.38.6 release via bcachefs-tools.git.
59 Comments
Tweet
EXT4 Reworks Fast Commit Handling & Faster Directory Hash Computation<br>IO_uring, NVMe & Other Block + Device Mapper Changes Merged For Linux 7.2<br>Linux Enacts Guidance To Tighten Acceptance Of New File-Systems Into The Kernel<br>Btrfs Now Enables Large Folios By Default, Lands Huge Folios With Linux 7.2<br>Linux 7.2 Can Significantly Lower Container Exit/Unmount Latency<br>Linux 7.2 Adds Ability To Limit Programs To Only Open Regular Files, Avoid Being Tricked Or Doing Silly Things
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.
Arch Linux Now Believes Malware Incident Under Control: More Than 1,500 Affected Packages<br>ReactOS "Open-Source Windows" Reaches The Milestone Of Being Able To Run Half-Life<br>Arch Linux's AUR Sees More Than 400 Packages Compromised With Malware<br>Arch Linux AUR Hit By Another Wave Of Now More Sophisticated Malware Attack<br>Russian Spam & Profanities Are Now Plaguing The Arch Linux AUR<br>YSERVER: Modern X11 Server Written In Rust With The Help Of Claude Code<br>AMD Opens Pre-Orders For The Linux-Friendly Ryzen AI Halo Developer Platform<br>Linux 7.1 Released: New NTFS Driver, Intel FRED For Panther Lake, Faster Arc Graphics
Godot 4.7 Released With HDR Output Support
EXT4 Reworks Fast Commit Handling & Faster Directory Hash Computation
Rust PNG Image Decoder Now Even Faster: Benefiting Chrome, GNOME, Etc
Claude AI Assists In Fixing Years Old AMD Radeon Linux Display Bug Affecting Numerous Laptops
AF_ALG Deprecation Approved For Linux 7.2, Useless & Insecure Crypto Driver Code Removed
Ubuntu Flavors Now Mandated To Participate In Beta Releases For Official Status
Latest LLVM Patch Further Points To AMD GFX1250/GFX1251 Being Instinct Hardware
Linux 7.2...