home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.sys.sun.apps:2513 comp.windows.x:19302 comp.unix.ultrix:8390 comp.unix.admin:6259
- Newsgroups: comp.sys.sun.apps,comp.windows.x,comp.unix.ultrix,comp.unix.admin
- Path: sparky!uunet!stanford.edu!leland.Stanford.EDU!genome!mosedale
- From: mosedale@genome.stanford.ed (Dan Mosedale)
- Subject: Re: Why is xload such a memory pig?
- In-Reply-To: jpiquer@dcc.uchile.cl's message of Thu, 12 Nov 1992 19:02:54 GMT
- Message-ID: <1992Nov18.202853.7625@leland.Stanford.EDU>
- Sender: news@leland.Stanford.EDU (Mr News)
- Organization: Yeast Genome Project, Stanford University, Stanford, CA
- 94305-5120
- References: <1992Nov11.223350.18090@leland.Stanford.EDU>
- <1992Nov12.023124.871@mnemosyne.cs.du.edu>
- <1992Nov12.190254.24366@dcc.uchile.cl>
- Date: Wed, 18 Nov 92 20:28:53 GMT
- Lines: 27
-
- >>>>> On Thu, 12 Nov 1992 19:02:54 GMT, jpiquer@dcc.uchile.cl (Jo Piquer) said:
- > In article <1992Nov12.023124.871@mnemosyne.cs.du.edu>, (Ian Hastie) writes:
-
- >> OK... I may be being stupid here, but as far as I understand it a
- >> programs RSS should always be smaller than it's SZ. At least surely
- >> it should not be bigger since this implies that the resident portion
- >> is bigger than the total size of the process. Is there really
- >> something wierd going on or is it just that ps work differently on
- >> Suns in this respect from the way it does on DEC's boxes??
- >
- > It's typical in Sun OS4.x, it is due to the shared libs, they are
- > counted for RSS but not for the SZ. xload includes a big part of the libX11
- > and libc.
-
- Aha. Now things are starting to make sense. This seems to make RSS a
- moderately useless statistic, however: if there are 6 xloads running,
- each with an RSS of about 1 meg, the total (actual) RSS of all the
- xloads will be much less than 6 megs.
-
- Does anyone know the rational behind this decision? More importantly,
- I guess, is there any way to access the "real" RSS of a process? Does
- sps do this?
-
- Thanks,
- Dan Mosedale
-
- mosedale@genome.stanford.edu
-