Re: [perf-discuss] Sol10 Leak memory

2009-03-09 Thread m...@bruningsystems.com
Hi Elkhaoul, elkhaoul elkhaoul wrote: Thanks Chad, It seems that it will not return memory to applications, in fact, when the kernel/buffer cache use the all memory, Applications use swap and The scan rate is very high : sar -g 3 ==> pgscan/s = 5264 Now, I have this : ### top last pi

Re: [perf-discuss] Sol10 Leak memory

2009-03-09 Thread m...@bruningsystems.com
elkhaoul elkhaoul wrote: > ** *Is this any tools to know who use the big portion of RAM ?* > ** *Thanks in advance > * > Have you tried: echo "::memstat" | mdb -k Do this a few times over some interval to see if the kernel is growing. Is there a reason you

Re: [perf-discuss] Memory Statistics

2009-03-28 Thread m...@bruningsystems.com
Hi Ben, Ben Rockwood wrote: I'm curious as to why memory statistics seems to be very difficult to be accurate about. If you use kstats, mdb ::memstat, and add up VSZ/RSS from ps, you get numbers that are different, although close. Can anyone shed some light on why this is? I'm assumed that ::m

Re: [perf-discuss] Memory Statistics

2009-03-29 Thread m...@bruningsystems.com
Hi Jim, Jim Mauro wrote: I've often struggled with this. Memory observabilty is kind of a gap in Solaris today. DTrace is great for tracking active memory allocations and frees, but often all you want is a memstat-like snapshot. kstats get you close to that, but lack the granularity of memstat

Re: [perf-discuss] Memory Statistics

2009-03-29 Thread m...@bruningsystems.com
Hi Ben, Ben Rockwood wrote: m...@bruningsystems.com wrote: Hi Ben, Ben Rockwood wrote: I'm curious as to why memory statistics seems to be very difficult to be accurate about. If you use kstats, mdb ::memstat, and add up VSZ/RSS from ps, you get numbers that are different, alt

Re: [perf-discuss] Memory Statistics

2009-03-30 Thread m...@bruningsystems.com
Hi Jim, Jim Mauro wrote: mdb's memstat is cool in how it summarizes things, but it takes a very long time to run on large systems. memstat is walking page lists, so it should be quite accurate. If you can live with the run time of ::memstat, it's currently your best bet for memory accounting. I

Re: [perf-discuss] [mdb-discuss] Memory Statistics

2009-03-30 Thread m...@bruningsystems.com
Responding to myself... m...@bruningsystems.com wrote: Hi Jim, Jim Mauro wrote: mdb's memstat is cool in how it summarizes things, but it takes a very long time to run on large systems. memstat is walking page lists, so it should be quite accurate. If you can live with the run ti

Re: [perf-discuss] Memory Statistics

2009-03-31 Thread m...@bruningsystems.com
And I've blogged about it at http://mbruning.blogspot.com/2009/03/faster-memstat-for-mdb.html max Ben Rockwood wrote: m...@bruningsystems.com wrote: Hi Jim, Jim Mauro wrote: mdb's memstat is cool in how it summarizes things, but it takes a very long time to run on lar

Re: [perf-discuss] [sysadmin-discuss] [dtrace-discuss] Who're stealing memory ?

2009-11-20 Thread m...@bruningsystems.com
Hi Jim, Jim Mauro wrote: Back to memory consumers. We have; - The kernel - User processes - The file system cache (which is technically part of the kernel, but significant enough such that it should be measured seperately. tmpfs (i.e., /tmp, /var/run, and /etc/svc/volatile on my system) also