Re: RFC: How ZFS handles arc memory use

From: Alexander Leidinger <Alexander_at_Leidinger.net>
Date: Sun, 02 Nov 2025 10:48:06 UTC
Am 2025-10-29 22:06, schrieb Doug Ambrisko:
> It seems around the switch to OpenZFS I would have arc clean task 
> running
> 100% on a core.  I use nullfs on my laptop to map my shared ZFS /data
> partiton into a few vnet instances.  Over night or so I would get into
> this issue.  I found that I had a bunch of vnodes being held by other
> layers.  My solution was to reduce kern.maxvnodes and vfs.zfs.arc.max 
> so
> the ARC cache stayed reasonable without killing other applications.
> 
> That is why a while back I added the vnode count to mount -v so that
> I could see the usage of vnodes for each mount point.  I made a script
> to report on things:

Do you see this also with the nullfs mount option "nocache"?

Bye,
Alexander.

-- 
http://www.Leidinger.net Alexander@Leidinger.net: PGP 0x8F31830F9F2772BF
http://www.FreeBSD.org    netchild@FreeBSD.org  : PGP 0x8F31830F9F2772BF