CENTOS / Linux – Make your server fly with Flashcache

Saturday, 27 May 2017 - Written by admin

Flashcache at Facebook: From 2010 to 2013 and beyond

First of all, note the disk IO without SSD cache:

Update the whole system to get all packages up to date:

Install required packages:

Reboot if you got new kernel version installed during update.

Flashcache installation :

Flashcache is now installed, load the Flashcache module and make sure it is working:

Unmount the partition to be ‘cached’ and create a Flashcache volume

Unmount the partition and ensure it does not show up in df.

Find out the partition’s UUID (Universally unique identifier).

Comment out or remove the line containing the partition from /etc/fstab

Create the Flashcache volume – Here ssd_cache is the name of the volume that we are going to creater and /dev/sdc is the SSD. Replace with the actual disk UUID.

Configure Flashcache to automatically start on server startup:

Edit /etc/init.d/flashcache

See if the Flashcache volume is mounted

If it is not, run

Re-test IO’s

(Visited 106 times, 1 visits today)