afs: Raise osidnlc NCSIZE 31/13531/2
authorAndrew Deason <adeason@sinenomine.net>
Fri, 28 Sep 2018 19:55:56 +0000 (14:55 -0500)
committerBenjamin Kaduk <kaduk@mit.edu>
Fri, 19 Apr 2019 15:35:19 +0000 (11:35 -0400)
commit12b46b6af778625a9c360dca61a59fcf30b76fd1
treeee006f4a5bd29c4a9f2602525f95003132abcff5
parente02ae66c7eef1bfc5df9c3e9f2acde3bc3102390
afs: Raise osidnlc NCSIZE

The currrent size of the osi DNLC is very small; only 300 entries.
Raise it to 4096 entries, to give it some chance of actually helping.

In the future, of course, this should be runtime configurable, and we
should also raise the hash table size. For now, just raise the number
of entries without changing anything else, to try to make sure nothing
breaks.

With the hash size of 256, this means our hash chains will be at least
16 items long. However, traversing even hundreds of hash items should
still be better than frequently hitting the disk cache to find
entries, and acquiring more locks, etc.

Change-Id: I48f496e8c25fa869ded83e97ff686ed028c923c5
Reviewed-on: https://gerrit.openafs.org/13531
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Michael Meffie <mmeffie@sinenomine.net>
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
src/afs/afs_osidnlc.c