Btrfs File-System Tuning On Linux 3.7
Written by Michael Larabel in Software on 19 October 2012. Page 2 of 6. 16 Comments

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.

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 compression worked out very well with FS-Mark.


Related Articles
Trending Linux News