Public bug reported:

Many filesystems support discard feature, and lots of SSD disks(even some usb 
storages)
support TRIM feature, but unfortunately Ubuntu does not enable it automatically.

With trim/discard enabled, SSD's lifetime can be increased and write performance
may be improved.

For common users, we can't expect them to know trim and enable it manually, so
it is better to let ubuntu do it automatically like below:

- check if the disk support trim by hdparm -I
- if the disk supports trim, either mount with '-o discard' or doing trim in 
background
periodically as suggested in below link[1], or other better way

[1], http://blog.neutrino.es/2013/howto-properly-activate-trim-for-your-
ssd-on-linux-fstrim-lvm-and-dmcrypt/

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1244504

Title:
  need to enable trim for SSD disk automatically

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1244504/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to