Sponsored Links

TRIM Enabled By Default For SSDs On Ubuntu 14.04 Trusty Tahr

SSDs are finally trimmed out of the box starting with Ubuntu 14.04 LTS Trusty Tahr.TRIM allows the OS to “inform a solid-state drive (SSD) which blocks of data are no longer considered in use and can be wiped internally”. Without this, the write speed on SSDs becomes very slow over time. More info @ Wikipedia.At UDS there was a discussion about the method that was going to be used for trimming: online discard (adding a “discard” option to /etc/fstab) or fstrim with a cron job. Based on some benchmarks, the developers decided to go with fstrim because, like we also pointed out a while back, with online discard there’s a performance hit, for example when deleting a large number of small files.So starting with Ubuntu 14.04, SSDs that support it will be trimmed out of the box by using fstrim with a weekly cron job, as long as you’re using a supported filesystem: ext3, ext4, xfs and btrfs.According to the blueprint, TRIM will also be enabled by default for Ubuntu Touch soon.If you’re not using Ubuntu 14.04 yet, you ca manually enable TRIM for your SSD by following our guide.via Martin Pitt @ G+
Originally published at WebUpd8: Daily Ubuntu /

Read more …

Comments are closed.