Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Limiting ZFS ARC Size?

1 view
Skip to first unread message

Bob Willcox

unread,
Jun 18, 2018, 12:49:10 PM6/18/18
to
Is there a way to limit the size of the ZFS ARC cache? I am running a
12-current system with 32GB of memory and the ZFS ARC grows to a hughe size,
to the point where my running processes (such as firefox) start page
thrashing.

bob@tavion:13 /home/bob> uname -a
FreeBSD tavion.austin.ibm.com 12.0-CURRENT FreeBSD 12.0-CURRENT #3 r335222: Fri Jun 15 13:40:49 CDT 2018 b...@tavion.austin.ibm.com:/usr/obj/usr/src/amd64.amd64/sys/TAVION amd64

I would like to be able to limit how much memory ZFS grabs for this cache?

Thanks for any help/pointers!

Bob

--
Bob Willcox | Isn't air travel wonderful?
b...@immure.com | Breakfast in London, dinner in New York,
Austin, TX | luggage in Brazil.
_______________________________________________
freebsd-...@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questi...@freebsd.org"

Frank Leonhardt

unread,
Jun 18, 2018, 1:04:39 PM6/18/18
to
On 2018-06-18 17:24, Bob Willcox wrote:
> Is there a way to limit the size of the ZFS ARC cache? I am running a
> 12-current system with 32GB of memory and the ZFS ARC grows to a hughe
> size,
> to the point where my running processes (such as firefox) start page
> thrashing.

The sysctl variables vfs.zfs.arc_min and vfs.zfs.arc_max may very well
be what you're looking for.

Regards, Frank.

Eric Wayte

unread,
Jun 18, 2018, 1:08:15 PM6/18/18
to
0 new messages