]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Reduce the target number of vnodes on the freelist from desiredvnodes
authorphk <phk@FreeBSD.org>
Thu, 25 Sep 1997 16:17:57 +0000 (16:17 +0000)
committerphk <phk@FreeBSD.org>
Thu, 25 Sep 1997 16:17:57 +0000 (16:17 +0000)
commit099d96fad2139ab260e76c1dde31768cfe3e69ba
tree8322e85a24930b1de40a5277039d3d390940636d
parent1182dc26f77df6ab88e063d5c35fd8011300cd53
Reduce the target number of vnodes on the freelist from desiredvnodes
(usually a couple of thousand) to 25.  The measured impact on cache-hits
doesn't justify spending memory this way:

Target number of free vnodes versus namecache hit rate in % during a
make world:
          10    98.5316
         200    98.5479
         500    98.5546
        1000    98.5709
        3000    98.6006
        4000    98.6126
sys/kern/vfs_export.c
sys/kern/vfs_subr.c