* Swap space reservation by DIGITAL FORTRAN executables
@ 1999-05-18 4:00 sponk
1999-05-18 4:00 ` sponk
1999-05-20 4:00 ` Gerhard Schneider
0 siblings, 2 replies; 3+ messages in thread
From: sponk @ 1999-05-18 4:00 UTC (permalink / raw)
I have some FORTRAN code that seems to be
particularly greedy about reserving my swap space
.. but then doesn't use the reserved space hardly
at all. This means that I can only run a couple
processes at a time, which is extrememly annoying.
For example, currently with 2 calculations
running, swapon -s gives:
Swap partition /dev/foo (default swap):
Allocated space: 48801 pages (381 MB)
In-use space: 8372 pages ( 17%)
Free space: 40429 pages ( 82%)
Total swap allocation:
Allocated space: 48801 pages (381 MB)
Reserved space: 39402 pages ( 80%)
In-use space: 8372 pages ( 17%)
Available space: 9398 pages ( 19%)
It seems that there must be something about the
compiler options I am using that makes my
executables suck up so much swap space ... I have
read through the man pages and I can't find any
mention of this issue. I would appreciate any
help you can over on this. Thanks,
Dave Moore
Chemistry Dept.
UNC Chapel Hill
--== Sent via Deja.com http://www.deja.com/ ==--
---Share what you know. Learn what you don't.---
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Swap space reservation by DIGITAL FORTRAN executables
1999-05-18 4:00 Swap space reservation by DIGITAL FORTRAN executables sponk
@ 1999-05-18 4:00 ` sponk
1999-05-20 4:00 ` Gerhard Schneider
1 sibling, 0 replies; 3+ messages in thread
From: sponk @ 1999-05-18 4:00 UTC (permalink / raw)
I apologize for the multiple posting ... this was my first Dejanews
message post ... it will NOT happen again.
Dave Moore
--== Sent via Deja.com http://www.deja.com/ ==--
---Share what you know. Learn what you don't.---
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Swap space reservation by DIGITAL FORTRAN executables
1999-05-18 4:00 Swap space reservation by DIGITAL FORTRAN executables sponk
1999-05-18 4:00 ` sponk
@ 1999-05-20 4:00 ` Gerhard Schneider
1 sibling, 0 replies; 3+ messages in thread
From: Gerhard Schneider @ 1999-05-20 4:00 UTC (permalink / raw)
sponk@my-dejanews.com wrote:
: I have some FORTRAN code that seems to be
: particularly greedy about reserving my swap space
Hint: rm /sbin/swapdefault
reboot
man swapon shows:
To determine which swap space allocation mode is being used, check for the
existence of a soft link named /sbin/swapdefault, which points to the pri-
mary swap partition. If the /sbin/swapdefault file exists, the system uses
the immediate mode for swap space allocation. To enable the deferred mode,
rename or delete this soft link.
Gerhard Schneider
--
Gerhard Schneider e-Mail: gs@ilfb.tuwien.ac.at
Institute of Light Weight Structures (E317) Tel.: +43 1 58801 31716
Vienna University of Technology / Austria Fax: +43 1 58801 31799
A-1040 Wien, Gusshausstrasse 27-29 http://ilfb.tuwien.ac.at/~gs/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1999-05-20 4:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-05-18 4:00 Swap space reservation by DIGITAL FORTRAN executables sponk
1999-05-18 4:00 ` sponk
1999-05-20 4:00 ` Gerhard Schneider
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox