* Forcing OS to use physical memory first
@ 1999-10-27 4:00 schult
0 siblings, 0 replies; 4+ messages in thread
From: schult @ 1999-10-27 4:00 UTC (permalink / raw)
I am running Tru64 5.0. I am running some applications that require
large amounts of memory (~1GB) I have 512 MB RAM, but the process uses
up the swap space first and leaves ~50% of the physical memory
available. I am guessing that this is causing some performance
issues. Is there a way I can force the process to use more of the
physical memory? The system is a stand alone workstation and will only
have this one process running. I am the admin/user/only one using the
system and have just recently moved into the UNIX world. FWIW I am
running Matlab's NN toolbox (a notorious memory hog).
Thank you for the help.
-Chris
Sent via Deja.com http://www.deja.com/
Before you buy.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Forcing OS to use physical memory first
@ 1999-10-27 4:00 schult
1999-10-29 4:00 ` Adam Price
0 siblings, 1 reply; 4+ messages in thread
From: schult @ 1999-10-27 4:00 UTC (permalink / raw)
I am running Tru64 5.0. I am running some applications that require
large amounts of memory (~1GB) I have 512 MB RAM, but the process uses
up the swap space first and leaves ~50% of the physical memory
available. I am guessing that this is causing some performance
issues. Is there a way I can force the process to use more of the
physical memory? The system is a stand alone workstation and will only
have this one process running. I am the admin/user/only one using the
system and have just recently moved into the UNIX world. FWIW I am
running Matlab's NN toolbox (a notorious memory hog).
Thank you for the help.
-Chris
Sent via Deja.com http://www.deja.com/
Before you buy.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Forcing OS to use physical memory first
1999-10-27 4:00 schult
@ 1999-10-29 4:00 ` Adam Price
1999-10-29 4:00 ` Stuart Archer
0 siblings, 1 reply; 4+ messages in thread
From: Adam Price @ 1999-10-29 4:00 UTC (permalink / raw)
schult@ceatlabs.okstate.edu wrote in message <7v624n$99h$1@nnrp1.deja.com>...
>I am running Tru64 5.0. I am running some applications that require
>large amounts of memory (~1GB) I have 512 MB RAM, but the process uses
>up the swap space first and leaves ~50% of the physical memory
>available. I am guessing that this is causing some performance
>issues. Is there a way I can force the process to use more of the
>physical memory? The system is a stand alone workstation and will only
>have this one process running. I am the admin/user/only one using the
>system and have just recently moved into the UNIX world. FWIW I am
>running Matlab's NN toolbox (a notorious memory hog).
>
In versions prior to 5 there is a file /sbin/swapdefault which is a
symbolic link to the default swap space. Remove it and swapping will
change to the other mode (I'm tired I can't remember the names but
eager and lazy seem to spring to mind). In eager mode (/sbin/swapdefault
exists at boot time) then as you request space on the heap, an equivalent
amount of space is allocated in swap so that should it be required you
can always swap out a process. In the other mode swap is allocated when
needed, however this has the drawback that it may be unavailable when
required.
Hope this helps
Adam
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Forcing OS to use physical memory first
1999-10-29 4:00 ` Adam Price
@ 1999-10-29 4:00 ` Stuart Archer
0 siblings, 0 replies; 4+ messages in thread
From: Stuart Archer @ 1999-10-29 4:00 UTC (permalink / raw)
Adam/scult
Doesnt the buffer cache default to (up to) 50% of physical memory as well??
reducing the upper bound on that (dbc_max_percent is it on osf? I cant
remember. Arrrrgghhh, too many unixes in the world.!!!!!) should make
available a bit more memory (albeit at the expense of I/O caching).
Stu.
Adam Price <adam+usenet@pappnase.demon.co.uk> wrote in message
news:941183265.5275.0.nnrp-08.c2deb51d@news.demon.co.uk...
>
> schult@ceatlabs.okstate.edu wrote in message
<7v624n$99h$1@nnrp1.deja.com>...
> >I am running Tru64 5.0. I am running some applications that require
> >large amounts of memory (~1GB) I have 512 MB RAM, but the process uses
> >up the swap space first and leaves ~50% of the physical memory
> >available. I am guessing that this is causing some performance
> >issues. Is there a way I can force the process to use more of the
> >physical memory? The system is a stand alone workstation and will only
> >have this one process running. I am the admin/user/only one using the
> >system and have just recently moved into the UNIX world. FWIW I am
> >running Matlab's NN toolbox (a notorious memory hog).
> >
> In versions prior to 5 there is a file /sbin/swapdefault which is a
> symbolic link to the default swap space. Remove it and swapping will
> change to the other mode (I'm tired I can't remember the names but
> eager and lazy seem to spring to mind). In eager mode (/sbin/swapdefault
> exists at boot time) then as you request space on the heap, an equivalent
> amount of space is allocated in swap so that should it be required you
> can always swap out a process. In the other mode swap is allocated when
> needed, however this has the drawback that it may be unavailable when
> required.
>
> Hope this helps
> Adam
>
>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1999-10-29 4:00 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-10-27 4:00 Forcing OS to use physical memory first schult
-- strict thread matches above, loose matches on Subject: below --
1999-10-27 4:00 schult
1999-10-29 4:00 ` Adam Price
1999-10-29 4:00 ` Stuart Archer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox