User talk:AdamT/Installation Notes
Latest comment: 21 November 2013 by AdamT in topic Flashcache, Bcache, or other write-through solution?
TTD
Updated or expanded Btrfs optimizations?
- Skinny extents:
- Need to be enabled at makefs or after: http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=3173a18f70554fe7880bb2d85c7da566e364eb3c
- Kernel mailing list info:
btrfstune -x
to enable after makefs http://lkml.indiana.edu/hypermail/linux/kernel/1305.1/01064.html
- Mount tuning revisit:
- http://www.phoronix.com/scan.php?page=article&item=linux_btrfs_311&num=1
- https://btrfs.wiki.kernel.org/index.php/Mount_options
- Tuning as of 3.11
- SSD
- compress=lzo autodefrag discard space_cache inode_cache
- HDD
- compress-force=zlib autodefrag space_cache inode_cache
- Blacklist
- nodatacow -- disables compression.
- nobarrier -- greatly increases the chance of full file system corruption during power failure situation.
- SSD
Out of band deduplication:- https://btrfs.wiki.kernel.org/index.php/Deduplication
- https://btrfs.wiki.kernel.org/index.php/Changelog#v3.12_.28Nov_2013.29
- Wait until more fully supported. Or until the needed changes for out of band are into dedup proper.
Verify Optimal Sector and Leaf sizes:- https://git.kernel.org/cgit/linux/kernel/git/mason/btrfs-progs.git/commit/?id=b9b1fc4f0dea55ed276819538d1d46e61edf1d86
- More links in this section's "See also" section.
No solid information on this topic. Maintain 16KB leaf/node size.
Flashcache, Bcache, or other write-through solution?
See:
Questions:
- RAM to SSD to HDD solution feasible? Warranted?
- Bench marking?
- Worst of all worlds or best?
- Following some initial research, SSD caching by way of bcache, flashcache, dm-cache or the like, does seem to be a decent solution in terms of performance. However, the current solutions would add additional complexities to the storage layers and Btrfs may eventually add similar features. See here.
- From this understanding, I am continuing to focus my efforts into learning Btrfs as fully as feasible, and not worrying about these other options for now. -- AdamT (Talk) 23:43, 21 November 2013 (UTC)
New Install Goals
Better follow The Arch Way throughout.