]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Make the size of the hash tables used by the NFSv4 server tunable.
authorrmacklem <rmacklem@FreeBSD.org>
Wed, 27 May 2015 22:00:05 +0000 (22:00 +0000)
committerrmacklem <rmacklem@FreeBSD.org>
Wed, 27 May 2015 22:00:05 +0000 (22:00 +0000)
commit7c550ca17d1f1837103075166c4d229c0bca95da
treebd0832c625e89cecaa5d8a797788648f76d018e0
parent026eafa5d44296b11a5ef777eaec8ec340c56d88
Make the size of the hash tables used by the NFSv4 server tunable.
No appreciable change in performance was observed after increasing
the sizes of these tables and then testing with a single client.
However, there was an email that indicated high CPU overheads for
a heavily loaded NFSv4 and it is hoped that increasing the sizes
of the hash tables via these tunables might help.
The tables remain the same size by default.

Differential Revision: https://reviews.freebsd.org/D2596
MFC after: 2 weeks
sys/fs/nfs/nfs.h
sys/fs/nfs/nfsdport.h
sys/fs/nfs/nfsrvstate.h
sys/fs/nfsserver/nfs_nfsdport.c
sys/fs/nfsserver/nfs_nfsdserv.c
sys/fs/nfsserver/nfs_nfsdsocket.c
sys/fs/nfsserver/nfs_nfsdstate.c
sys/fs/nfsserver/nfs_nfsdsubs.c