SSD trimming

Lennart Sorensen lsorense-1wCw9BSqJbv44Nm34jS7GywD8/FfD2ys at public.gmane.org
Fri May 31 14:53:12 UTC 2013


On Fri, May 31, 2013 at 03:04:49AM -0400, D. Hugh Redelmeier wrote:
> "trim" support is something added in recent years to support SSDs.
> 
> Why: It helps the SSD more efficiently pretend to be a normal hard disk.
> 
> How should we use it?
> 
> There is a "discard" mount option (for ext4 or BTRFS).  That seems to be 
> overkill.
> 
> Alternatively: run fstrim on each SSD filesystem once in a while (once a 
> day).
> 
> See 
> <http://www.webupd8.org/2013/01/enable-trim-on-ssd-solid-state-drives.html>
> 
> I welcome a better resource (I didn't look hard).
> 
> I wonder if there is some GUI setting to turn on a crontab entry to do 
> fstrim.

Almost certainly not.

Now distributions might start shipping with such a cron job by default
once SSDs become common enough.  After all running a cron job that simply
goes'is this an SSD (with trim support) or not and then doing the job
if it is seems reasonable.

-- 
Len Sorensen
--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list