]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Move the debug.hashstat sysctl tree under DIAGNOSTIC. I measured the
authorJohn Baldwin <jhb@FreeBSD.org>
Mon, 9 Mar 2009 19:04:53 +0000 (19:04 +0000)
committerJohn Baldwin <jhb@FreeBSD.org>
Mon, 9 Mar 2009 19:04:53 +0000 (19:04 +0000)
commit4ab2a9a022ed105de65de11d3c8d72f0c3a480e7
tree5d65c1749c50eaeeaeaabc0dc72f760e5e6ad230
parentd10910e6cee0dca8be3d5a7fdbe404a15d9e7b52
Move the debug.hashstat sysctl tree under DIAGNOSTIC.  I measured the
debug.hashstat.rawnchash sysctl in particular as taking 7 milliseconds on
a 3GHz Intel Xeon (4x2) running 7.1.  It accounted for almost a quarter of
the total runtime of 'sysctl -a'.  It also performs lots of copyout's while
holding the namecache lock (this does not attempt to fix that).

MFC after: 2 weeks
sys/kern/vfs_cache.c