Btrfs File-System Tuning On Linux 3.7

Written by Michael Larabel in Software on 19 October 2012 at 01:58 AM EDT. Page 2 of 6. 16 Comments.
Btrfs Mount Options On Ubuntu Linux

The only option really changing things for Btrfs with the FIO workload was nodatacow, which is not doing copy-on-write for new files and also disables check-summing. Copy-on-write ensures that there's never only partially updated files written to the disk while using "nodatacow" directly overwrites existing data (similar to EXT4), which can be bad in case of system failure. The only configuration really pulling back the Btrfs performance compared to stock was when enabling the SSD TRIM/discard support.

Btrfs Mount Options On Ubuntu Linux

Utilizing LZO compression led to the most significant performance win with the transparent file-system compression working out the best here. The Gzip compression method also worked decent.

Btrfs Mount Options On Ubuntu Linux

Btrfs compression worked out very well with FS-Mark.


Related Articles