Hey guys,
Does anybody knows how to trim SSD on Ubuntu 14.04 LTS?
-
:thumbsup:
-
Also see this post for Linux on SSD:
http://forum.notebookreview.com/lin...ware/699790-linux-ssd-swap-2.html#post9229971 -
ALLurGroceries Vegan Vermin Super Moderator
Code:hdparm -I /dev/sdX | grep -i trim
Code:* Data Set Management TRIM supported (limit 1 block) * Deterministic read data after TRIM
https://wiki.archlinux.org/index.php/Solid_State_Drives#Verify_TRIM_Support -
well,I found this command
sudo fstrim -v /
on the net and it works!check it out!UNCNDL1 likes this. -
Code:/dev/sdaX / ext4 defaults,noatime,discard 0 1
-
https://sites.google.com/site/easyl...omatic-TRIM-by-rc.local-by-cron-or-by-discard -
Just because you prefer to trim manually, does not mean everybody does -
-
Right, apparently adding discard to the appropriate disk in fstab will slow the SSD down on only the manipulation of a massive amount of small files. Otherwise, you won't notice a difference.
Adding noatime seems to lessen the wear/tear as well.
Anyway, Ubuntu 14.04 comes with TRIM support out of the box if your SSD is intel/samsung. All it does is issue the fstrim command on your SSD(s) once a week.UNCNDL1 likes this. -
-
How about for Linux Mint 17 Qiana? I am dual booting between that and Windows 7. Thanks.
-
After reading this http://www.spinics.net/lists/linux-ide/msg48361.html it seem if you are on MU05 firmware and Kernel 3.15 or above there should be no fear of data loss, can anyone confirm this or am I misreading ?
Thanks for any inputs! -
Linux Mint 17 codename Qiana. is based on Ubuntu 14.04
Linux Mint 17 Cinnamon Release Notes - Linux Mint
Cheers
3Fees
I have Linux Mint 17.1 -Cinnamon -code named -Rebecca on my HP DV5000 Laptop with the 17.1 updated kernel,,can install 17.1-Rebecca from updates on Qiana, then install the updated Kernel as well. I did last night, very easy all bumps,ect pre-figured out by the Linux Mint team, Clem,ect,,check it out... -
There was a time when the Linux kernel implemented TRIM in a less than idea way and enabling discard would result in sending a large number of small TRIMed address ranges in a row, which is why people say discard is very bad for performance.
Basically instead of saying this:
If your file system is heavily fragmented or you're handling many small files, in-line TRIM would still slow things download a bit upfront, but you get cleaner FTL and more efficient GC in the long run. Obviously, there's even less reason not to enable TRIM if you have queued TRIM support (which you do on a modern Linux kernel when not running the buggy M5X0).Last edited: Dec 22, 2014Dufus likes this. -
Here is an article with data backing up the claim "discard" option greatly slows down delete operations: https://patrick-nagel.net/blog/archives/337
-
-
M550 MU02 firmware update
M500/M5x0 QUEUED-TRIM data corruption alert (mostl... - Page 5 - Crucial Community
Trim SSD on Ubuntu?
Discussion in 'Linux Compatibility and Software' started by NickKas, May 30, 2014.