From: Dave Chinner <david@fromorbit.com>
To: Stan Hoeppner <stan@hardwarefreak.com>
Cc: xfs@oss.sgi.com
Subject: Re: XFS buffered sequential read performance low after kernel upgrade
Date: Sat, 13 Mar 2010 11:16:26 +1100 [thread overview]
Message-ID: <20100313001626.GE4732@dastard> (raw)
In-Reply-To: <4B9A2A00.1050304@hardwarefreak.com>
On Fri, Mar 12, 2010 at 05:48:16AM -0600, Stan Hoeppner wrote:
> Hello,
>
> I'm uncertain whether this is the best place to bring this up. I've been
> lurking a short while and it seems almost all posts here deal with dev
> issues. On the off chance this is an appropriate forum, here goes.
....
> hdparm test results for the filesystems:
>
> /dev/sda2:
> Timing O_DIRECT disk reads: 236 MB in 3.01 seconds = 78.48 MB/sec
> /dev/sda2:
> Timing buffered disk reads: 172 MB in 3.03 seconds = 56.68 MB/sec
>
> /dev/sda6:
> Timing O_DIRECT disk reads: 238 MB in 3.00 seconds = 79.21 MB/sec
> /dev/sda6:
> Timing buffered disk reads: 116 MB in 3.03 seconds = 38.27 MB/sec
>
> /dev/sda7:
> Timing O_DIRECT disk reads: 238 MB in 3.01 seconds = 79.10 MB/sec
> /dev/sda7:
> Timing buffered disk reads: 114 MB in 3.00 seconds = 37.99 MB/sec
Those tests don't go through the filesystem - they go directly to the
block device. Hence if these are different to your old kernel, the
problem is outside XFS. I'd suggest the most likely cause is the
elevator - if you are using CFQ try turning off the new low-latency
mode, or changing to deadline or noop and see if the problem goes
away.
Also, the XFS partitions are on the inner edge of the disk, so they
are always going to be slower (can be as low as half the speed) than
partitions on the outer edge of the disk for sequential access...
Cheers,
Dave.
--
Dave Chinner
david@fromorbit.com
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
next prev parent reply other threads:[~2010-03-13 0:14 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-12 11:48 XFS buffered sequential read performance low after kernel upgrade Stan Hoeppner
2010-03-12 12:46 ` Stan Hoeppner
2010-03-13 0:16 ` Dave Chinner [this message]
2010-03-13 10:03 ` Stan Hoeppner
2010-03-13 10:48 ` Dave Chinner
2010-03-13 15:24 ` Robert Brockway
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=20100313001626.GE4732@dastard \
--to=david@fromorbit.com \
--cc=stan@hardwarefreak.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox