default arc_size in 1.3.1-RC2

Developer discussions.

default arc_size in 1.3.1-RC2

Postby dankogai » Fri Dec 12, 2014 7:08 am

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
dankogai
 
Posts: 3
Joined: Fri Dec 12, 2014 7:02 am

Re: default arc_size in 1.3.1-RC2

Postby ilovezfs » Fri Dec 12, 2014 11:31 am

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
ilovezfs
 
Posts: 232
Joined: Thu Mar 06, 2014 7:58 am


Return to OpenZFS on OS X Development

Who is online

Users browsing this forum: Google [Bot] and 14 guests