From: Matthew Boeckman <matthewb@saepio.com>
To: nfs@lists.sourceforge.net
Subject: linux cache question
Date: Fri, 31 May 2002 14:36:26 -0500 [thread overview]
Message-ID: <3CF7D0BA.5090505@saepio.com> (raw)
I'm trying to understand client caching under linux, and tune my mount
command to increase my performance. A little background: several 2.4.17
boxes with nfs-utils 0.3.1 (RH7.1) accessing a common mountpoint from a
Solaris 7 box, NFS3 over UDP. Each client accesses specific directories
under that mount point, but no overlap, so client a only reads and
writes to directories that b and c do not. Our application does TONS of
attribute lookups, often in trees with 80k+ files in them. Default
attribute caching is a nighmare, as we can wait 10minutes or more for
the operation to return.
I've tried various options of actimeo, acregmin/max. Currently actimeo
is set to 3600 (1 hour), I then have a find cronjob that goes back out
and re-caches the directories so endusers don't have to wait. I notice
that according to update -d that my "Time for data buffers to age before
flushing" is 3000. Am I correct in assuming that this means that the
kernel is flushing the nfs cache before my min timeout value?
If that is the case, what if any are the ramifications of upping that
value in the kernel? If not, how do I affect the cache sizes for NFS?
The real prompter to this question is that we had been seeing decent
performance with the above setup, and last night I tried to extend that
cache to 18000 (5 hours). The unexpected result of this is that my nfs
call rate went through the ceiling and performance degraded significantly.
Any suggestions?
--
Matthew Boeckman (816) 777-2160
Manager - Systems Integration Saepio Technologies
==
==
...Many say that DOS is the dark side, but actually UNIX is more like
the dark side: It's less likely to find the one way to destroy your
incredibly powerful machine, and more likely to make upper management choke.
-Lore Sjoberg
_______________________________________________________________
Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
_______________________________________________
NFS maillist - NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs
reply other threads:[~2002-05-31 19:38 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=3CF7D0BA.5090505@saepio.com \
--to=matthewb@saepio.com \
--cc=nfs@lists.sourceforge.net \
/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.