From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,10ed03b1f29576dd X-Google-Attributes: gid1164f8,public From: "Rostislav Kouznetsov" Subject: Re: Running out of swap Date: 1999/04/29 Message-ID: <7g8vnb$8eg$1@dragon.infopro.spb.su>#1/1 X-Deja-AN: 472188214 References: X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4 Organization: Peterlink News System Reply-To: "Rostislav Kouznetsov" Newsgroups: comp.sys.dec Karl N. Matthias wrote in message ... > I'm a newish Digital/Tru64 UNIX admin though I'm quite experienced >on Solaris and various BSD's. I'm running into something which I have >rarely seen on other systems. When I run large apps or long compiles (ie >push the memory limit) I get the following: > >swap space below 10 percent free > > This is strange to me since I have about 128 MB of swap and 128 MB 1)I guess, minimal swap space is size of RAM. 2)I advise you to make the size of swap equals 3 times of the RAM. This configuration is easy to use with "paging" algorithm of virtual memory. "Paging" is standard algorithm for Digital UNIX. 3)It's the most usable configuration of swap for Digital UNIX. If you use memory-hungry applications, such as Oracle, SAP, BAAN, you should increase swap up to 4 or even 5 times. It's required when "swapping" algorithm was used. 4) Also, you can choose from two modes of virtual memory: Lazy and Eager. Lazy mode doesn't reserve any swap space before downloading memory pages to disk. Eager mode reserves swap space by virtual memory allocation request. Read the docs for tuning guidelines. >of RAM. Even the biggest compiles or apps I run shouldn't be coming close >to this limit! I was thinking I should have someting more like 256 MB of >swap if this is more like the BSDs than SysV, but still, I don't see why >this should happen... anyone seen this? Am I just being dumb? > >vmstat reads like this on a basically idle system running X, 4 xterms and >netscape: > >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 > 3 57 22 9029 3349 2010 2M 649K 1M 21K 619K 2878 8 923 342 1 >0 99 > >Any help much appreciated! > >Thanks >Karl > > Regards, Rostislav Kouznetsov