r/btrfs • • 10h ago

BTRFS performance improvement appreciation

44 Upvotes

I just updated my kernel to 7.3.7 and remembered there was a bit of a fuss with BTRFS performance improvements in recent kernel versions. Had a screenshot of KDiskMark bench from kernel 7.0.10 that I remembered of, so I've run the bench on the latest version to compare.

Lo and behold - the write speeds, at least in my case, are now in multiples of what they were nearly half year ago.

Older bench:

Kernel 7.0.10

New bench:

Kernel 7.3.7

Between those two tests I didn't change anything beside the kernel and system updates.

My BTRFS volume is the same, with the same mount options, the disk has a little less of a free space available.

Mount options for the tested partition:

compress=zstd:3,ssd,discard=async,space_cache=v2

Edit: Adding a comparison of my only ext4 partition on the same setup. It's a little one, so I had to use smaller test size - 1GB.

EXT4 - Kernel 7.3.7