Cachefsstat wierdness

I've just set up my Solaris 10 work system so that it mounts a directory from a Solaris 10 x86 box and to try to improve the performance, implemented a cached file system:

# cfsadmin -c /export/cache
# mount -F cachefs -obackfstype=nfs,cachedir=/export/cache,actimeo=300 xyzzy:/export/docs /docs
Now, I can reference the files in /docs just fine, and a quick snoop of the network shows that after the first read of a file from that directory, susequent reads appear to be fulfilled from the local cache (ie there is no NFS read at the time of the access). However, cachefsstat insists that I have a 100% miss rate:
# cachefsstat /docs

    /docs
                 cache hit rate:     0% (0 hits, 18729 misses)
             consistency checks:  25717 (25717 pass, 0 fail)
                       modifies:      0
             garbage collection:      0
I can't find anything in SunSolve which helps, and although this seems to be a reporting issue rather than a genuine 100% cache miss, I'd still like to understand why the reporting is incorrect. Any ideas are welcome !

Comments:

Post a Comment:
Comments are closed for this entry.
About

tdw

Search

Top Tags
Archives
« April 2014
MonTueWedThuFriSatSun
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
    
       
Today