From Fedora Project Wiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

SSDcache

Summary

Using recent kernel (3.9 and later) features for (fast) SSD caching of (slow) ordinary hard disks.

Owner

  • Name: Rolf Fokkens
  • Email: rolf@rolffokkens.nl
  • Release notes owner:

Current status

  • Targeted release: Fedora 20
  • Last updated: 2013-06-25
  • Tracker bug: <will be assigned by the Wrangler>

Detailed Description

Recent Linux kernels support the use of Solid State Drives as caches for rotational hard disks. Because the high cost per GB for SSD devices this feature may bring the best of both: fast end big yet affordable storage capacity. Linux kernel 3.9 introduced dm-cache, kernel 3.10 introduces bcache.

Benefit to Fedora

Scope

  • Proposal owners: Enable caching features in new kernels
  • Other developers: Support the caching features in their respective packages. Special focus should be on making the system boot from a cached root FS.
  • Release engineering: All packages should operate in close harmony te make this work. Only a rebuild of the relevant packages is required.
  • Policies and guidelines: No changes I think.

Upgrade/compatibility impact

N/A (not a System Wide Change)

How To Test

Implementing a caching root FS requires a reinstall for sure, because caching cannot be added to existing volumes!

Testing involves doing a clean install of Fedora, while configuring in anaconda a cached root FS. After the installation the cache state should be checked (if it is operational or not.

Additional tests:

  • run benchmarks (see performance improvement over non cached storage)
  • update the kernel (see if dracut builds a functional initramfs including caching
  • ...

User Experience

N/A (not a System Wide Change)

Dependencies

N/A (not a System Wide Change)

Contingency Plan

  • Contingency mechanism: (What to do? Who will do it?) N/A (not a System Wide Change)
  • Contingency deadline: N/A (not a System Wide Change)
  • Blocks release? N/A (not a System Wide Change), Yes/No

Documentation

N/A (not a System Wide Change)

Release Notes