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)
Fri, Jul 3, 10:30 PM
Unknown Object (File)
May 27 2026, 12:19 PM
Unknown Object (File)
May 6 2026, 2:30 AM
Unknown Object (File)
Apr 25 2026, 5:46 AM
Unknown Object (File)
Apr 11 2026, 10:48 PM
Unknown Object (File)
Apr 9 2026, 10:53 PM
Unknown Object (File)
Apr 7 2026, 2:09 AM
Unknown Object (File)
Apr 6 2026, 8:56 PM

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.