From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,62c80612572b4fe0 X-Google-Attributes: gidfee84,public From: "Stuart Archer" Subject: Re: Forcing OS to use physical memory first Date: 1999/10/29 Message-ID: <7vcfil$j7t$1@nclient13-gui.server.virgin.net>#1/1 X-Deja-AN: 542097895 References: <7v624n$99h$1@nnrp1.deja.com> <941183265.5275.0.nnrp-08.c2deb51d@news.demon.co.uk> X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2918.2701 X-Complaints-To: abuse@virgin.net X-Trace: nclient13-gui.server.virgin.net 941212053 19709 194.168.252.36 (29 Oct 1999 15:47:33 GMT) Organization: Virgin Net Usenet Service X-MSMail-Priority: Normal NNTP-Posting-Date: 29 Oct 1999 15:47:33 GMT Newsgroups: comp.unix.osf.osf1 Adam/scult Doesnt the buffer cache default to (up to) 50% of physical memory as well?? reducing the upper bound on that (dbc_max_percent is it on osf? I cant remember. Arrrrgghhh, too many unixes in the world.!!!!!) should make available a bit more memory (albeit at the expense of I/O caching). Stu. Adam Price wrote in message news:941183265.5275.0.nnrp-08.c2deb51d@news.demon.co.uk... > > schult@ceatlabs.okstate.edu wrote in message <7v624n$99h$1@nnrp1.deja.com>... > >I am running Tru64 5.0. I am running some applications that require > >large amounts of memory (~1GB) I have 512 MB RAM, but the process uses > >up the swap space first and leaves ~50% of the physical memory > >available. I am guessing that this is causing some performance > >issues. Is there a way I can force the process to use more of the > >physical memory? The system is a stand alone workstation and will only > >have this one process running. I am the admin/user/only one using the > >system and have just recently moved into the UNIX world. FWIW I am > >running Matlab's NN toolbox (a notorious memory hog). > > > In versions prior to 5 there is a file /sbin/swapdefault which is a > symbolic link to the default swap space. Remove it and swapping will > change to the other mode (I'm tired I can't remember the names but > eager and lazy seem to spring to mind). In eager mode (/sbin/swapdefault > exists at boot time) then as you request space on the heap, an equivalent > amount of space is allocated in swap so that should it be required you > can always swap out a process. In the other mode swap is allocated when > needed, however this has the drawback that it may be unavailable when > required. > > Hope this helps > Adam > >