From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,b735a9c16a8ece8 X-Google-Attributes: gid1164f8,public X-Google-Thread: fee84,b735a9c16a8ece8 X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1993-08-31 07:11:16 PST Xref: gmd.de comp.sys.dec:9816 comp.unix.osf.osf1:944 Newsgroups: comp.sys.dec,comp.unix.osf.osf1 Path: gmd.de!newsserver.jvnc.net!udel!darwin.sura.net!haven.umd.edu!decuac!dco.dec.com!murphy From: murphy@dco.dec.com (Rick Murphy) Subject: Re: OSF/1 Alpha swap space, memory pigs Message-ID: <1993Aug31.140043.8719@decuac.dec.com> Sender: murphy@burfle.dco.dec.com (Rick Murphy) Nntp-Posting-Host: server.cop.dec.com Reply-To: murphy@dco.dec.com Organization: Digital Equipment Corporation, Greenbelt MD X-Newsreader: mxrn 6.18-6 References: Date: Tue, 31 Aug 1993 14:00:43 GMT In article , 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.