From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,52c08f87c157adca X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1993-11-05 13:36:28 PST Newsgroups: comp.unix.osf.osf1 Path: gmd.de!xlink.net!howland.reston.ans.net!noc.near.net!mv!fastball.unimaster.com!cherkus From: cherkus@fastball.unimaster.com (Dave Cherkus) Subject: Re: Swap space Nntp-Posting-Host: cherkus.mv.com References: <2afn8a$6tl@huon.itd.adelaide.edu.au> Sender: usenet@mv.mv.com (Usenet News) Organization: UniMaster, Inc. Date: Fri, 5 Nov 1993 20:44:18 GMT Message-ID: Reply-To: cherkus@UniMaster.COM In article , luchini@ic.ac.uk (Dr Marco Luchini) writes: |> I think it would be fair to point out that OSF is the only major OS to |> allow one to change the swapping strategy. In this way |> "mission-critical" machines can guarantee that they won't crash from |> running out of swap and the rest of us don't need that much swap at all. One counter example is IBM AIX which is always in lazy mode. When it runs out of swap it kills procs that don't catch a certain signal... Thus you are forced to recode critical apps to catch that signal but if you do this to all your critical apps you'll defeat the purpose of the mechanism. |> It is possibly a mistake that factory installed machines come with |> 'eager' swap allocation. It generates a lot of confusion until one gets |> round to reading the Sys Admin manual. The reason has to do with one of the standards (XPG4 or SVID or POSIX, etc.). To comply with the standard, when malloc/sbrk returns success, there must be a page of backing store allocated for the buffer. By changing the configuration, in essence you and not DEC are the one creating non-compliance with the spec... |> In fact swap usage seems to have decreased in general under 1.3 compared |> to 1.2. >From what I've heard, work to reduce memory consumption has been going on since 1.2 and is still going on as we speak for 2.x and later. It's an ongoing battle: for each page you save, someone else is adding new function to consume it... ---- Dave Cherkus UniMaster, Inc. cherkus@unimaster.com