Welcome to SparkyLinux forums
Zapraszamy również na polsko-języczne Forum https://forum.linuxiarze.pl

SSD trim

Started by mt12345, June 29, 2016, 01:03:50 PM

Previous topic - Next topic

mt12345

What is recommended trim method?

paxmark1

What have you researched so far?  What is your target machine and how will you be using it?

Debian wiki
https://wiki.debian.org/SSD%20Installation  ##Updated semi recently 2015-10-17
https://wiki.debian.org/SSDOptimization?action=show&redirect=SSDoptimization    ##  last updated 2016-02-09

HOAS - HeadOnAStick has several good posts about it on BunsenLabs forum and also on Debian Forum.

I am under the impression that trim is pretty well integrated into the kernel these days. 

The only thing I have said for awhile in these sorts of posts at #!, etc. is that if all you have is an ssd (as in my old eee901) - then if you need (or desire) a /swap, use a cheap SDHC for it.  /tmp and /var can go there too, but I didn't and still do not.  For the attached fstab sdb is a SDHC.  /swap is on sdb1and is for an Asus eee netbox, 

Here is my fstab  I am not saying that this is the way to go. 


## /dev/sda1
UUID=33e3701e-b81c-4bfe-82a8-c7950596b6cc     /                ext4       defaults,noatime,discard           0    1

## /dev/sda2
UUID=f0ffc849-9176-41b1-a573-fe96cf13bd68     /home            ext4       defaults,noatime,discard           0    2

## /dev/sdb1  blue sdhc
#UUID=d1aa9137-4d35-4d6c-bfb9-ce2df60e3e85     none             swap       defaults

##  /dev/sdb2 swap
#UUID=3143684f-1f95-4fc2-b9bd-72872789f2b4    /media/SDHC       ext4       defaults, noatime,discard          0    2
 

I am thick-skinned, feel free to crituque. 
Search forum for "More info easier via inxi"    If requested -  no inxi, no help for you by  me.

View the most recent posts on the forum