From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,fbb819585c5b50fa X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1995-02-10 18:47:52 PST Path: nntp.gmd.de!dearn!esoc!linuxed1!peernews.demon.co.uk!news.sprintlink.net! howland.reston.ans.net!news.moneng.mei.com!uwm.edu!news.doit.wisc.edu!caspar.che.wisc.edu!user From: saunders@castor.che.wisc.edu (Brian Saunders) Newsgroups: comp.unix.osf.osf1 Subject: Re: swapon -s - TOTAL % ???? Date: Fri, 10 Feb 1995 20:47:52 -0600 Organization: University of Wisconsin-Madison Distribution: world Message-ID: References: <3he67n$ju4@dekalb.DC.PeachNet.EDU> NNTP-Posting-Host: caspar.che.wisc.edu X-Newsreader: Value-Added NewsWatcher 2.0b24.0+ 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