| To: | xfs@xxxxxxxxxxx |
|---|---|
| Subject: | Re: Poor performance using discard |
| From: | Jeffrey Hundstad <jeffrey.hundstad@xxxxxxxx> |
| Date: | Mon, 05 Mar 2012 00:41:24 -0600 |
| In-reply-to: | <20120305030254.GA3592@dastard> |
| References: | <1330469778.9688.7.camel@core24> <20120229012259.GW3592@dastard> <1330480826.9688.23.camel@core24> <20120229040819.GZ3592@dastard> <1330702910.6438.40.camel@core24> <20120305030254.GA3592@dastard> |
| User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20120216 Icedove/8.0 |
On 03/04/2012 09:02 PM, Dave Chinner wrote: 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.... And it is already there: http://xfs.org/index.php/FITRIM/discard Feel free to expand it. -- Jeffrey Hundstad |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH] xfstests: add freeze and dangerous groups, Eric Sandeen |
|---|---|
| Next by Date: | Re: failed to set versionnum in AG 1, Gabriel VLASIU |
| Previous by Thread: | Re: Poor performance using discard, Dave Chinner |
| Next by Thread: | Re: xfs_repair: phase7.c:148: phase7: Assertion `no_modify || nrefs > 0' failed., Arkadiusz MiÅkiewicz |
| Indexes: | [Date] [Thread] [Top] [All Lists] |