Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: "Rostislav Kouznetsov" <Rostislav_@mail.ru>
Subject: Re: Running out of swap
Date: 1999/04/29	[thread overview]
Message-ID: <7g8vnb$8eg$1@dragon.infopro.spb.su> (raw)
In-Reply-To: Pine.GSO.3.96.990428231519.27106A-100000@odin


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





  reply	other threads:[~1999-04-29  4:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-04-28  4:00 Q: Running out of swap Karl N. Matthias
1999-04-29  4:00 ` Rostislav Kouznetsov [this message]
1999-04-29  4:00 ` Peter da Silva
1999-04-29  4:00 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
1999-05-07  4:00 ` SHass88010
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox