Sign in

← Software

ARC eviction: adaptive and parallel

titleARC eviction: adaptive and parallel
recommendationconsider
directionboth-differ
areaperformance
feature flag
openzfs version2.2.0
summaryillumos still uses arc_adjust() and arc_meta_limit-based metadata balancing. OpenZFS reworked this: 2.0 renamed it to arc_evict and revised the shrinker, 2.2.0 added more adaptive eviction (dropping arc_meta_limit for zfs_arc_meta_balance), 2.4.0 added parallel eviction threads.
impactSolnix's ARC is the older design: more manual meta-limit tuning and single-threaded eviction on many-core systems.
whyMeasurable on big-memory hosts, but ARC changes have bitten illumos before (IPD 50 cites a compressed-ARC episode). Needs careful benchmarking.
effortlarge
sourceshttps://github.com/openzfs/zfs/commit/a8d83e2a24de6419dc58d2a7b8f38904985726cb
https://github.com/illumos/illumos-gate/blob/ac45d71fc2b04a5422e72a14b54dd1e746e7be07/usr/src/uts/common/fs/zfs/arc.c
https://github.com/illumos/ipd/blob/6c575ddfc1898caf7332dbad4429c1390f78ffb9/ipd/0050/README.adoc
https://github.com/openzfs/zfs/commit/b6916f995ed24d8d7660fd51443e92995fa9b787

What Solnix has done

No decision yet: open for ranking.

Objections (0)

None.

Sign in to object to this item.