From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,cbd8548c84324b9a X-Google-Attributes: gid1164f8,public From: cherkus@unimaster.com (Dave Cherkus) Subject: Re: Swappage death on an Alphastation, DEC UNIX 3.2 Date: 1995/07/12 Message-ID: <3tv894$3nr@synergy.Destek.Net>#1/1 X-Deja-AN: 105998807 references: <3tno39$jil@agate.berkeley.edu> organization: The Destek Group, Inc. newsgroups: comp.sys.dec Peter Mardahl (peterm@landau.EECS.Berkeley.EDU) wrote: : Hello all, : Maybe you can help me avoid a truly horrendous condition which : sometimes occurs on our Alphastations. These guys have 64M of : RAM, 192M of swap, and are running DEC UNIX 3.2. : Sometimes, when we have several large processes (RAM intensive) : going, it goes into swappage death mode. Basically the system : entirely halts and the hard disk is really beaten on, until the : person on the console kills a few things. : This is really understandable if all the large processes are running, : but several of them should be inactive and should quietly swap out. : They don't. : vmstat and swapon -s both claim that the machine has plenty of : swap space left. : The workstations aren't nearly so nice if the big inactive jobs : don't get swapped out. : Can anyone give some advice? First, the amount of swap space is not related to performance. Either there is enough to cover the needs of the working set of the system or there is not. If there is not enough, either malloc()/sbrk() will fail (eager mode), or processes will get killed to make more space (lazy mode). The number of pages in the free list, as reported by 'vmstat 5' is a real indicator of overcommitment of memory. Second, you might want to read the man page for 'swapon' to see if you want to run in 'lazy mode'. Third, there is a performance tuning guide in the doc set. This can tell you about a number of knobs to play with in /etc/sysconfigtab. One set posted to the alpha-osf-managers mailing list was: vm: ubc-minpercent = 5 ubc-borrowpercent = 25 ubc-maxpercent = 100 vm-ubcseqpercent = 10 vm-ubcseqstartpercent = 40 vm-ubcpagesteal = 32 vm-ubcdirtypercent = 10 vm-page-free-min = 20 vm-page-free-target = 128 vm-page-free-optimal = 96 vm-page-free-reserved = 10 -- Dave Cherkus ----- UniMaster, Inc. ----- Contract Software Development Specialties: UNIX TCP/IP X OSF/1 AlphaAXP AIX RS/6000 Performance ISDN Email: cherkus@UniMaster.COM Tel: (603) 888-8308 Fax: (603) 888-4598 Live Free or Die - New Hampshire has 3 seasons: ice, mud and black fly