From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,2d7af2527a801452,start X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1993-08-07 08:27:56 PST Newsgroups: comp.unix.osf.osf1 Path: gmd.de!xlink.net!sol.ctr.columbia.edu!math.ohio-state.edu!wupost!usc!elroy.jpl.nasa.gov!decwrl!olivea!sgigate!sgiblab!rpal.rockwell.com!headwall.Stanford.EDU!nntp.Stanford.EDU!dhinds From: dhinds@leland.Stanford.EDU (David Hinds) Subject: Memory utilization goofiness Message-ID: <1993Aug6.205716.5161@leland.Stanford.EDU> Sender: news@leland.Stanford.EDU (Mr News) Organization: DSG, Stanford University, CA 94305, USA Date: Fri, 6 Aug 93 20:57:16 GMT We have an AXP 3000/400 system with 32MB of memory and a small (400MB) hard drive, running OSF/1 1.2. The hard drive came partitioned with 47MB of swap space. I realize this is a very limited configuration, but this machine was intended to be mainly a compute server. With only the usual system processes running, logging in and opening a few Xterm's is enough to trigger "swap space below 10 percent free" messages. And I can't figure out where all this memory is going. According to 'ps', the minimum virtual size of a process seems to be about 8MB. When I start to have trouble, the sum of all the process resident set sizes, including the kernel, is about 20MB. According to 'swapon -s', there is a lot of swap space 'Reserved' but not 'In-use'. When I run 'syd' and monitor swap space and memory usage, and start a few extra processes (like, say, do 'man ls'), 'freeswp' plummets, but 'freemem' sits up around 11MB. So: what's with these huge virtual sizes under OSF/1? Do they not mean the same thing they mean on other systems? Do they maybe include the sizes of any shared libraries? They don't seem to commit corresponding amounts of swap space, though the system does reserve at least some swap space that isn't actively in use. And why isn't OSF/1 utilizing all available memory? I would have thought that 32MB would be enough space to get plenty of work done without touching swap. -- David Hinds dhinds@allegro.stanford.edu