linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Christoph Hellwig <hch@infradead.org>
To: Hao Chen <haochen@amazon.com>
Cc: "Lu, Qian" <luqia@amazon.com>,
	"linux-xfs@vger.kernel.org" <linux-xfs@vger.kernel.org>,
	"darrick.wong@oracle.com" <darrick.wong@oracle.com>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	amazon-linux-kernel <amazon-linux-kernel@amazon.com>
Subject: Re: XFS mounted with 'discard' option - deleting fio test files slow
Date: Sun, 10 Sep 2017 23:42:37 -0700	[thread overview]
Message-ID: <20170911064237.GA15161@infradead.org> (raw)
In-Reply-To: <20170908232152.GA44231@amazon.com>

On Fri, Sep 08, 2017 at 04:21:52PM -0700, Hao Chen wrote:
> This is expected.  To get a better performance of XFS on NVMe drive, it
> is advised not use use the realtime discard option.
> 
> https://www.intel.com/content/dam/support/us/en/documents/ssdc/data-center-ssds/Intel_Linux_NVMe_Guide_330602-002.pdf

Again, this will depend on your device.  Intel in particular was the
example in my presentation for horrible performance of the NVMe
discard support - other vendors implement much better discard support,
so you'll see much better results.

      reply	other threads:[~2017-09-11  6:42 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-07 18:22 XFS mounted with 'discard' option - deleting fio test files slow Lu, Qian
2017-09-07 23:34 ` Dave Chinner
2017-09-08  7:16   ` Christoph Hellwig
2017-09-08 17:17 ` Lu, Qian
2017-09-08 23:21   ` Hao Chen
2017-09-11  6:42     ` Christoph Hellwig [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=20170911064237.GA15161@infradead.org \
    --to=hch@infradead.org \
    --cc=amazon-linux-kernel@amazon.com \
    --cc=darrick.wong@oracle.com \
    --cc=haochen@amazon.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-xfs@vger.kernel.org \
    --cc=luqia@amazon.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).