]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r269230: MFV r269224:
authordelphij <delphij@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 12 Aug 2014 00:59:19 +0000 (00:59 +0000)
committerdelphij <delphij@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 12 Aug 2014 00:59:19 +0000 (00:59 +0000)
commitfdb7d0590e60dd7fd4607098d34aec304746bffd
tree9102344710de56a7edb53d457264272a04e24d77
parent89e65abcc18dd9c8a2f41c0566a5e47b0d0a682e
MFC r269230: MFV r269224:

Increase default ARC buf_hash_table size.  When typical block size is small,
the hash table could be too small, which would lead to long hash chains and
limit performance for cached reads.

A new loader tunable, vfs.zfs.arc_average_blocksize, have been added which
allows users to override the default assumption of average (typical) block
size.  Old default was 65536 (64 KiB) and new default is 8192 (8 KiB).

Illumos issue:
    5034 ARC's buf_hash_table is too small

git-svn-id: svn://svn.freebsd.org/base/stable/10@269846 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c