* Alpha/OSF memory use
@ 1994-02-08 19:18 Chris Malicki
1994-02-10 1:01 ` Brian MacNamara
1994-02-10 1:55 ` Gail L. Grant
0 siblings, 2 replies; 3+ messages in thread
From: Chris Malicki @ 1994-02-08 19:18 UTC (permalink / raw)
I was wondering if anyone else has experienced, what appears to be, memory
use problems on an Alpha running OSF/1.3. The Alpha has 96MB of physical
memory of which 85MB is 'available'. The swap space is 256MB.
The application in question runs out out memory with about 25% of swap
still available and shouldn't even gobble up that amount of memory to
begin with. There are no other user processes running at the time.
It works fine on other platforms with similar configurations.
The maxdsiz and dflssiz kernel values have been already been increased.
Any suggestions appreciated.
Thx.
----------------------------------------------------------------------
* Chris Malicki tel: 416-979-7700 *
* Numetrix Ltd. fax: 416-979-7559 *
* 655 Bay St., Ste.1700 internet: chrism@nmx701.attmail.com *
* Toronto, Ontario chrism@numetrix.com *
----------------------------------------------------------------------
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Alpha/OSF memory use
1994-02-08 19:18 Alpha/OSF memory use Chris Malicki
@ 1994-02-10 1:01 ` Brian MacNamara
1994-02-10 1:55 ` Gail L. Grant
1 sibling, 0 replies; 3+ messages in thread
From: Brian MacNamara @ 1994-02-10 1:01 UTC (permalink / raw)
In article <1994Feb8.191854.13495@numetrix.com> chrism@numetrix.com (Chris Malicki) writes:
... stuff deleted ...
>I was wondering if anyone else has experienced, what appears to be, memory
>use problems on an Alpha running OSF/1.3. The Alpha has 96MB of physical
>memory of which 85MB is 'available'. The swap space is 256MB.
>The application in question runs out out memory with about 25% of swap
... stuff deleted ...
I'm sure the answer to this is written up in the FAQ, but with all the
questions about it lately it probably warrants an answer being posted.
I realize my answer below is rather a laymans way of putting it but
it should get the message across. I'll leave it to the manual memorizers
to put it in more acute terms.
There are two ways of having virtual memory on under OSF/1:
(1) the nice safe, 'over eager' method which ensures that all the memory
a program might want is pre-allocated out of the swap space. The way
OSF does this seems (at least to me) to get a bit carried away. The
result is exactly what you see happening to you. Needless to say,
this happens to be the default.
(2) the second way does not even check if there is enough space to page
to before allocating virtual memory to the program. For our purposes
(we do imaging applications that eat memory like crazy) this way is
the only reasonable approach (short of dedicating a 2Gb drive for
swap space). This method does have its pitfalls -- if you allocate
more virtuall memory then you have, and actually need to use it,
you are likely to receive a friendly kernel panic for your trouble,
so be warned. But if you are like most people, you'll either never
come close, or would have suffered many times more trouble not being
able to even run under the other scheme.
How do you switch between them? Easy just rename the following symbolic
link (to anything will do) and reboot your system:
# mv /sbin/swap_default /sbin/was_swap_default
Good luck.../Brian MacNamara
+---------------------------------------------------------------------------+
|@@@@@@@@@@ @@@| Brian MacNamara | Email: macnamara@pci.on.ca |
|@@@@@@ *** @| Sr. Tech. Manager | Tel: (905) 764-0614 |
|@@@ ******* @| | Fax: (905) 764-9604 |
|@@ ********* @@| PCI Inc. | |
|@ ******* @@@| 50 West Wilmot St. | Committed to |
|@ *** @@@@@@| Richmond Hill, Ont. | Remote Sensing |
|@@@ @@@@@@@@@@| Canada L4B 1M5 | |
+---------------------------------------------------------------------------+
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Alpha/OSF memory use
1994-02-08 19:18 Alpha/OSF memory use Chris Malicki
1994-02-10 1:01 ` Brian MacNamara
@ 1994-02-10 1:55 ` Gail L. Grant
1 sibling, 0 replies; 3+ messages in thread
From: Gail L. Grant @ 1994-02-10 1:55 UTC (permalink / raw)
In article <1994Feb8.191854.13495@numetrix.com>, chrism@numetrix.com (Chris Malicki) writes:
|>I was wondering if anyone else has experienced, what appears to be, memory
|>use problems on an Alpha running OSF/1.3. The Alpha has 96MB of physical
|>memory of which 85MB is 'available'. The swap space is 256MB.
|>The application in question runs out out memory with about 25% of swap
|>still available and shouldn't even gobble up that amount of memory to
|>begin with. There are no other user processes running at the time.
|>It works fine on other platforms with similar configurations.
|>The maxdsiz and dflssiz kernel values have been already been increased.
i run the internet alpha systems with lazy swap enabled and haven't had a single
crash/hang as a result in 5 months(we DID have to reboot the machine a couple of
times due to nasty users doing nasty things, but NOT due to swap).
judge for yourself, but this will solve the problem of constantly running out
of swap. check out the alpha-osf-managers archive and you'll see this course
suggested many times. to do this, just rm /sbin/swapdefault and reboot. the
archive is on ftp.kpc.com; sorry, but i don't remember the directory.
g.
--
============================================================================
Gail L. Grant - "Live free or WISH you had" - (415)853-6564 grant@pa.dec.com
WORK phone #
Opinions expressed are my own, OBVIOUSLY not those of my employer.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1994-02-10 1:55 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-02-08 19:18 Alpha/OSF memory use Chris Malicki
1994-02-10 1:01 ` Brian MacNamara
1994-02-10 1:55 ` Gail L. Grant
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox