All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jeffrey Hundstad <jeffrey.hundstad@mnsu.edu>
To: xfs@oss.sgi.com
Subject: Re: Poor performance using discard
Date: Mon, 05 Mar 2012 00:41:24 -0600	[thread overview]
Message-ID: <4F546014.3030601@mnsu.edu> (raw)
In-Reply-To: <20120305030254.GA3592@dastard>

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

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

      reply	other threads:[~2012-03-05  6:41 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-28 22:56 Poor performance using discard Thomas Lynema
2012-02-28 23:58 ` Peter Grandi
2012-02-29  1:22 ` Dave Chinner
2012-02-29  2:00   ` Thomas Lynema
2012-02-29  4:08     ` Dave Chinner
2012-02-29 10:38       ` Peter Grandi
2012-02-29 19:46       ` Eric Sandeen
2012-03-01  5:59         ` Christoph Hellwig
2012-03-01  6:27           ` Dave Chinner
2012-03-01  6:31             ` Christoph Hellwig
     [not found]       ` <1330658311.6438.24.camel@core24>
2012-03-02 14:57         ` Thomas Lynema
2012-03-02 15:41       ` Thomas Lynema
2012-03-05  3:02         ` Dave Chinner
2012-03-05  6:41           ` Jeffrey Hundstad [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4F546014.3030601@mnsu.edu \
    --to=jeffrey.hundstad@mnsu.edu \
    --cc=xfs@oss.sgi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.