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: "Adam Price" Subject: Re: Forcing OS to use physical memory first Date: 1999/10/29 Message-ID: <941183265.5275.0.nnrp-08.c2deb51d@news.demon.co.uk>#1/1 X-Deja-AN: 541968851 X-NNTP-Posting-Host: pappnase.demon.co.uk:194.222.181.29 References: <7v624n$99h$1@nnrp1.deja.com> X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 X-Complaints-To: abuse@demon.net X-Trace: news.demon.co.uk 941183265 nnrp-08:5275 NO-IDENT pappnase.demon.co.uk:194.222.181.29 Newsgroups: comp.unix.osf.osf1 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