Am Tue, 19 May 2015 10:53:26 -0400
schrieb Rich Freeman <ri...@gentoo.org>:

> On Tue, May 19, 2015 at 10:44 AM, Peter Humphrey <pe...@prh.myzen.co.uk> 
> wrote:
> >
> > Incidentally, what's the received wisdom on frequency of file-system 
> > trimming
> > on SSDs these days? I've seen values quoted between twice a day and once a
> > week. And how does trimming affect btrfs?
> >
> 
> I've been trimming mine daily, and I've yet to be able to distinguish
> it from a no-op.  As far as I can tell fstrim -v always outputs 0
> bytes trimmed.

(Note that I'm also a btrfs user.)

I've been using the systemd timer that comes with util-linux upstream without
modification, which runs fstrim weekly.  That seems to work well, but to be
quite honest, I wouldn't know how to tell.  Sometimes I wasn't even sure it
ran, so I would run it manually, and it always finished nigh-instantaneously.

Before that, I used the discard mount option, but apparently that's only a good
idea with high-end SSDs (not that I noticed much of a difference in everyday
usage).

-- 
Marc Joliet
--
"People who think they know everything really annoy those of us who know we
don't" - Bjarne Stroustrup

Attachment: pgpbuY5i2MFsi.pgp
Description: Digitale Signatur von OpenPGP

Reply via email to