Flashcache is a module released by engineer back in April 2010 to speed up I/O on a standard rotational drive with the speed of SSD. Since it works by caching filesystem blocks, so it can speed anything on the slow rotational .

First of all, note the disk IO without SSD :

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

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 startup:

Edit /etc/init.d/flashcache

See if the Flashcache volume is mounted

If it is not, run

Re-test IO’s

Print Friendly, PDF & Email



Bài viết liên quan