Commit 8ddd06be authored by Chuck Lever's avatar Chuck Lever
Browse files

NFSD: Reduce DRC bucket size



The common case is that a DRC lookup will not find the XID in the
bucket. Reduce the amount of pointer chasing during the lookup by
keeping fewer entries in each hash bucket.

Changing the bucket size constant forces the size of the DRC hash
table to increase, and the height of each bucket r-b tree to be
reduced.

Signed-off-by: default avatarChuck Lever <chuck.lever@oracle.com>
parent fb340bfd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment