I read in one of the webupd8 articles that TRIM support, which was introduced in Ubuntu 14.04, by default only works for Intel and Samsung SSDs. What about other? I am using Dell XPS 13 Dev Edition laptop and the SSD is from a different manufacturer, so does TRIM work by default as well or I have to manually make a cron job file?
Everything is already installed.
The command to activate trim 1 time:
It will take a while and then show the results. Example:
And it is set up by default to run once a week for -supported devices-:
If you check the cron job it is all explained:
If the manual method works, you can add
And to top it off: this is a list of compatible hardware (PDF download) including SSDs.
You can also force the TRIM (on filesystem like ext4/xfs) adding discard to the options of /etc/fstab entry. For example mine is:
If you use cryptsetup (for dmcrypt) you can also add discard in /etc/crypttab to force TRIM. Something like: