From: Thomas Lynema <lyz27@yahoo.com>
To: xfs@oss.sgi.com
Subject: Poor performance using discard
Date: Tue, 28 Feb 2012 17:56:18 -0500 [thread overview]
Message-ID: <1330469778.9688.7.camel@core24> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 1270 bytes --]
Please reply to my personal email as well as I am not subscribed to the
list.
I have a PP120GS25SSDR it does support trim
cat /sys/block/sdc/queue/discard_max_bytes
2147450880
The entire drive is one partition that is totally used by LVM.
I made a test vg and formatted it with mkfs.xfs. Then mounted it with
discard and got the following result when deleting a kernel source:
/dev/mapper/ssdvg0-testLV on /media/temp type xfs
(rw,noatime,nodiratime,discard)
time rm -rf linux-3.2.6-gentoo/
real 5m7.139s
user 0m0.080s
sys 0m1.580s
There where lockups where the system would pause for about a minute
during the process.
ext4 handles this scenerio fine:
/dev/mapper/ssdvg0-testLV on /media/temp type ext4
(rw,noatime,nodiratime,discard)
time rm -rf linux-3.2.6-gentoo/
real 0m0.943s
user 0m0.050s
sys 0m0.830s
xfs mounted without discard seems to handle this fine:
/dev/mapper/ssdvg0-testLV on /media/temp type xfs
(rw,noatime,nodiratime)
time rm -rf linux-3.2.6-gentoo/
real 0m1.634s
user 0m0.040s
sys 0m1.420s
uname -a
Linux core24 3.2.5-gentoo #11 SMP PREEMPT Sat Feb 11 15:46:22 EST 2012
x86_64 Intel(R) Core(TM)2 Quad CPU Q6700 @ 2.66GHz GenuineIntel
GNU/Linux
Any suggestions?
[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
[-- Attachment #2: Type: text/plain, Size: 121 bytes --]
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
next reply other threads:[~2012-02-28 22:56 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-28 22:56 Thomas Lynema [this message]
2012-02-28 23:58 ` Poor performance using discard 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
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=1330469778.9688.7.camel@core24 \
--to=lyz27@yahoo.com \
--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.