On Thu, 7 May 2009, Moore, Joe wrote:
Carson Gaspar wrote:
Not true. The script is simply not intelligent enough. There are really
3 broad kinds of RAM usage:
A) Unused
B) Unfreeable by the kernel (normal process memory)
C) Freeable by the kernel (buffer cache, ARC, etc.)
Monitoring usually should focus on keeping (A+C) above some threshold.
On Solaris, this means parsing some rather obscure kstats, sadly (not
that Linux's /proc/meminfo is much better).
B) is freeable but requires moving pages to spinning rust. There's
a subset of B (Call it B1) that is the active processes' working
sets which are basically useless to swap out, since they'll be
swapped right back in again.
Yes. Solaris memory use is much more complex than can be described by
simple A, B, C. Using pmap on a running process reveals this
complexity, yet this only shows the complexity from a process's view,
and excludes usages such as zfs ARC.
Bob
--
Bob Friesenhahn
bfrie...@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer, http://www.GraphicsMagick.org/
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss