[comp.sys.att] Preventing paging/swapping

night@aix01.aix.rpi.edu (Trip Martin) (06/29/91)

Does anyone know of a way to prevent a 3b2 from swapping and paging?
Either locking pages in memory or turning off swapping completely 
is acceptable (although the latter is preferred).  I'm going to
be using a dedicated machine for an application which will be
using most of real memory, and performance constraints requires
that swapping not occur.

Any pointers would be appreciated.
-- 
Trip Martin
night@rpi.edu
-- 
Trip Martin
night@rpi.edu

tr@samadams.princeton.edu (Tom Reingold) (06/29/91)

night@aix01.aix.rpi.edu (Trip Martin) writes:

$ Does anyone know of a way to prevent a 3b2 from swapping and paging?
$ Either locking pages in memory or turning off swapping completely 
$ is acceptable (although the latter is preferred).  I'm going to
$ be using a dedicated machine for an application which will be
$ using most of real memory, and performance constraints requires
$ that swapping not occur.

My suggestions are so basic that I fear I may not understand your
question.

Anyway, the two techniques are

	1. buy more memory.  At some level of memory, you won't ever
	page or swap.

	2. Set the sticky bit on your application.  This can decrease
	system performance if it leaves insufficient memory for other
	essential processes.
--
        Tom Reingold
        tr@samadams.princeton.edu  OR  ...!princeton!samadams!tr
        "Warning: Do not drive with Auto-Shade in place.  Remove
        from windshield before starting ignition."