On 08/06/09 14:28, Matt Ingenthron wrote:
If ZFS is not beinng used significantly, then ARC
should not grow. ARC grows
based on the usage (ie. amount of ZFS files/data
accessed). Hence, if you are
sure that the ZFS usage is low, things should be
fine.
I understand that it won't grow, but I want it to be smaller than the default.
Like I said, I have a use case where I would like to pre-allocate as many large
pages as possible. How can I constrain or shrink it before I start my other
applications?
Thanks in advance,
- Matt
p.s.: I just found there may not be any large pages on domUs, so maybe it
doesn't matter so much
Hi Matt!
Besides the /etc/system, you could also export all the pools, use mdb to
set the same variable that /etc/system sets, and then import the pools
again. Don't know of any other mechanism to limit ZFS's memory foot print.
If you don't do ZFS boot, manually import the pools after the
application starts, so you get your pages first.
Steffen
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss