mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-23 10:54:35 +03:00
zfs_arc_num_sublists_per_state should be common to all multilists
The global tunable zfs_arc_num_sublists_per_state is used by the ARC and the dbuf cache, and other users are planned. We should change this tunable to be common to all multilists. This tuning may be overridden on a per-multilist basis. Reviewed-by: Pavel Zakharov <pavel.zakharov@delphix.com> Reviewed-by: Dan Kimmel <dan.kimmel@delphix.com> Reviewed-by: Tony Hutter <hutter2@llnl.gov> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Matthew Ahrens <mahrens@delphix.com> Closes #5764
This commit is contained in:
committed by
Brian Behlendorf
parent
3d3fe9f9bb
commit
c30e58c462
@@ -622,15 +622,16 @@ Default value: \fB0\fR.
|
||||
.sp
|
||||
.ne 2
|
||||
.na
|
||||
\fBzfs_arc_num_sublists_per_state\fR (int)
|
||||
\fBzfs_multilist_num_sublists\fR (int)
|
||||
.ad
|
||||
.RS 12n
|
||||
To allow more fine-grained locking, each ARC state contains a series
|
||||
of lists for both data and meta data objects. Locking is performed at
|
||||
the level of these "sub-lists". This parameters controls the number of
|
||||
sub-lists per ARC state.
|
||||
sub-lists per ARC state, and also applies to other uses of the
|
||||
multilist data structure.
|
||||
.sp
|
||||
Default value: \fB1\fR or the number of online CPUs, whichever is greater
|
||||
Default value: \fB4\fR or the number of online CPUs, whichever is greater
|
||||
.RE
|
||||
|
||||
.sp
|
||||
|
||||
Reference in New Issue
Block a user