linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* dentry cache memory usage
@ 2010-07-26 15:21 Casey Bodley
  2010-07-26 15:33 ` Trond Myklebust
  0 siblings, 1 reply; 2+ messages in thread
From: Casey Bodley @ 2010-07-26 15:21 UTC (permalink / raw)
  To: linux-nfs; +Cc: Olga Kornievskaia

I'm a developer at CITI working on the windows pnfs client.  We've
been looking into some optimizations for our name and attribute
caches, mainly involving the use of pools to avoid allocating memory
for each new entry.

We're looking for a sensible initial/maximum pool size.  Once the
maximum pool size is reached, we'll start scavenging the least
recently used entries.  Does the linux client impose any limits on the
size of the dentry cache?

I'm also curious what time limits you're using before expiring cached
attributes and lookups.

I suppose I'm just asking for magic numbers here, in the hope that
smart people have tested and benchmarked this stuff in the linux
client.

Thanks,
Casey

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-07-26 15:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-26 15:21 dentry cache memory usage Casey Bodley
2010-07-26 15:33 ` Trond Myklebust

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).