Fajar A. Nugraha wrote:
On Wed, May 6, 2009 at 1:08 PM, Troy Nancarrow (MEL)
<troy.nancar...@foxtel.com.au> wrote:
So how are others monitoring memory usage on ZFS servers?
I think you can get the amount of memory zfs arc uses with arcstat.pl.
http://www.solarisinternals.com/wiki/index.php/Arcstat
arcstat is a perl script which reads the ARC kstats (mainly because there
is a nifty perl module which reads kstats, which is why /usr/bin/kstat is
written in perl). You can always do similar.
IMHO it's probably best to set a limit on ARC size and treat it like
any other memory used by applications.
There are a few cases where this makes sense, but not many. The ARC
will shrink, as needed. With the new write throttle, the perception of
ARC dominance is significantly reduced. The main reason to limit ARC
today, is to prevent the large page/small page change that can happen if
you need to restart a large-page using application (eg databases).
-- richard
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss