Following our recent HDD benchmarking and solid-state drive testing of the Linux 3.14 kernel with various file-systems, for this weekend article we have done more tests of Btrfs on Linux 3.14 when trying out various Btrfs mount options.
Btrfs was tested with its default mount options from a solid-state drive and then tested separately with the following mount options (and reformatting and reinstalling the tests in-between):
- LZO compression support (compress=lzo).
- Zlib compression support (compress=zlib).
- Space cache handling (space_cache).
- Not writing access/modification times (noatime).
- No data copy-on-write (nodatacow).
- SSD spread (ssd_spread).
- SSD TRIM/Discard (discard).
Details on these mount options can be found via the Btrfs Wiki. All benchmarking was handled via the Phoronix Test Suite software and no other changes were made when testing out the Btrfs tuning from the ASUS Zenbook Prime Intel "Ivy Bridge" Ultrabook with dual SanDisk SSDs with Ubuntu x86_64 running a recent Git snapshot of the Linux 3.14 kernel.