Matt Cohen wrote: > We have a 32 GB RAM server running about 14 zones. There are multiple > databases, application servers, web servers, and ftp servers running in the > various zones. > > I understand that using ZFS will increase kernel memory usage, however I am a > bit concerned at this point. > > [EMAIL PROTECTED]:~/zonecfg #mdb -k > > Loading modules: [ unix krtld genunix specfs dtrace uppc pcplusmp ufs md mpt > ip indmux ptm nfs ] > > ::memstat > Page Summary Pages MB %Tot > ---- > Kernel 4108442 16048 49% > Anon 3769634 14725 45% > Exec and libs 9098 35 0% > Page cache 29612 115 0% > Free (cachelist) 99437 388 1% > Free (freelist) 369040 1441 4% > > Total 8385263 32754 > Physical 8176401 31939 > > Out of 32GB of RAM, 16GB is being used by the kernel. Is there a way to find > out how much of that kernel memory is due to ZFS? >
The size of the ARC (cache) is available from kstat in the zfs module (kstat -m zfs). Neel wrote a nifty tool to track it over time called arcstat. See http://www.solarisinternals.com/wiki/index.php/Arcstat Remember that this is a cache and subject to eviction when memory pressure grows. The Solaris Internals books have more details on how the Solaris virtual memory system works and is recommended reading. -- richard > It just seems an excessively high amount of our memory is going to the > kernel, even with ZFS being used on the server. > > > This message posted from opensolaris.org > _______________________________________________ > zfs-discuss mailing list > zfs-discuss@opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss > _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss