First, since 2011 or so, TRIM has been enabled by default in the Linux Kernel but not what you’d call optimally. I don’t know the why of that so don’t ask! I have learned over the last few weeks that enabling TRIM using the “discard” option in /etc/fstab will end up significantly slowing your drive down. That option will make Linux use TRIM the same way Windows does. (which can cause your drive to slow down) TRIM tells the SSD drive to delete the information in the blocks and then write to them. In reality, there is no need to do this every time you write to the disk in Linux. (yes I know it is arguable, but this seems to be the consensus of the majority)

The smart thing to do is to create a ‘cron’ job to deal with TRIM, say, once a day, or once a week. You can do this with the ‘fstrim’ command. To see if your SSD drive even supports TRIM try the following in your terminal;

“sudo fstrim -v /”

If you see no error, and it tells you “/: 19 GiB (20374241280 bytes) trimmed” you’ll know you have a TRIM capable drive! (obviously your size will differ from mine probably). The above command is a way for you to manually TRIM your SSD drive whenever you like. The above command was to TRIM the ‘/’ (or root) partition or your SSD. You would do the same for home with;

“sudo fstrim -v read more