Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: edo@cis.ohio-state.edu (Eric Osborne)
Subject: Re: swap space warning
Date: 1995/05/03	[thread overview]
Message-ID: <3o78o2INNjjn@umble.cis.ohio-state.edu> (raw)
In-Reply-To: 3nrief$366@tenebris.rutgers.edu: <saunders-2904951815390001@caspar.che.wisc.edu: <3o34dd$41o@tenebris.rutgers.edu

You may want to look at the settings of some kernal parameters. Ubcmaxpercent
and ubcborrowpercent are a couple of good ones - they control the size of
the unified buffer cache. There's also a parameter called ubcminpercent, I
think. I believe that you'll also find one called bufcache, which controls
the initial size of the buffer cache.  Since you have 1GB of ram, the defaults
for these things are setting your buffer cache at 100MB at system startup,
and it grows from there.  It can consume all of memory on a disk intensive
system, and result in paging.

The assumption that you need 2X memory for swap is an interesting piece of
lore - what you really need is enough swap to avoid running out of VM. You
will use less real memory if you have the system set to "lazy" evaluation
(remove /sbin/swapdefault).  If carefully tuned, the system need NEVER
swap if you have enough ram.  If you do swap, and you run out of swap space
in "lazy" mode, things can get ugly.  For what it's worth, I worked for some
months on a multiprocessor 7000 series machine with 8GB of memory and only
a couple of hundred megs of swap space - once tuned, the machine NEVER swapped
with the application load we had.  The performance was awesome.

By the way, check out the sysconfig and sysconfigdb commands - you don't have
to rebuild the kernel to set this stuff. That's a really nice feature of
Digital UNIX.  Oh, before I forget, the AdvFS maintains its own, separate
buffer cache.  Check the settings on that, too, if you are using AdvFS.

Hope that helps.

Eric Osborne




  parent reply	other threads:[~1995-05-03  4:00 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <3nrief$366@tenebris.rutgers.edu: <saunders-2904951815390001@caspar.che.wisc.edu: <3o34dd$41o@tenebris.rutgers.edu>
1995-05-02  4:00 ` swap space warning Brian Saunders
1995-05-03  4:00   ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
1995-05-03  4:00     ` Brian Saunders
1995-05-03  4:00 ` Eric Osborne [this message]
1995-05-03  4:00 ` Peter da Silva
1995-05-03  4:00   ` Brian Saunders
1995-05-04  4:00 ` George Chaltas
1995-05-10  4:00   ` Siggy Hensel
1995-04-28  4:00 George Armhold
1995-04-29  4:00 ` Brian Saunders
1995-05-01  4:00   ` George Armhold
1995-05-03  4:00 ` Daniel S. Riley
1995-05-04  4:00   ` George Armhold
1995-05-04  4:00 ` Daniel S. Riley
1995-05-05  4:00   ` George Armhold
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