From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,83b08e15234ba4c8,start X-Google-Attributes: gidfee84,public X-Google-Thread: 1164f8,83b08e15234ba4c8,start X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1994-08-18 03:16:11 PST Path: bga.com!news.sprintlink.net!hookup!swrinde!pipex!uknet!signal.dra.hmg.gb!usenet From: jrms@signal.dra.hmg.gb (Jeremy Stark) Newsgroups: comp.sys.dec,comp.unix.osf.osf1 Subject: Virtual Memory Problem? (OSF1) Date: 18 Aug 1994 10:01:51 GMT Organization: DRA Malvern Message-ID: <32vbif$2cs@signal.dra.hmg.gb> Reply-To: jrms@signal.dra.hmg.gb NNTP-Posting-Host: suna.dra.hmg.gb Xref: bga.com comp.sys.dec:5247 comp.unix.osf.osf1:3090 We have a DEC Alpha 3000/400 running OSF1 v2 real-time kernel in 64M real memory and 128M swap and are using Fortran programs to manipulate large data arrays. We have come across problems with the code using up large amounts of virtual memory as well as real memory. We have put the swap area into over-commitment mode in the hope this may help, however it has not. To illustrate the problem we compiled the following small program - program memory integer*4 i_temp real*4 r_temp do i_temp = 1, 1000000 r_temp = r_temp + i_temp end do end We then ran this code and performed a `ps -o VFMT` command and got the following PID TT S TIME SL PAGEIN VSZ RSS %CPU %MEM COMMAND 1032 ?? I 00:00:06 22457 91 1.77M 48K 0.0 0.1 sh /usr/lib/X1 1033 ?? I 00.00.98 785 746 7.63M 280K 0.0 0.4 dxsession 1034 ?? I 00.00.03 22455 57 1.79M 0K 0.0 0.0 sh -c /usr/bin 1038 ?? S 00.05.99 1 722 8.46M 656K 0.0 1.0 /usr/bin/X11/m 2059 ?? I 00.01.18 1109 491 7.52M 64K 0.0 0.1 /usr/bin/X11/d 1808 p1 S 00.00.38 2 384 2.02M 192K 0.0 0.3 - (csh) 2111 p1 R + 00.01.63 0 76 2.27M 264K 38.0 0.4 memory 1069 p3 I 00.00.42 7839 336 2.02M 24K 0.0 0.0 - (csh) Now, according to this the Fortran program "memory" is using 2.27M of virtual memory. Why ?? --------------------------- Steve Clark c/o Jeremy Stark B.Sc. jrms%suna@signal.dra.hmg.gb ---------------------------