On Tue, 2010-02-02 at 18:32 -0700, John Denker wrote:

<snipped>

> 
> The number I'm discussing is the "RES" number reported
> by top(1).


Don't forget this takes into account all the shared libraries and file
caches and 
what the operating system will allow as a working set, it's not truly
indicative of
the impact a single process has on the system.

A more interesting portion would be the .bss heap size as this, I would
guess,
be updated a lot and is more fragmented (causing more groups of pages
being
paged in/out). The .text portion is read-only and can be read back in
easily as it
has a consistent usage pattern. 

Use the little known pmap command to get better numbers;


pmap <pid> | egrep "(heap)|(private)"





**********************************************************************
This message is intended for the addressee named and may contain
privileged information or confidential information or both. If you
are not the intended recipient please delete it and notify the sender.
**********************************************************************
------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to