Skip to content

nfsd: add a reply_cache_stats file to nfsd for tracking DRC performance

Jeff Layton linux-nfs 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest posting 2/25 patches 1 replyIn review
  2. v2 posting 1/25 patches 0 repliesSuperseded

Patches in v2 posting 2/2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5nfsd: break out comparator into separate functionfs/nfsd/nfscache.c+34 -100 replies
2/5nfsd: track memory utilization in the DRCfs/nfsd/nfscache.c+15 -40 replies
3/5nfsd: add new reply_cache_stats file in nfsdfsfs/nfsd/cache.h fs/nfsd/nfscache.c fs/nfsd/nfsctl.c+35 -00 replies
4/5nfsd: keep track of the max and average time to search the cachefs/nfsd/nfscache.c+33 -40 replies
5/5nfsd: keep stats on worst hash balancing seen so farfs/nfsd/nfscache.c+21 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/5] nfsd: add a reply_cache_stats file to nfsd for tracking DRC performance

This patchset adds some stats tracking to the DRC to hopefully allow us to make better-informed decisions in the future on performance improvements.

Some of these I've already posted, but reposting them now as a set to allow Bruce to more easily merge them. I think these would be good for 3.9, but they're obviously not critical.

Jeff Layton (5):
nfsd: break out comparator into separate function
nfsd: track memory utilization in the DRC
nfsd: add new reply_cache_stats file in nfsdfs
nfsd: keep track of the max and average time to search the cache
nfsd: keep stats on worst hash balancing seen so far

 fs/nfsd/cache.h    |   1 +
 fs/nfsd/nfscache.c | 144 ++++++++++++++++++++++++++++++++++++++++++++++-------
 fs/nfsd/nfsctl.c   |   9 ++++
 3 files changed, 137 insertions(+), 17 deletions(-)
Signature · 1 line
1.7.11.7