meta data for this page
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| linux:fs:ssd_cache [2021/02/16 21:20] – created niziak | linux:fs:ssd_cache [2022/02/15 07:42] (current) – niziak | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== SSD caching ====== | + | ====== |
| Speed up HDDs with additional SSD/NVMe caching. | Speed up HDDs with additional SSD/NVMe caching. | ||
| Line 7: | Line 7: | ||
| * it is possible to add '' | * it is possible to add '' | ||
| * LVM DM-Cache | * LVM DM-Cache | ||
| + | * No HDD reformating if it is already using LVM | ||
| * it is possible to add cache device to logical volume: [[https:// | * it is possible to add cache device to logical volume: [[https:// | ||
| + | * [[https:// | ||
| * It is hot-spot cache, to cache only frequently accessed data, so simple copy of big file doesn' | * It is hot-spot cache, to cache only frequently accessed data, so simple copy of big file doesn' | ||
| * Write cache is also possible: https:// | * Write cache is also possible: https:// | ||
| + | * [[https:// | ||
| + | * need to reformat HDD | ||
| + | Writeback caching: | ||
| + | * Filesystem corruption when SSD cache fails. Possible workaround for mirroring FS is to use 2 separate caching devices for 2 mechanical drives. | ||
| + | |||
| + | Benchmarks: | ||
| + | * [[http:// | ||
| + | |||
| + | |||
| + | ===== flashcache ===== | ||
| + | |||
| + | <code bash> | ||
| + | apt-get install flashcache-dkms flashcache-utils | ||
| + | </ | ||
| + | |||
| + | Reference [[https:// | ||