Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 03 Nov 2025 11:57:01 +0000
From:      bugzilla-noreply@freebsd.org
To:        fs@FreeBSD.org
Subject:   [Bug 290207] [ZFS] lowering "vfs.zfs.arc.max" to a low value causes kernel threads of "arc_evict" to use 91% CPU and disks to wait. System gets unresponsive...
Message-ID:  <bug-290207-3630-Nswl3nSJ2s@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-290207-3630@https.bugs.freebsd.org/bugzilla/>
References:  <bug-290207-3630@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D290207

--- Comment #35 from Nils Beyer <nbe@vkf-renzel.de> ---
well, "arc_available_memory" is defined as

        n =3D PAGESIZE * ((int64_t)freemem - zfs_arc_free_target);

or [if !defined(UMA_MD_SMALL_ALLOC) && !defined(UMA_USE_DMAP)]

        n =3D uma_avail() - (long)(uma_limit() / 4);

So, in my eyes, for "arc_available_memory" any setting for "vfs.zfs.arc.max=
" is
ignored and therefore "arc_lowmem" not triggered until the real available f=
ree
memory goes down - for instance by using a large TMPFS...

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-290207-3630-Nswl3nSJ2s>