From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,ba89729983c0adfb X-Google-Attributes: gidfee84,public From: ahabig@bigbang.astro.indiana.edu (Alec Habig) Subject: Re: [Q] Process 0 taking up 185M of VSZ Date: 1995/08/09 Message-ID: <40bcuf$jek@usenet.ucs.indiana.edu>#1/1 X-Deja-AN: 107978626 references: <40ar4c$o2i@geraldo.cc.utexas.edu> organization: Indiana University Astrophysics, Bloomington, IN newsgroups: comp.unix.osf.osf1 Yoonsuck Choe 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.