Page 1 of 1

default arc_size in 1.3.1-RC2

PostPosted: Fri Dec 12, 2014 7:08 am
by dankogai
According to https://openzfsonosx.org/wiki/Performance the default ARC size of O3X is 25% of the physical RAM. It turned out to be false for 1.3.1-RC2. It was 100% - 1GB like FreeBSD. Also the OID is renamed from zfs.arc_max to kstat.zfs.darwin.tunable.zfs_arc_max . I took a liberty to add it to the wiki.

Is there any way to set this on boot? /etc/sysctl.conf does not work on Yosemite…

Dan the O3X Newbie, ZFS user since FreeBSD 7

Re: default arc_size in 1.3.1-RC2

PostPosted: Fri Dec 12, 2014 11:31 am
by ilovezfs
Yes the wiki info applies to the released version not the release candidate.

Default arc maximum (not to be confused with arc size, since ZFS will respond to memory pressure if there is any) is 100% - 3GB (not 100% - 1GB):
https://github.com/openzfsonosx/zfs/blo ... L3923-3930

As for setting the maximum to something else,
viewtopic.php?f=26&t=2115