HomeFreeBSD

l2arc_write_buffers: reduce headroom value

Description

l2arc_write_buffers: reduce headroom value

FreeBSD has ARC_BUFC_NUMMETADATALISTS metadata lists and ARC_BUFC_NUMDATALISTS
data lists (currently both are 16) while illumos has just a single list
of each kind.

headroom determines how much data is scanned on a single list
during each run of the l2arc feed thread.
Because FreeBSD has more lists we proportionally decrease the limit.

Reviewed by: Brendan Gregg (earlier version)
MFC after: 2 weeks
Sponsored by: HybridCluster

Details

Provenance
avgAuthored on
Parents
rS272707: revert r272702: wrong (earlier) change was committed
Branches
Unknown
Tags
Unknown

Event Timeline