]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Set zfs_arc_meta_strategy to metadata only
authorvangyzen <vangyzen@FreeBSD.org>
Thu, 13 Sep 2018 17:56:48 +0000 (17:56 +0000)
committervangyzen <vangyzen@FreeBSD.org>
Thu, 13 Sep 2018 17:56:48 +0000 (17:56 +0000)
commit4d88bbba136e0264efa2d9460db4a0ab18dcc789
treef99fdb9c9d6fc4f3f6a9d0de2fa7b13828381036
parentf3797279cb9606942369d16d57e79936c279bc8f
Set zfs_arc_meta_strategy to metadata only

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

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.

From Mark Johnston:  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.

Submitted by: markj (essentially)
Reviewed by: markj
Approved by: re (gjb)
Sponsored by: Dell EMC Isilon
Differential Revision: https://reviews.freebsd.org/D17156
sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c