Discussion:
Limiting ZFS ARC Size?
(too old to reply)
Bob Willcox
2018-06-18 16:24:19 UTC
Permalink
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.

***@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 ***@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?
***@immure.com | Breakfast in London, dinner in New York,
Austin, TX | luggage in Brazil.
Frank Leonhardt
2018-06-18 17:01:11 UTC
Permalink
Post by Bob Willcox
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
2018-06-18 17:04:11 UTC
Permalink
https://wiki.freebsd.org/ZFSTuningGuide
Post by Frank Leonhardt
Post by Bob Willcox
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.
_______________________________________________
https://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "
--
Eric Wayte
Loading...