Re: ssd trim using fstrim.service and fstrim.timer

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



> 
> > Note: I could just add "discard" to /etc/fstab, but wouldn't that
> > wear out
> > the SSD faster than periodic trimming?
> 
> I don't know precise numbers, but IME none of those made a difference
> performace-wise. I'd say if SSD wear is a problem (i.e. if you
> estimate it
> within expected usage time of the device), just switch to a HDD.
> 
> HTH,

Using discard will cause less wear than using fstrim or not using TRIM
at all. TRIM gives the SSD more freedom to do wear levelling.

Anyway, wear isn't an issue on anything but low quality hardware. Even
the consumer class drives like Samsung's EVO line are going to take 5+
years to burn through the P/E cycles with extremely heavy usage. You
can keep track via the SMART data. Samsung drives have an entry with
the number of P/E cycles so far and the percentage of remaining life
and other vendors probably have a similar field (but perhaps not with
the same transparency).

Attachment: signature.asc
Description: This is a digitally signed message part


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux