Software

Linux: check if your SSD supports TRIM

I have read a lot of articles about optimizing solid-state drives. Most of them talk about the TRIM feature but we need to make sure that our SSD is compatible. To check it:

$ sudo hdparm -I /dev/sda | grep TRIM

If the output is similar to the following, we are good to go:

*    Data Set Management TRIM supported (limit 8 blocks)
*    Deterministic read data after TRIM

Note that hdparm was not installed by default on my Arch Linux installation, but the package is available in core.

Back