ZFS: Disabling ARC?

Bob Friesenhahn bfriesen at simple.dallas.tx.us
Mon Aug 3 13:43:27 UTC 2015


On Mon, 3 Aug 2015, Quartz wrote:

>> If you are really worried about the ARC hogging RAM, then set a cap.
>> The kernel tunables here are:
>
> I'm not worried about it hogging ram per se, but rather I'm a little confused 
> about where and when it helps, where it's useless or detrimental (if ever), 
> and consequently I don't really know when I should tune it or what to tune it 
> *to*.
>
> Basically, my question is the subject line of this thread: is there ever a 
> reason to attempt to disable ARC, and what would that situation probably look 
> like?

ARC is intrinsic to the design of zfs and so it can not be entirely 
disabled.  Without caching, zfs would perform terribly, and some 
caching is needed in order for transaction groups to work.  The types 
of data (data/metadata) cached in the ARC are tunable on a filesystem 
basis.

If you do not encounter a problem, then you should not worry about it. 
The whole point of the ARC algorithm is that it self-tunes itself to 
meet available resources and requirements.

Bob
-- 
Bob Friesenhahn
bfriesen at simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/


More information about the freebsd-fs mailing list