All of lore.kernel.org
 help / color / mirror / Atom feed
From: Benjamin Coddington <Benjamin.Coddington@uvm.edu>
To: linux-nfs@vger.kernel.org
Subject: getattr miss
Date: Tue, 17 Feb 2009 15:43:38 -0500	[thread overview]
Message-ID: <499B217A.2010504@uvm.edu> (raw)

Forgive me for what may be an obvious question.  In the middle of 
tracking down NFS4ERR_RESOURCE storms from an AIX server to linux 
clients on three busy webservers, I noticed that our linux client 
performs a compound OPEN,GETATTR for every read of a file even if the 
reads are well within the attribute cache timeout.  Adding nocto doesn't 
seem to change this behavior -- and for apache looking up numerous 
.htaccess files it would be great to avoid the trip to the server to 
revalidate attributes if we're within the timeout.

So the simple question: is this expected?  I'd like to minimize 
consecutive GETATTR calls, if possible, and get the most from VFS cache.

I've got some ridiculous timeouts set up at this point:

barasinga.uvm.edu:/ on /fs/barasinga type nfs4 
rw,sec=krb5,nocto,hard,intr,actimeo=3600,addr=132.198.101.73

Ben
-- 
Benjamin Coddington
Systems Architecture and Administration
Enterprise Technology Services
University of Vermont

             reply	other threads:[~2009-02-17 21:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-17 20:43 Benjamin Coddington [this message]
2009-02-17 21:47 ` getattr miss J. Bruce Fields
2009-02-18 13:30   ` Benjamin Coddington

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=499B217A.2010504@uvm.edu \
    --to=benjamin.coddington@uvm.edu \
    --cc=linux-nfs@vger.kernel.org \
    /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.