Configuring xubuntu for SSD
1. Use ext4
2. Add "noatime" to each Linux SSD volume in /etc/fstab like so:
/dev/sda1 / ext4 defaults,noatime 0 1
UUID=xxxxx / ext4 noatime,errors=remount-ro 0 1
3. Set up TRIM
A trim command (known as TRIM in the ATA command set, and UNMAP in the SCSI command set) allows an operating system to inform a solid-state drive (SSD) which blocks of data are no longer considered in use and can be wiped internally.
TRIM can be executed daily, weekly or monthly. To set up when should it be executed, copy /etc/cron.weekly/fstrim to the appropriate /etc/cron.[weekly|daily|monthly] directory. *Note to myself* keep it at weekly, it's fine enough.
DISABLE TRIM WHEN SOMETHING IS DELETED BY ACCIDENT.
4. Add to /etc/sysctl.conf .
vm.swappiness=1