Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: jlb@acri.fr (Jean-Luc Bernard)
Subject: Re: swap space running out ?
Date: Tue, 26 Apr 1994 13:46:21 GMT	[thread overview]
Message-ID: <1994Apr26.134621.2064@acri.fr> (raw)
In-Reply-To: 1994Apr18.113631.2709@bay.cc.kcl.ac.uk

In article 2709@bay.cc.kcl.ac.uk, sjg@phlim.ph.kcl.ac.uk (Simon Gornall) writes:
>The new alpha (osf1) has 155Mb of swap space. Every now and again it
>reports 'swap space less than 10%' or something similar. I run the
>'swapon -s' command and it reports the total swap space to be almost
>full, but the swap partition to be only 50% full. The system only has
>the one swap partition, so how come it's getting different values for
>swap availability. I'm confused.
>
>Any help much appreciated (I didn't know about 'swapon -s' until I
>was told here :-)
>
>Simon.
>-- 

  DEC-OSF/1 can handle 2 modes for the program loading.  The first one (the
  default) is called 'eager', which means all the memory that CAN be used by
  the program is reserved at the load time.  The second one is the 'lazy' mode
  where the memory is allocated as soon as it is required.

  In eager mode, a program is long to load and fast to execute, but can run
  out of swap space even if the reserved memory is not used (i.e. like in the
  oldy-buggy Fortran programs that handle huge tables).

  In lazy mode, a program is faster to load by slower to execute, as reserving
  memory needs some time, but it can allow a program to run without reaching
  a limit it could break.

  To run in lazy mode, delete or rename the /sbin/swapdefault file.

---
_________________________________________________________________
Jean-Luc BERNARD			Computer Center
Advanced Computer Research Institute	Email:  jlbernard@acri.fr
1 Boulevard Marius Vivier-Merle		Voice:  (+33) 72.35.84.03
69443 LYON CEDEX 03 - FRANCE		Fax     (+33) 72.35.84.10




      reply	other threads:[~1994-04-26 13:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1994-04-18 10:36 swap space running out ? Simon Gornall
1994-04-26 13:46 ` Jean-Luc Bernard [this message]
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