From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,bb81266cf548d9b4 X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-05-27 12:24:35 PST Path: bga.com!news.sprintlink.net!hookup!swrinde!gatech!newsxfer.itd.umich.edu!news.itd.umich.edu!86.12.med.umich.edu!user From: peyton.bland@med.umich.edu (Peyton Bland) Newsgroups: comp.unix.osf.osf1 Subject: Q: swapon command interpretation Followup-To: comp.unix.osf.osf1 Date: 27 May 1994 16:20:31 GMT Organization: Univ. of Mich., Dept. of Radiology Distribution: world Message-ID: NNTP-Posting-Host: 86.12.med.umich.edu We are running OSF/1 V1.3A on a DEC Alpha. The "swapon -s" command gives the following output: Total swap allocation: Allocated space: 76800 pages (600MB) Reserved space: 31085 pages ( 40%) Available space: 45715 pages ( 59%) Swap partition /dev/rz0b: Allocated space: 19200 pages (150MB) In-use space: 6055 pages ( 31%) Free space: 13145 pages ( 68%) Swap partition /dev/rz1b: Allocated space: 19200 pages (150MB) In-use space: 5982 pages ( 31%) Free space: 13218 pages ( 68%) Swap partition /dev/rz2b: Allocated space: 19200 pages (150MB) In-use space: 6001 pages ( 31%) Free space: 13199 pages ( 68%) Swap partition /dev/rz3b: Allocated space: 19200 pages (150MB) In-use space: 5966 pages ( 31%) Free space: 13234 pages ( 68%) Apparently the terms "reserved space" and "in-use space" are different since their values aren't quite the same and the percentages don't match; the same goes for "available space" and "free space". We are using immediate mode swap allocation (ie, the file /etc/swapdefault is linked to /dev/rz0b). This comes up because when we get below 10% on "available space", "free space" might be around 30% - quite a difference. Also any comments about immediate versus deferred mode of allocation are welcomed. It sounds like with immediate that swap pages are allocated and stay allocated for the life of the process, whereas maybe deferred can be viewed as more "dynamic". We are running out of swap; maybe the immediate mode is too conservative. I plan to switch to deferred to see what will happen. I have read the manual, but I'm still not real clear! Thanks, Peyton -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Peyton Bland Digital Image Processing Lab Dept. of Radiology University of Michigan ----------------------------------------------------------- "We all have better moments than anybody ever knows, and so do all the others.... We are a great mystery. Each one of us is a secret, and on that basis we ought to treat each other with the deepest respect." -- Garrison Keillor =-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=-=-=-=-=-=-=-