Flashcache is a write back block cache Linux kernel module. This document describes the design, futures ideas, configuration, tuning of the flashcache and concludes with a note covering the testability hooks within flashcache and the testing that we did. Flashcache was built primarily as a block cache for InnoDB but is general purpose and can be used by other applications as well.
Flashcache is built using the Linux Device Mapper (DM), part of the Linux Storage Stack infrastructure that facilitates building SW-RAID and other components. LVM, for example, is built using the DM.
The cache is structured as a set associative hash, where the cache is divided up into a number of fixed size sets (buckets) with linear probing within a set to find blocks. The set associative hash has a number of advantages (called out in sections below) and works very well in practice.
View full history Series and milestones
trunk series is the current focus of development.
All packages Packages in Distributions
-
flashcache source package in Xenial
Version 3.1.3+git20150701-2ubuntu3 uploaded -
flashcache source package in Trusty
Version 3.1.1+git20131019-1 uploaded