All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bob Peterson <rpeterso@redhat.com>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] [PATCH 2/2] gfs2: Extended attribute readahead optimization
Date: Mon, 16 Nov 2015 13:14:33 -0500 (EST)	[thread overview]
Message-ID: <887170668.12201825.1447697673364.JavaMail.zimbra@redhat.com> (raw)
In-Reply-To: <CAHc6FU5nXe+5d4GH7paYTLAB03=hfdrU_=Z=UcsegCmqx6=Kfw@mail.gmail.com>

----- Original Message -----
> On Thu, Nov 12, 2015 at 9:33 PM, Steven Whitehouse <swhiteho@redhat.com>
> wrote:
> > That looks good to me, and I assume that it should be faster too?
> 
> I did some tests with a directory tree with 3439 directories and 51556
> files in it.
> 
> In that tree, 47313 or 86% of the 54995 files and directories ended up
> with readahead enabled, while 7682 didn't.
> 
> On a slow SATA magnetic disc, I compared the time required for running
> "find", then "find | xargs stat", then "find | xargs getfattr". I
> booted with selinux=0 for these measurements, so "find" and "find |
> xargs stat" didn't use the xattrs.
> 
> The results are attached as a spreadsheet. They show that xattr
> readahead can save quite some time (here, about -75%). The optimized
> version of xattr readahead is about 3% faster than the simple version
> in this test, so I'll leave it up to you whether that's worth it for
> you.
> 
> It makes no difference whether the scheduler is "noop" or "deadline"
> here; the "noop" scheduler still seems to merge adjacent I/O requests
> (which makes sense).
> 
> Andreas
> 
Hi,

Thanks. Both patches are now applied to the for-next branch of the linux-gfs2 tree:
https://git.kernel.org/cgit/linux/kernel/git/gfs2/linux-gfs2.git/commit/fs/gfs2?h=for-next&id=c8d577038449a718ad0027d1790b6ef4441715d4
https://git.kernel.org/cgit/linux/kernel/git/gfs2/linux-gfs2.git/commit/fs/gfs2?h=for-next&id=843396ad9886458bddbc7d07137b2975876b029e

Regards,

Bob Peterson
Red Hat File Systems



  reply	other threads:[~2015-11-16 18:14 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-01 19:02 [Cluster-devel] [PATCH 0/2] Extended attribute readahead Andreas Gruenbacher
2015-11-01 19:02 ` [Cluster-devel] [PATCH 1/2] gfs2: " Andreas Gruenbacher
2015-11-03 17:29   ` Bob Peterson
2015-11-03 19:02     ` Steven Whitehouse
2015-11-03 20:18       ` Andreas Gruenbacher
2015-11-01 19:02 ` [Cluster-devel] [PATCH 2/2] gfs2: Extended attribute readahead optimization Andreas Gruenbacher
2015-11-12 13:44   ` Steven Whitehouse
2015-11-12 15:33     ` Andreas Gruenbacher
2015-11-12 20:15       ` Andreas Gruenbacher
2015-11-12 20:33         ` Steven Whitehouse
2015-11-13 22:24           ` Andreas Gruenbacher
2015-11-16 18:14             ` Bob Peterson [this message]
2015-11-13 13:48         ` Bob Peterson

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=887170668.12201825.1447697673364.JavaMail.zimbra@redhat.com \
    --to=rpeterso@redhat.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.