Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: murphy@dco.dec.com (Rick Murphy)
Subject: Re: OSF/1 Alpha swap space, memory pigs
Date: Tue, 31 Aug 1993 14:00:43 GMT	[thread overview]
Message-ID: <1993Aug31.140043.8719@decuac.dec.com> (raw)
In-Reply-To: anthony.746771254@eden-valley


In article <anthony.746771254@eden-valley>, anthony@aaii.oz.au (Anthony Baxter) 
writes:
>I had the same problem. I fixed (?) it by doing as people here suggested,
>and removing '/sbin/swapdefault' - this puts it into 'swap overcommitment
>mode', which from my reading of it, means it will behave like any other
>unix when it gets low on swap... this is fine by me. Perhaps someone in
>the know can explain what 'swap overcommitment mode' means, exactly?

In the default `eager' mode, swap space is allocated whenever virtual address
space is created. This pre-allocation of swap space - especially when there's
adequate physical memory - is quite consumptive of swap space. 

By removing the /sbin/swapdefault link and rebooting, you switch to `lazy'
swap mode; swap space is allocated only when the pages are about to be
swapped out.

The down side is that if the kernel can't allocate space to swap a chosen
process, that process gets killed. You avoid this problem by making sure
there's enough swap space. The default behavior was chosen to be the more
conservative approach.
	-Rick
-- 
Rick Murphy, WA1SPT/4			Washington Federal Programs Office
Domain:  murphy@dco.dec.com		 Technical Support Group
Bang:    decwrl!burfle.enet!murphy	This posting expresses MY opinions only;
Ding:    301-306-2040.			 I do not speak for Digital.


  reply	other threads:[~1993-08-31 14:00 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1993-08-27 21:44 OSF/1 Alpha swap space, memory pigs Dirk Grunwald
1993-08-27 22:10 ` Ingres (academic version) on Ultrix ? Andrew Yang
1993-08-28 16:56 ` OSF/1 Alpha swap space, memory pigs Ron Natalie
1993-08-30 12:45 ` Joe Smith
1993-08-30 14:05 ` Dave Hill
1993-08-30 15:35 ` Jeff Donsbach
1993-08-31  4:27 ` Anthony Baxter
1993-08-31 14:00   ` Rick Murphy [this message]
1993-08-31 11:25 ` Jari Tavi
1993-08-31 13:00   ` Robert Gillen
1993-09-01  3:31   ` Dirk Grunwald
1993-09-01 15:34     ` Fred Velijanian
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