* swap space running out ?
@ 1994-04-18 10:36 Simon Gornall
1994-04-26 13:46 ` Jean-Luc Bernard
0 siblings, 1 reply; 2+ messages in thread
From: Simon Gornall @ 1994-04-18 10:36 UTC (permalink / raw)
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.
--
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: swap space running out ?
1994-04-18 10:36 swap space running out ? Simon Gornall
@ 1994-04-26 13:46 ` Jean-Luc Bernard
0 siblings, 0 replies; 2+ messages in thread
From: Jean-Luc Bernard @ 1994-04-26 13:46 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1994-04-26 13:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-04-18 10:36 swap space running out ? Simon Gornall
1994-04-26 13:46 ` Jean-Luc Bernard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox