Re: Swap space bandits!

New Message Reply Date view Thread view Subject view Author view

Phil Keslin (philk++at++cthulhu.engr.sgi.com)
Tue, 05 Jan 1999 12:04:52 -0800


Have you tried using osview or sar to determine your swap usage over
time? Also, total swap (swap used + swap free) is equal to total logical
swap space in the system (physical memory + swap). Also, what is the
exact text of the out of logical swap message that appears in the
SYSLOG?

- Phil

  

Alejandro Saez wrote:
>
> On Dec 30, 6:43pm, Jesse Stockwell wrote:
> > Subject: Swap space bandits!
> > hi.
> >
> > I'm having some mysterious problems with the swap space on my onyx
> > system.
> > I'm running on an ONYX with 256M ram and 128M swap space in /dev/swap,
> > and 8, 200MHZ processors.
> >
> Needles to say, 256/8= 32 MB per processor seems awfull low. Tipicaly
> recomended swap space: physical memory * 2.5, and you have physical memory* 0.5
> I would try to solve this first. One can tweak a bit here and a bit there but
> there is a limit.
>
> > I've been trying to load in some fairly large .flt files.
> >
> > When I load in too many tiles, and enter my pageDBase(), all the
> > processors spike out and eventually all the processes are killed off,
> > with the message that they've run out of swap space.
> > Makes sense to me.
> >
> > If I query the system while my application is running, and ask it how
> > much swap space I'm using up, It usually gives me some piddly
> > number.(I'm using "swap -s")Typically just before crashing it will
> > tell me I'm using
> > 9.33m of swap + 180.3m additional reserved = 189.63m total swap used,
> > with 170m of free swap remaining.
> > numbers here aren't exact, sometimes it uses more actual swap 30m or
> > less actual swap 0.0m
> >
> > Thats real strange for me.
> Well, swap is strange all right, but what's so strange? The fact the numbers
> don't add?. To that, I don't know the answer but other than that, it's pretty
> clear you have reserved all of your swap space but is not being used (yet). You
> can add new swap (swap -a) or activate virtual swap, which given the low
> ammount of swap you have and the large files in use , I wouldn't advise to do.
> I would really try to get more RAM and then increase the swap space.
>
> >
> > I've got another problem along these lines. I was trying to increase
> > my shared memory arena size to 512M in the hope that I could load in
> > more files. What happens is that it allocates the arena size, but
> > gives a SIGCHLD while loading in one of my files. Right now I can load
> > in 225 files. When I increase the arena size to 512M, it always bombs
> > on file 142.
> > I'm checking the shared arena size to see that it's changing to the
> > size I requested, and it is...
> >
> > Any ideas would be greatly appreciated.
>
> There was a thing about arena size posted last year or a couple of years ago.
> Check the archives, I think it had a limit under 32bit addressing or something
> :)

-- 
Phil Keslin <philk++at++engr.sgi.com>

New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Tue Jan 05 1999 - 12:04:56 PST

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.