[Bug 229670] ZFS ARC limit vfs.zfs.arc_max from /boot/loader.conf is not respected

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Jul 16 03:14:50 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229670

--- Comment #4 from Shane <FreeBSD at ShaneWare.Biz> ---
(In reply to vermaden from comment #3)

The patch in review is about ARC releasing its cache when programs want more
memory, not about using more than the limit.

Currently the system can swap out before it releases ARC, the patch changes
that, so that when free ram is used, it will release ARC before swapping. This
means it may not always be using the arc_max that it is allowed to use.


Also, in the Oracle ZFS docs, it states that arc_min/arc_max have a range of
64M to physical mem. I wonder if there is a minimum amount that a zpool needs
based on number of disks, blocks in pool, number of files... Maybe this is
preventing the smaller memory use.

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


More information about the freebsd-bugs mailing list