Welcome to SparkyLinux forums
Zapraszamy również na polsko-języczne Forum

Author Topic: SSD trim  (Read 1979 times)

Offline mt12345

  • Newbie
  • *
  • Posts: 1
SSD trim
« on: June 29, 2016, 01:03:50 pm »
What is recommended trim method?

Offline paxmark1

  • Hero Member
  • *****
  • Posts: 627
Re: SSD trim
« Reply #1 on: June 29, 2016, 06:19:10 pm »
What have you researched so far?  What is your target machine and how will you be using it?

Debian wiki  ##Updated semi recently 2015-10-17    ##  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. 

Code: [Select]
## /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. 
Don't make a FrankenDebian