This is Gentoo's testing wiki. It is a non-operational environment and its textual content is outdated.
Please visit our production wiki at https://wiki.gentoo.org
Bcache
From Gentoo Wiki (test)
This article is a stub. You can help by expanding it.
Bcache is a Linux kernel block layer cache. It allows one or more fast disk drives such as flash-based solid state drives (SSDs) to act as a cache for one or more slower disk drives.
Installation
Kernel
Activate the following kernel options:
Device Drivers ---> Multiple devices driver support (RAID and LVM) ---> <*> Block device as cache
Emerge
Install sys-fs/bcache-tools:
root #
emerge --ask sys-fs/bcache-tools
See also
- bcachefs - A next generation, robust, high performance filesystem supporting CoW, compression, and encryption.
External resources
- Howto bcache - A Gentoo Forums thread on using bcache.
- Arch wiki - The Bcache article on found on the Arch wiki.
- Patrick's Blog - Patrick Lauer (Patrick) , a Gentoo developer, wrote a few short entries on his blog concerning the use of bcache and a multi-disk SATA array back in September, 2014. Read about it here.
- Pommi's blog - SSD caching using Linux and bcache - A 2013 blog entry containing details of setting up bcache.