From: leclercq@sterling.bro.dec.com (Leclercq Philippe)
Subject: Re: How to change swap allocation policy?
Date: 28 Oct 1994 18:58:17 GMT [thread overview]
Message-ID: <38rhk9$kt9@mrnews.mro.dec.com> (raw)
In-Reply-To: 38p313$kru@spruce.cic.net
In article <38p313$kru@spruce.cic.net>, pauls@locust.cic.net (Paul Southworth) writes:
|>
|>I seem to recall seeing this question here before, but don't recall the
|>answer. Anyway, OSF/1 2.0 on an Alpha 3000-300LX; seems to reserve
|>mountainous quantities of swap pages even though it doesn't use them,
|>and frequently reserves so much that you get those irritating as all hell
|>messages about "below 10%". Is there a way to make it more conservative
|>in its page reservation? We end up running out of swap with 10-15 users
|>reading their mail and running a few xterms on a machine with 64Mb RAM
|>and 128Mb swap. That seems unreasonable to me, even comparing it to
|>a 32-bit machine with half the RAM.
|>
|>--
|>Paul Southworth
|>CICNet Systems Support
|>pauls@cic.net
|>
There are 2 swapping policies in DEC OSF/1 : eager swap and lazy swap.
The default is eager swap : for every task, the system reserves a swap
slot for the writeable pages. This ensures that, when a task is started,
there is a guarantee that it can be entirely swapped out if needed.
Lazy swap policy does not reserve anything in advance, so if you have enough
RAM you will not see swap space usage. The drawback is that, when you
*need* the swap space and there is none left, your application crashes.
The behavior is regulated by the presence or the absence of the file
/sbin/swapdefault. If it is present and is a symbolic link to the
primary swap partition special file, then eager swap is active.
If it is not there, then you have lazy swap.
So, in your case, remove (or better rename) /sbin/swapdefault and
reboot your machine.
-Philippe
Digital Brussels
prev parent reply other threads:[~1994-10-28 18:58 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1994-10-27 20:36 How to change swap allocation policy? Paul Southworth
1994-10-28 18:58 ` Leclercq Philippe [this message]
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