Skip to content

DLPX-66534 arc_prune consumes all cpus #154

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 30, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions files/common/etc/modprobe.d/10-zfs.conf
Original file line number Diff line number Diff line change
Expand Up @@ -82,3 +82,18 @@ options zfs zfs_mg_noalloc_threshold=5
# Overriding the property here fixes that.
#
options zfs zfs_override_estimate_recordsize=8192

#
# The default arc metadata eviction policy is a balanced policy. This policy
# evicts both data and metadata and provides a callback to the ZPL layer
# to evict blocks from the inode and dentry caches. This policy has serious
# implications because it tries too hard to reduce metadata so that it's
# below the arc_meta_limit. As a result this can end up consuming all of
# the cpus and causing the system to run out of memory. Since the arc
# metadata eviction is called in the critical path, we want a lightweight
# policy to be used to ensure that eviction happens quickly and new additions
# to the arc are not blocked for a significant amount of time. To do this,
# we changes the metadata eviction policy to ARC_STRATEGY_META_ONLY,
# which is what we used in illumos.
#
options zfs zfs_arc_meta_strategy=0