Page MenuHomeFreeBSD

Set zfs_arc_meta_strategy to metadata only
ClosedPublic

Authored by vangyzen on Sep 13 2018, 4:58 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Dec 29, 7:07 PM
Unknown Object (File)
Fri, Dec 26, 3:12 PM
Unknown Object (File)
Tue, Dec 23, 8:23 PM
Unknown Object (File)
Nov 28 2025, 3:42 PM
Unknown Object (File)
Nov 26 2025, 11:59 PM
Unknown Object (File)
Nov 15 2025, 1:07 PM
Unknown Object (File)
Oct 31 2025, 5:38 PM
Unknown Object (File)
Oct 29 2025, 12:01 AM

Details

Summary

The previous default of "balanced" appears to have caused pathological
behavior, including very poor performance and 100% CPU load in the
arc_reclaim_thread.

Test Plan

The symptoms appeared when the daily periodic run started.
With this change, the system--and the ARC in particular--behaved
normally during a manual daily periodic run.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 19572
Build 19157: arc lint + arc unit

Event Timeline

To be clear, the motivation for this change is that the port of the balanced strategy is incomplete, since arc_prune_async() is a no-op on FreeBSD. (This also seems to imply that r337653 is a no-op.) After 12 is branched we can port the remaining bits and consider changing the default back.

This revision is now accepted and ready to land.Sep 13 2018, 5:06 PM
This revision was automatically updated to reflect the committed changes.