Why doesn't ubuntu turn on discard mount option for ssd drives that support it? Or, alternatively, include a cron-job to run fstrim periodically ? The aim of this question is to understand the technical difficulties and the reasons behind that decision and not to discuss a bug or a feature request.
closed as off-topic by dobey, ImaginaryRobots, Avinash Raj, To Do, Eric Carvalho Dec 17 '13 at 10:40
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "Bug reports and problems with the development version of Ubuntu should be reported on Launchpad so that developers can see, track and fix these issues." – dobey, ImaginaryRobots, Avinash Raj, To Do, Eric Carvalho
Ubuntu always goes for stable before cutting edge and TRIM is not perfect yet.
A couple of quotes:
The reason Ubuntu doesn’t TRIM SSDs by default is because the Linux kernel’s implementation of TRIM is slow and results in poor performance in normal use. Source
Ubuntu is also looking at enabling TRIM automatically by having the system regularly run fstrim. This will hopefully be part of Ubuntu 14.04 so Ubuntu users won’t be forced to deal with SSD performance degradation or run fstrim on their own. Source
Update: fstrim (fstrim-all) was added to 14.04 in the new util-linux package (2.20.1-5.1ubuntu11)