Btrfs-Progs Changes Meta-Data Block Size

Written by Michael Larabel in Free Software on 9 November 2013 at 09:56 PM EST. 1 Comment
FREE SOFTWARE
The btrfs-progs user-space component to the Btrfs file-system has seen a number of commits in recent weeks. Beyond lots of code improvements and bug-fixes, the default meta-data block size was changed for the Btrfs mkfs command.

Chris Mason changed the default meta-data block size on Friday with this Git commit. The meta-data block size was changed to 16KB by default (or the page-size if it happens to be bigger than 16KB) rather than just defaulting to the page size. Chris Mason's commit message explains that a 16KB meta-data block size for Btrfs yields faster performance and less meta-data fragmentation for almost all workloads. The downside to the change is a slight increase in lock contention on root nodes for some workloads, but that can be worked around.

This change obviously only affects the creation of new Btrfs file-systems, but for the other recent btrfs-progs changes, see Chris Mason's Btrfs-progs git repository.
Related News
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.

Popular News This Week