SSD - the definitive guide for Linux!edit20 Nov 2014
Choose a disk with the most optimal ratio IOPS/price. Check out the list of disks in order of IOPS (Input/Output Operations Per Second) performance: en.wikipedia.org/wiki/IOPS.
Quite often SSD disks are released with firmware bugs or with non-optimal configurations, so before putting the system in production checkout the latest version.
AHCI - Advanced Host Controller Interface is enabled and working:
Check whether your controller supports
Quite often the
AHCI is disabled in BIOS, in this case reboot and enable it.
I observed unstable behavior of disks without
AHCI enabled and even the inability to execute
Identify the type of SATA modes available (for ex. SATA-II: 3Gbps gives the theoretical limit of speed 375MB/s)
Check what is supported by disk
The ideal would be any revision higher than
SATA Rev 3.0 which guaranties the 6Gbps or higher speeds.
STEP 2.5: Pause
Check that disk
TRIM (wikipedia.org/wiki/Trim) works fine
It is very important to have
TRIM functioning. Without
TRIM the disk speed will degrade with time due to the fact that the SSD will have to erase the cell before every write operation.
Let’s test it simply by executing
Lets test whether the
TRIM is really doing what it should
TRIM is properly working the result of the last command should be a bunch of zeros, thanks to Nicolay Doytchev for this script.
Be sure to format disk in the SSD friendly file system:
or any other from this list File systems optimized for flash memory.
If not, you’ll better migrate it to
EXT4 at least with the help of this manual
Migrating a live system from ext3 to ext4 filesystem or consider the complete
re-installation of the operating system.
Mount disk with correct parameters
Check whether the disk is identified as non
If you see
1 on SSD, that means there are some problem with kernel or
The next is to check that the scheduler option is selected on
deadline for our brand new SSD drive
If not execute the following