Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: ahabig@bigbang.astro.indiana.edu (Alec Habig)
Subject: Re: [Q] Process 0 taking up 185M of VSZ
Date: 1995/08/09	[thread overview]
Message-ID: <40bcuf$jek@usenet.ucs.indiana.edu> (raw)
In-Reply-To: 40ar4c$o2i@geraldo.cc.utexas.edu

Yoonsuck Choe <yschoe@bullwinkle.che.utexas.edu> wrote:
>
>I have a DEC alpha 3000/400 with DEC OSF/1 V3.2 (32M physucal mem), 
>which is extremely slow these days.
>
>It seems that it continuously swaps in and swaps out pages
>when I run a large (about 30 to 40M) program.

Well, yes - (32M real memory - 40 MB application) = at least 8MB of swapping,
even with nothing else (including the system) going on.

>The swapping starts when RES goes over 15M.

Ok.  So your system stuff is taking up about 17MB, which seems fair.

>I found that the process 0 was taking up 185M of VSZ (ps augx):
>
>USER       PID %CPU %MEM   VSZ  RSS TTY      S  STARTED  TIME     COMMAND
>root         0  0.0 51.8  185M  325 ??       R < Jul 13  01:23:32 [kernel
>								   idle]
>It is not taking up a large real memory (325) though.

The kernel claims to be taking up all your swap space+, all the time.  It's not
really doing that of course, that's just the way it talks to ps.  For example,
on my machine w/128MB RAM, here's what it says :

  PID USER       VSZ  RSS %MEM        TIME COMMAND
    0 root      289M  119  8.6     0:33.08 [kernel idle]

>Can this be related to the slow-down?
>If not, what should I do to diagmose this problem?

Don't try to run executables bigger than your physical RAM and not expect
swapping!

Something that would help - don't run anything else (especially X) while
running your big program.  It'll still swap, of course, but hopefully not so
much. 

	Alec

-- 
	    Alec Habig, Indiana University High Energy Astrophysics
		       ahabig@bigbang.astro.indiana.edu
	      http://astrowww.astro.indiana.edu/personnel/ahabig/
	    Ted Kennedy's car has killed more people than my guns.



  reply	other threads:[~1995-08-09  4:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-08-09  4:00 [Q] Process 0 taking up 185M of VSZ Yoonsuck Choe
1995-08-09  4:00 ` Alec Habig [this message]
1995-08-10  4:00 ` Mark Charette
1995-08-10  4:00 ` Dan Pop
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox