nfs cache

Brian Henning b1henning at hotmail.com
Fri Apr 16 08:44:06 PDT 2004


Greetings,

I am trying to get some info on the cache for nfs on the nfs client. I have
looked at nfsstat

where are the settings located for the nfs cache?

the setattr percentages are really high on this server. The is the main reason i
want to know
what is going on with the cache.

Any ideas?

 thanks,
bh

# nfsstat -c

Client rpc:
Connection oriented:
calls         badcalls      badxids       timeouts      newcreds
143885090     301           232           0             0
badverfs      timers        cantconn      nomem         interrupts
0             0             5             0             232
Connectionless:
calls         badcalls      retrans       badxids       timeouts
203132147     23675         2793          69            2793
newcreds      badverfs      timers        nomem         cantsend
0             0             4330          0             0

Client nfs:
calls         badcalls      clgets        cltoomany
346433939     23947         346448014     2
Version 2: (185583924 calls)
null          getattr       setattr       root          lookup
0 0%          175265837 94% 66975 0%      0 0%          6407008 3%
readlink      read          wrcache       write         create
18540 0%      1866245 1%    0 0%          1356437 0%    70530 0%
remove        rename        link          symlink       mkdir
72376 0%      10037 0%      1139 0%       9658 0%       3455 0%
rmdir         readdir       statfs
2344 0%       399234 0%     34109 0%
Version 3: (143319090 calls)
null          getattr       setattr       lookup        access
0 0%          102639638 71% 796374 0%     9784537 6%    6378938 4%
readlink      read          write         create        mkdir
2017 0%       9299172 6%    10831505 7%   374932 0%     14035 0%
symlink       mknod         remove        rmdir         rename
5741 0%       2750 0%       528773 0%     15443 0%      45381 0%
link          readdir       readdirplus   fsstat        fsinfo
95277 0%      249881 0%     2243928 1%    513 0%        789 0%
pathconf      commit
9466 0%       0 0%


More information about the freebsd-questions mailing list