From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96075325906596.tru64-unix-managers.marc@archive.invalid> From: mclaughl () nssdc ! gsfc ! nasa ! gov Date: Mon, 11 Dec 1995 19:11:02 +0000 To: tru64-unix-managers Subject: Summary for swap space question X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96075325906596 Thanks to following for responding so quickly and with good advice :) alan@nabeth.cxo.dec.com sheaff@eece.maine.edu aad@nwnet.net VAX::WALPUIN"@mulita.coasin.com.uy rockwell@rch.dec.com jan@nzxray.galen.co.nz Stephane.Branchoux@univ-perp.fr Knut.Hellebo@nho.hydro.com tardell@particle.kth.se merz@telematik.informatik.uni-karlsruhe.de Original Question: > Managers, > > Please excuse me if this a FAQ. One of our > 3000/600 Alpha's complains about not having > enough swap space whenever a cpu-intensive > process is running (even though the processes > should fit into memory). This machine has > 160 MB memory and 320 MB swap space. Here's > the output of "swapon -s": > > > Swap partition /dev/rz3b (default swap): > Allocated space: 40960 pages (320MB) > In-use space: 21268 pages ( 51%) > Free space: 19692 pages ( 48%) > > > Total swap allocation: > Allocated space: 40960 pages (320MB) > Reserved space: 36000 pages ( 87%) > In-use space: 21268 pages ( 51%) > Available space: 4960 pages ( 12%) > > I'm confused about the reserved space. What > reserves this space, the system or processes? > Any help would be greatly appreciated. I will > send a summary. Answers: 1) Run over-commitment (lazy) mode of swapping by removing the /sbin/swapdefault file. I actually did this when we were running OSF v2.x but forgot to delete the link with subsequent upgrades. Thats egg on my face :( 2) Use at least 3X swap space. A few people suggested this which suprised me because I've always used the 2X rule. But will now look at increasing swap space. 3) Check the VSZ "ps output" and see if process is hogging space. Thanks agin for all the timely responces, Steve Mc mclaughl@nssdc.gsfc.nasa.gov