* linux cache question
@ 2002-05-31 19:36 Matthew Boeckman
0 siblings, 0 replies; only message in thread
From: Matthew Boeckman @ 2002-05-31 19:36 UTC (permalink / raw)
To: nfs
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-05-31 19:38 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-31 19:36 linux cache question Matthew Boeckman
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.