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: Dan.Pop@mail.cern.ch (Dan Pop) Subject: Re: [Q] Process 0 taking up 185M of VSZ Date: 1995/08/10 Message-ID: #1/1 X-Deja-AN: 107907777 sender: news@news.cern.ch (USENET News System) x-nntp-posting-host: ues5.cern.ch references: <40ar4c$o2i@geraldo.cc.utexas.edu> organization: CERN European Lab for Particle Physics newsgroups: comp.unix.osf.osf1 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