* [Q] Process 0 taking up 185M of VSZ
@ 1995-08-09 4:00 Yoonsuck Choe
1995-08-09 4:00 ` Alec Habig
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Yoonsuck Choe @ 1995-08-09 4:00 UTC (permalink / raw)
Dear DEC alpha,OSF/1 gurus:
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.
The swapping starts when RES goes over 15M.
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.
Can this be related to the slow-down?
If not, what should I do to diagmose this problem?
In hope if this can be any help in analysing this problem, I will
attach this here (vmstat):
Virtual Memory Statistics: (pagesize = 8192)
procs memory pages intr cpu
r w u act free wire fault cow zero react pin pout in sy cs us sy id
3 71 14 2809 128 4119 45M 1M 24M 5M 16M 297K 45 124 283 30 2 68
Thank you!
--
VSZ Process virtual address size
RSS Real memory (resident set) size of the process (in 1024 byte units)
--
Yoonsuck Choe
yschoe@che.utexas.edu
--
Yoonsuck Choe
yschoe@che.utexas.edu
yschoe@cs.utexas.edu
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: [Q] Process 0 taking up 185M of VSZ
1995-08-09 4:00 [Q] Process 0 taking up 185M of VSZ Yoonsuck Choe
@ 1995-08-09 4:00 ` Alec Habig
1995-08-10 4:00 ` Dan Pop
1995-08-10 4:00 ` Mark Charette
2 siblings, 0 replies; 4+ messages in thread
From: Alec Habig @ 1995-08-09 4:00 UTC (permalink / raw)
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.
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: [Q] Process 0 taking up 185M of VSZ
1995-08-09 4:00 [Q] Process 0 taking up 185M of VSZ Yoonsuck Choe
1995-08-09 4:00 ` Alec Habig
@ 1995-08-10 4:00 ` Dan Pop
1995-08-10 4:00 ` Mark Charette
2 siblings, 0 replies; 4+ messages in thread
From: Dan Pop @ 1995-08-10 4:00 UTC (permalink / raw)
In <40ar4c$o2i@geraldo.cc.utexas.edu> yschoe@bullwinkle.che.utexas.edu (Yoonsuck Choe) writes:
>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.
>The swapping starts when RES goes over 15M.
>
>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.
I disagree. Look at the %MEM field. You can ignore the VSZ and RSS
fields, process 0 is not a real process. But the kernel does use (a lot
of) physical memory.
>Can this be related to the slow-down?
No.
>If not, what should I do to diagmose this problem?
There is very little you can do if you want to run a 40M program on an
OSF/1 system with 32M of RAM. Either reduce the size of your program
or increase the size of your RAM. The only magic solution is to keep
all your memory references local, if possible.
Dan
--
Dan Pop
CERN, CN Division
Email: Dan.Pop@mail.cern.ch
Mail: CERN - PPE, Bat. 31 R-004, CH-1211 Geneve 23, Switzerland
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Q] Process 0 taking up 185M of VSZ
1995-08-09 4:00 [Q] Process 0 taking up 185M of VSZ Yoonsuck Choe
1995-08-09 4:00 ` Alec Habig
1995-08-10 4:00 ` Dan Pop
@ 1995-08-10 4:00 ` Mark Charette
2 siblings, 0 replies; 4+ messages in thread
From: Mark Charette @ 1995-08-10 4:00 UTC (permalink / raw)
Yoonsuck Choe (yschoe@bullwinkle.che.utexas.edu) wrote:
: Dear DEC alpha,OSF/1 gurus:
: 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.
: The swapping starts when RES goes over 15M.
Let's see. You have 32Mb of real memory, you run a program that needs 30-40Mb,
and complain that it pages. Another 32 Mb sounds good. Then we can try tuning.
I make it a policy never to work on Alphas with less than 48Mb, with 64Mb
being a much more realistic value. This may change in the near future (with
Digital Unix 4.0), but for now (under 1.3-3.2c) it seems to hold. Since I
get paid by the hour & don't want to cheat my customers, I tell my customers
it's cheaper to add the memory than it is to pay me for twiddling my thumbs ;^)
--
Mark Charette charette@mika.com
MIKA Systems, Inc
17197 N. Laurel Park Dr Suite 115
Livonia, MI 48152
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1995-08-10 4:00 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-08-09 4:00 [Q] Process 0 taking up 185M of VSZ Yoonsuck Choe
1995-08-09 4:00 ` Alec Habig
1995-08-10 4:00 ` Dan Pop
1995-08-10 4:00 ` Mark Charette
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox