3 ms·
Does anyone know how to get Linux to support TRIM? I just reformatted my SSD and would hate for it to become slower just because of deallocated blocks.
by StavrosK 16y ago
Does anyone know how to get Linux to support TRIM? I just reformatted my SSD and would hate for it to become slower just because of deallocated blocks.
- nuclear_eclipse 16y agoAccording to the linked wikipedia page on the TRIM command, Linux has supported it "since Feb 2010", so I would imagine that anything running the 2.6.32 kernel would correctly utilize that feature if your drive supports it. Please correct me if I'm wrong.
- StavrosK 16y agoThe article says that the "latest, greatest Linux kernels should beware", so I don't know what to think :/
- kevindication 16y agoParse it once more: "Operating systems earlier than Windows 7 and the latest, greatest Linux kernel should beware" Translation: latest, greatest Linux kernels support TRIM.
- StavrosK 16y agoAh, "earlier than (Win 7 and the latest kernel)", rather than "(earlier than Win 7) and the latest kernel". Thanks, looks like I'm covered, then. EDIT: Apparently, Ubuntu is one version behind TRIM support.
- limist 16y agoLooks like you'd need the Linux 2.6.33 kernel: http://en.wikipedia.org/wiki/TRIM#Operating_system_support http://en.wikipedia.org/wiki/TRIM#Operating_system_support http://forums.debian.net/viewtopic.php?f=7&t=51105 http://forums.debian.net/viewtopic.php?f=7&t=51105
- jolan 16y agoIt also requires filesystem support. ext4 was the first support it. I believe btrfs, nilfs2, and xfs support it now as well.
- yungchin 16y agoThis guy lists some good starting points: http://cptl.org/wp/index.php/2010/03/30/tuning-solid-state-drives-in-linux/2/ http://cptl.org/wp/index.php/2010/03/30/tuning-solid-state-d...