> On Fri, 14 Jul 2006, Thomas Maier-Komor wrote:

> On the level of a physical page (MMU page), there are
> reference counters 
> but there's no way to say "page XXX is referenced Y
> times - by the 
> following apps: A B C ...". Extracting this
> information requires walking 
> all address spaces in the system. A very expensive
> operation, as you 
> noted, but no way around.
> 
> Hence the question, what do you gain if you know that
> ? Where/when is it 
> useful to have this piece of information ?

Given the number of times I've seen users question 'psrstat -a' output on a 
machine running oracle with a sizeable SGA, I'm sure there's quite a few that 
would like some way to get at least an approximation of memory in use by some 
set of multiple processes that took shareing into account.

Even if it took a while to run and even if it could never be perfect it would 
give information that is difficult to produce today.  I've tried to 
post-process pmap output  for this purpose a couple of times but didn't feel I 
could do it correctly.

--
Darren
 
 
This message posted from opensolaris.org
_______________________________________________
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

Reply via email to