From: charette@ultoe.det.dec.com (Mark Charette)
Subject: Re: Swappage death on an Alphastation, DEC UNIX 3.2
Date: 1995/07/10 [thread overview]
Message-ID: <3trg7h$85c@eccdb1.pms.ford.com> (raw)
In-Reply-To: saunders-0907950240510001@caspar.che.wisc.edu
Brian Saunders (saunders@castor.che.wisc.edu) wrote:
: In article <3tno39$jil@agate.berkeley.edu>,
: peterm@landau.EECS.Berkeley.EDU (Peter Mardahl) wrote:
: [swap horror story concerning RAM-intensive jobs deleted]
: > Can anyone give some advice?
: I'd hate to say this, but "me too". We see the same darned thing happen.
: Our workaround is for people to watch the total memory usage, and not run
: a large job if another large job is running.
If you want to live dangerously ....
You can turn on lazy swap evaluation by renaming (or otherwise keeping
the system from seeing the name) /sbin/swapdefault . This file is a link
to your swap device. Lazy evaluation causes no backing store to be allocated
immediately for dynamic memory allocation (malloc) - it attempts to map the
storage when required. Renaming the file (you must also reboot after the
renaming) may help you in this case. It may also cause "mysterious" failures
in codes since malloc will always succeed.
Again, a dangerous method, but one which can sometimes boost performance
enough to make it worthwhile.
--
Mark Charette charette@mika.com
MIKA Systems, Inc
17197 N. Laurel Park Dr Suite 115
Livonia, MI 48152
next prev parent reply other threads:[~1995-07-10 4:00 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
1995-07-09 4:00 Swappage death on an Alphastation, DEC UNIX 3.2 Peter Mardahl
1995-07-09 4:00 ` Brian Saunders
1995-07-10 4:00 ` Mark Charette [this message]
1995-07-10 4:00 ` Brian Saunders
1995-07-12 4:00 ` Les Walker
1995-07-12 4:00 ` Dave Cherkus
1995-07-13 4:00 ` Jonathan B. Craig
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