linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Martin Brandenburg <martin@omnibond.com>
To: linux-fsdevel@vger.kernel.org
Cc: Martin Brandenburg <mkb@localhost.localdomain>
Subject: [RFC] [PATCH 0/2] OrangeFS in-kernel lookup and attribute cache
Date: Tue,  5 Jul 2016 15:13:47 -0400	[thread overview]
Message-ID: <1467746029-4199-1-git-send-email-mkb@localhost.localdomain> (raw)

This patch introduces caching for OrangeFS server lookups and getattrs.
The userspace OrangeFS client has done this in the past. We see a
significant (3 to 4 times) performance improvement with these patches
at a cost of consistency across the cluster, which OrangeFS doesn't
really guarantee anyway.

Martin Brandenburg (2):
  orangefs: Use d_time to avoid excessive lookups
  orangefs: Cache getattr results.

 fs/orangefs/dcache.c          |  4 ++++
 fs/orangefs/inode.c           |  6 +++---
 fs/orangefs/namei.c           | 12 ++++++++++++
 fs/orangefs/orangefs-kernel.h |  4 +++-
 fs/orangefs/orangefs-utils.c  | 38 +++++++++++++++++++++-----------------
 fs/orangefs/protocol.h        |  8 --------
 6 files changed, 43 insertions(+), 29 deletions(-)

-- 
2.7.4


             reply	other threads:[~2016-07-05 19:13 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-05 19:13 Martin Brandenburg [this message]
2016-07-05 19:13 ` [PATCH 1/2] orangefs: Use d_time to avoid excessive lookups Martin Brandenburg
2016-07-05 19:13 ` [PATCH 2/2] orangefs: Cache getattr results Martin Brandenburg

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=1467746029-4199-1-git-send-email-mkb@localhost.localdomain \
    --to=martin@omnibond.com \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=mkb@localhost.localdomain \
    /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).