]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Set zfs_arc_meta_strategy to metadata only
authorEric van Gyzen <vangyzen@FreeBSD.org>
Thu, 13 Sep 2018 17:56:48 +0000 (17:56 +0000)
committerEric van Gyzen <vangyzen@FreeBSD.org>
Thu, 13 Sep 2018 17:56:48 +0000 (17:56 +0000)
commit73511c241bab29b078c84d992082cc44513c608d
treef99fdb9c9d6fc4f3f6a9d0de2fa7b13828381036
parent23679408cec0d18046592c5503763352a562f89e
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