This thread is a quick summary of things you need to know about using solid-state drives with Linux.
Firstly, it matters what filesystem you choose. I strongly recommend using ext4 because:
- ext4 is kind to SSDs and natively supports online trim
- Btrfs can really hurt SSDs
- GFS2 and XFS are irrelevant to you unless you're running a cluster
- ext3 only supports offline trim
Secondly, there is a lot of guff out in electron-land about adding the 'discard' parameter to your fstab. Do
not do this. Adding this parameter will force the OS into attempting to trim the disk every time a file is deleted - which will really hurt your SSD's life expectancy. Instead, just run the following command once a week (or month if you're a light user):