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, Oct 17, 7:34 PM
Unknown Object (File)
Thu, Oct 2, 1:45 AM
Unknown Object (File)
Wed, Oct 1, 2:01 AM
Unknown Object (File)
Sun, Sep 28, 12:43 AM
Unknown Object (File)
Sun, Sep 28, 12:33 AM
Unknown Object (File)
Sun, Sep 28, 12:32 AM
Unknown Object (File)
Sep 20 2025, 8:56 AM
Unknown Object (File)
Sep 5 2025, 1:41 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.