Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: "Adam Price" <adam+usenet@pappnase.demon.co.uk>
Subject: Re: Forcing OS to use physical memory first
Date: 1999/10/29	[thread overview]
Message-ID: <941183265.5275.0.nnrp-08.c2deb51d@news.demon.co.uk> (raw)
In-Reply-To: 7v624n$99h$1@nnrp1.deja.com


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





  reply	other threads:[~1999-10-29  4:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-10-27  4:00 Forcing OS to use physical memory first schult
1999-10-29  4:00 ` Adam Price [this message]
1999-10-29  4:00   ` Stuart Archer
  -- strict thread matches above, loose matches on Subject: below --
1999-10-27  4:00 schult
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox