Poor performance using discard

Dave Chinner david at fromorbit.com
Sun Mar 4 21:02:54 CST 2012


On Fri, Mar 02, 2012 at 10:41:50AM -0500, Thomas Lynema wrote:
> Peter was right then.  Per multiple recommendations
> I'm switching to fstrim, it is quicker than the deletes.
> 
> fstrim consistently takes about a minute to run on a 40GB
> volume.
> 
> time fstrim -v /usr
> /usr: 9047117824 bytes were trimmed
> 
> real	0m56.121s
> user	0m0.090s
> sys	0m0.000s
> 
> I see that the running of fstrim was already discussed
> http://oss.sgi.com/archives/xfs/2011-05/msg00338.html.
> 
> Please add something to the FAQ about using SSDs.  It would be great if
> people could see the recommended mount options and fstrim crontab entry
> (or other option) for running xfs on a SSD.  

It's a publicly modifiable wiki. Feel free to add what you've
learned here to a new FAQ entry - others will come by and correct
anything in it that is inaccurate....

Cheers,

Dave.
-- 
Dave Chinner
david at fromorbit.com



More information about the xfs mailing list