freebsd-dev/sys/cddl
Steven Hartland f535b2d7d8 Allow ZFS ARC min / max to be tuned at runtime
Prior to this change ZFS ARC min / max could only be changed using
boot time tunables, this allows the values to be tuned at runtime
using the sysctls:
* vfs.zfs.arc_max
* vfs.zfs.arc_min

When adjusting ZFS ARC minimum the memory used  will only reduce
to the new minimum given memory pressure.

Reviewed by:	allanjude
Approved by:	re (gjb)
MFC after:	2 weeks
Relnotes:	yes
Sponsored by:	Multiplay
Differential Revision:	https://reviews.freebsd.org/D5907
2016-06-29 07:55:45 +00:00
..
boot/zfs Use netinet/in.h to avoid include/arpa dependency for DIRDEPS_BUILD. 2016-05-26 23:20:17 +00:00
compat/opensolaris Use vnlru_free(9) to implement dnlc_reduce_cache(). 2016-06-17 17:34:28 +00:00
contrib/opensolaris Allow ZFS ARC min / max to be tuned at runtime 2016-06-29 07:55:45 +00:00
dev Set oldfp so the check for fp == oldfp works as expected. 2016-05-31 11:32:09 +00:00