Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!qt.cs.utexas.edu!zaphod.mps.ohio-state.edu!think.com!spool.mu.edu!olivea!genie!udel!princeton!newross!samadams!tr
From: tr@samadams.princeton.edu (Tom Reingold)
Newsgroups: comp.sys.att
Subject: Re: Preventing paging/swapping
Message-ID:
Date: 28 Jun 91 19:37:46 GMT
References: <2jhlbwj@rpi.edu>
Sender: news@newross.Princeton.EDU (USENET News System)
Distribution: na
Organization: Princeton University, Dept. of Computer Science
Lines: 25
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."