From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,f9235417970137c6,start X-Google-Attributes: gidfee84,public From: "Jeff Shervey" Subject: Swapon - Deferred vs. immediate swapping Date: 1997/02/03 Message-ID: <01bc11f5$93abf0b0$f9ef1bac@usbgrjeff>#1/1 X-Deja-AN: 214157695 organization: Landis & Staefa newsgroups: comp.unix.osf.osf1 We have a Alpha-2100 5/250 (2 processors) with 1 GB of Ram. We were using the default immediate swapping method that seemed to eat up tremendous amounts of swap file space (> 1GB). Memory always seemed to be used up - it always seemed to be around 400 pages free. We seemed to have problems with the machine appearing to stall for a couple of seconds every now and then. While typing the cursor would freeze and then let go...and CPU usage didn't appear to be a factor. It even did this on the console so the IP network was eliminated. A DEC friend of ours told us that we should probably use the Deferred swapping methodology. We tried it and things appear to be much better. We seem to have plenty of free memory and our swap file usage is 0%. What swapping method do other large memory UNIX alpha servers use? Were still running UNIX 3.2c with a ton of Oracle financial databases. There probably is about 400+ processes running on this machine via a ps -ef command. Also have HSZ-40 with 32 MB write-back cache. Jeff Shervey (jeff.shervey@us.landisstaefa.com) Virtual Memory Statistics: (pagesize = 8192) procs memory pages intr cpu r w u act free wire fault cow zero react pin pout in sy cs us sy id 3474 17 100K 6921 20K 1M 111K 359K 12K 124K 153 49 339 465 4 1 96 3474 17 100K 6801 20K 632 15 601 0 11 0 34 211 453 1 5 94 3474 17 100K 6801 20K 473 0 473 0 0 0 52 79 413 1 4 95 3474 17 100K 6797 20K 693 0 477 0 1 0 145 316 714 2 5 93 3474 17 100K 6797 20K 473 0 473 0 0 0 44 189 448 1 5 94 4473 17 100K 6797 20K 473 0 473 0 0 0 90 92 502 1 5 95 # swapon -s Swap partition /dev/rz0b: Allocated space: 117641 pages (919MB) In-use space: 279 pages ( 0%) Free space: 117362 pages ( 99%) Swap partition /dev/rz14c: Allocated space: 256905 pages (2007MB) In-use space: 250 pages ( 0%) Free space: 256655 pages ( 99%) Total swap allocation: Allocated space: 374546 pages (2926MB) In-use space: 529 pages ( 0%) Available space: 374017 pages ( 99%) # -- These comments do not necessarily reflect the views of Landis & Staefa, Inc.