Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Jul 2024 23:35:22 -1000
From:      ax disroo <ax61@disroot.org>
To:        Jim Long <freebsd-questions@umpquanet.com>
Cc:        Dan Langille <dan@langille.org>, RW via freebsd-questions <freebsd-questions@freebsd.org>, freebsd questions <freebsd-questions@freebsd.org>
Subject:   Re: Unable to limit memory consumption with vfs.zfs.arc_max
Message-ID:  <4A8DDEA3-CD0A-4294-BFEE-155E07B8EA18@disroot.org>
In-Reply-To: <ZpWWPh/16gVfJmx4@sfo.umpquanet.com>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
> On Jul 15, 2024, at 11:36 AM, Jim Long wrote:
…
> The ARC used frequently sails right past
> the 4G limit.  It seems the daily periodic job is one task which can
> push the kernel to violate the vfs.zfs.arc_max limitation.
…

Have you tried these MIBs (set in loader.conf(5) or via sysctl(8), check that) …

- vfs.zfs.arc.free_target: Desired number of free pages below which ARC triggers reclaim;

- vfs.zfs.arc.sys_free https://openzfs.github.io/openzfs-docs/Performance%20and%20Tuning/Module%20Parameters.html#zfs-arc-sys-free

… ?

- Anubhav
[-- Attachment #2 --]
<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div dir="ltr"><blockquote type="cite">On Jul 15, 2024, at 11:36 AM, Jim Long wrote:<br></blockquote>…</div><blockquote type="cite"><div dir="ltr"><span>The ARC used frequently sails right past</span><br><span>the 4G limit. &nbsp;It seems the daily periodic job is one task which can</span><br><span>push the kernel to violate the vfs.zfs.arc_max limitation.</span><br></div></blockquote>…<div><br></div><div>Have you tried these MIBs (set in loader.conf(5) or via sysctl(8), check that) …</div><div><br></div><div>- vfs.zfs.arc.free_target: Desired number of free pages below which ARC triggers reclaim;</div><div><br></div><div>- vfs.zfs.arc.sys_free&nbsp;<a href="https://openzfs.github.io/openzfs-docs/Performance%20and%20Tuning/Module%20Parameters.html#zfs-arc-sys-free">https://openzfs.github.io/openzfs-docs/Performance%20and%20Tuning/Module%20Parameters.html#zfs-arc-sys-free</a></div><div><br></div><div>… ?</div><div><br></div><div>- Anubhav</div></body></html>
home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A8DDEA3-CD0A-4294-BFEE-155E07B8EA18>