Cache Hit Rate

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Is it safe to say that in /proc/fs/fscache/stats, the "request" hit
rate of the cache can be found by: Lookups[pos]/Lookups[n] ?  And if
so, is there a way to find the size-wise hit rate, or better yet, the
actual amount of bytes/pages/etc that didn't get sent to the NFS
server? I've been unable to tease anything like that out so far from
looking through Documentation/filesystems/caching/fscache.txt.

So looking at a system with a 2.5 hr uptime with a heavy NFS workload, I get:

Lookups: n=175999 neg=102077 pos=73919 crt=102077 tmo=3

So the hit rate would by 73919/175999 = 41%?

--
Linux-cachefs mailing list
Linux-cachefs@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-cachefs

[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]
  Powered by Linux