How to get rid of cltoomany (nfsstat)?

How to get rid of cltoomany (nfsstat)?

Post by Ranko Zivojnovi » Wed, 12 Feb 2003 02:38:02



Hi,

I'm getting rather large percentage of cltoomany (the number of  times  the
CLIENT  handle cache  had no unused entries) on one of the busy clients -
more than 20%.

I've also read that acceptable level would be below 10%, but nowhere I can
find any info on how to go arround it.

I have:
    -changed from FastEthernet to Gigabit on both server and the client,
    -increased number of threads on the server from default 16 to 1024,
    -increased nfs:nfs_max_threads to 32 on the client
    -tried both NFSv2 and NFSv3
    -and have tried all the rest of the parameters related to network
performance, tcp, rpc and nfs
    -checked to the last bit all of the network components (with a ping
flood test I get about 17000 pps throughput from the client to the live nfs
server with no packet loss)

etc. etc. but it seems I did not hit the spot.

When there are only few files open (10-20), things are flying and cltoomany
is not increasing. But when there are many files open (100+) with
simultaneous reads and writes, i start getting this counter increased. I
understand that this is the part of the key, but nothing I change seems to
remedy this.

How can I and is there a way to increase the size of this "CLIENT handle
cache"?

Both nfs client and the nfs server are Solaris 8 x86 and are patched to the
latest recommended patch level.

Regards,

Ranko

Client rpc:
Connection oriented:
calls       badcalls    badxids     timeouts    newcreds    badverfs
3827970     0           0           0           0           0
timers      cantconn    nomem       interrupts
0           0           0           0
Connectionless:
calls       badcalls    retrans     badxids     timeouts    newcreds
0           0           0           0           0           0
badverfs    timers      nomem       cantsend
0           0           0           0

Client nfs:
calls       badcalls    clgets      cltoomany
3826875     0           3826856     995996
Version 2: (3620343 calls)
null        getattr     setattr     root        lookup      readlink
0 0%        0 0%        0 0%        0 0%        2148 0%     0 0%
read        wrcache     write       create      remove      rename
2232134 61% 0 0%        1385614 38% 266 0%      181 0%      0 0%
link        symlink     mkdir       rmdir       readdir     statfs
0 0%        0 0%        0 0%        0 0%        0 0%        0 0%
Version 3: (65647 calls)
null        getattr     setattr     lookup      access      readlink
0 0%        1118 1%     0 0%        258 0%      342 0%      1 0%
read        write       create      mkdir       symlink     mknod
63922 97%   0 0%        0 0%        0 0%        0 0%        0 0%
remove      rmdir       rename      link        readdir     readdirplus
0 0%        0 0%        0 0%        0 0%        0 0%        6 0%
fsstat      fsinfo      pathconf    commit
0 0%        0 0%        0 0%        0 0%

Client nfs_acl:
Version 2: (140997 calls)
null        getacl      setacl      getattr     access
0 0%        266 0%      0 0%        139721 99%  1010 0%
Version 3: (0 calls)
null        getacl      setacl
0 0%        0 0%        0 0%

-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----==  Over 80,000 Newsgroups - 16 Different Servers! =-----