HomeFreeBSD

Reduce number of arc_prune threads

Description

Reduce number of arc_prune threads

On FreeBSD vnode reclamation is single-threaded, protected by single
global lock. Linux seems to be able to use a thread per mount point,
but at this time it creates more harm than good.

Reduce number of threads to 1, adding tunable in case somebody wants
to try more.

Reviewed-by: Ryan Moeller <ryan@ixsystems.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Chris Dunlop <chris@onthe.net.au>
Reviewed-by: Ahelenia ZiemiaƄska <nabijaczleweli@nabijaczleweli.xyz>
Signed-off-by: Alexander Motin <mav@FreeBSD.org>
Closes #12896
Issue #9966

Details

Provenance
mavAuthored on Dec 23 2021, 1:07 AM
GitHub <noreply@github.com>Committed on Dec 23 2021, 1:07 AM
Parents
rGd2f374c3f29c: ZTS: Fix rollback_003_pos.ksh
Branches
Unknown
Tags
Unknown

Event Timeline