From: saunders@castor.che.wisc.edu (Brian Saunders)
Subject: Re: swapon -s - TOTAL % ????
Date: Fri, 10 Feb 1995 20:47:52 -0600 [thread overview]
Message-ID: <saunders-1002952047520001@caspar.che.wisc.edu> (raw)
In-Reply-To: 3he67n$ju4@dekalb.DC.PeachNet.EDU
In article <3he67n$ju4@dekalb.DC.PeachNet.EDU>,
douglas@dekalb.DC.PeachNet.EDU (Douglas Jones) wrote:
> In-use space: 2836 pages ( 11%)
> In-use space: 2663 pages ( 15%)
> Total swap allocation:
> Allocated space: 42177 pages (329MB)
> Reserved space: 8150 pages ( 19%)
> In-use space: 5499 pages ( 13%)
> Available space: 34027 pages ( 80%)
> So, any ideas? I have been assuming all along that the total was an average
> of the others. Is it wieghted somehow?
Sure. If you average 11 and 15, you get 13. However, not all space that
isn't used isn't available, because their is additional space that is
reserved, but not yet used. This is the default or "eager" method of
swap allocation. Read about the difference between this and the deferred
(or "lazy") mode of swap allocation.
BTW, I went to the lazy method, and found that it saved me a lot of
necessary disk space used for swapping. With the reserved, our system
needed around 2.5 times the physical memory for swap to avoid the error
messages (this was under version 1.3). I switched to lazy, and we have
yet to use the same swap space as physical memory (though I have twice
that allocated).
--
Brian E. Saunders saunders@castor.che.wisc.edu
next prev parent reply other threads:[~1995-02-11 2:47 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1995-02-09 22:50 swapon -s - TOTAL % ???? Douglas Jones
1995-02-10 8:42 ` Volker Hejny
1995-02-11 2:47 ` Brian Saunders [this message]
[not found] <3he67n$ju4@dekalb.dc.peachnet.edu>
1995-02-10 15:18 ` Stefan Monnier
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