]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC of 253973:
authormckusick <mckusick@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 31 Aug 2013 17:33:25 +0000 (17:33 +0000)
committermckusick <mckusick@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 31 Aug 2013 17:33:25 +0000 (17:33 +0000)
commitdfa4ca8b766a7804cb9bd67394abc0fdcb6d7717
treeea8a216441e5bc906d92ae2fae3b7b231cfaec9d
parenta7e01d89813beaaa8a2b3f33e4e37a89c361fcad
MFC of 253973:

To better understand performance problems with journalled soft updates,
we need to collect the highest level of allocation for each of the
different soft update dependency structures. This change collects these
statistics and makes them available using `sysctl debug.softdep.highuse'.

Reviewed by: kib
Tested by:   Peter Holm

MFC of 253974:

With the addition of journalled soft updates, the "newblk" structures
persist much longer than previously. Historically we had at most 100
entries; now the count may reach a million. With the increased count
we spent far too much time looking them up in the grossly undersized
newblk hash table. Configure the newblk hash table to accurately reflect
the number of entries that it must index.

Reviewed by: kib
Tested by:   Peter Holm
MFC after:   2 weeks

git-svn-id: svn://svn.freebsd.org/base/stable/9@255103 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/ufs/ffs/ffs_softdep.c