From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 1164f8,10ed03b1f29576dd X-Google-Attributes: gid1164f8,public From: peter@baileynm.com (Peter da Silva) Subject: Re: Q: Running out of swap Date: 1999/04/29 Message-ID: <7g9pup$481@web.nmti.com>#1/1 X-Deja-AN: 472329140 References: Organization: Bailey Network Management Newsgroups: comp.sys.dec >swap space below 10 percent free > This is strange to me since I have about 128 MB of swap and 128 MB >of RAM. Even the biggest compiles or apps I run shouldn't be coming close >to this limit! If you're using "greedy swap", then it preallocates swap space for everything in physical memory. To switch to "lazy swap" delete /sbin/swapdefault, which is a symlink to the partition that you want to back memory with. By the way, don't listen to anyone who tells you to allocate X times real memory to swap partitions. Figure out how much VM you will need, allocate that much space, and add 1x real memory if you're using greedy swap. RAM is basically a cache for swap space, and having more RAM than one of these algorithms says you "should" have just means you'll get a better hit ratio, so long as you have enough swap in the first place. -- In hoc signo hack, Peter da Silva `-_-' Ar rug t� barr�g ar do mhact�re inniu? 'U` "Twenty-two points, plus triple-word-score, plus fifty points for using all my letters. Game's over. I'm outta here."