[xfs-masters] how to use fstrim?
Greg Freemyer
greg.freemyer at gmail.com
Wed Jul 31 08:26:35 CDT 2013
On Fri, Jul 26, 2013 at 9:50 PM, Dave Chinner <david at fromorbit.com> wrote:
> IOWs, the behaviour of fstrim on XFS is entirely dependent on the
> speed of the block layer and hardware implementations of discards.
And on a lot of SSDs, trim seems to act like a cache flush so it can
hit performance hard. It should be scheduled for off-peak times
afaik. It's not critical to run hourly or even daily. If you can
schedule it once a week when other i/o is light that should be enough
for most workloads.
Greg
--
Greg Freemyer
More information about the xfs
mailing list