* How to downsize memory -- without removing it?
@ 1994-03-16 2:01 Gyula Szokoly
1994-03-16 3:55 ` Dirk Grunwald
1994-03-16 20:24 ` Joseph Martin
0 siblings, 2 replies; 5+ messages in thread
From: Gyula Szokoly @ 1994-03-16 2:01 UTC (permalink / raw)
May be this sounds a bit crazy, but let me explain. We have an alpha AXP
machine running OSF 1.3. We would like to buy a new one, but with much less
memory. I'd like to know the performance as the function of memory. This
heavily depends on the applications, of course. So the plan: somehow make
the system believe that it has LESS memory than the correct number, give the
machine to the actual user and let him play. This way I hope I can figure
out the minimum required memory for the user.
Is there any way to fool the system about the total amount of memory? I
just don't feel tempted to take the machine apart many times etc. if there
is any reasonable way to do this from software.
I don't want to believe any fancy test results from various simulated loads,
either.
Thanks in advance,
Gyula
--
Gyula P. Szokoly (szgyula@skysrv.pha.jhu.edu) -------------------------------\
| When I am weaker than you, I ask you for freedom because that is according|
|to your principles; when I am stronger than you, I take away your freedom|
|because that is according to my principles. -- Frank Herbert|
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: How to downsize memory -- without removing it?
1994-03-16 2:01 Gyula Szokoly
@ 1994-03-16 3:55 ` Dirk Grunwald
1994-03-16 20:30 ` Harry Mantakos
1994-03-16 20:24 ` Joseph Martin
1 sibling, 1 reply; 5+ messages in thread
From: Dirk Grunwald @ 1994-03-16 3:55 UTC (permalink / raw)
create a memory file system using `mfs' and then mount it on something
you don't use. This removes the memory from circulation (at boot time)
but you don't need to remove it physically.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: How to downsize memory -- without removing it?
1994-03-16 2:01 Gyula Szokoly
1994-03-16 3:55 ` Dirk Grunwald
@ 1994-03-16 20:24 ` Joseph Martin
1 sibling, 0 replies; 5+ messages in thread
From: Joseph Martin @ 1994-03-16 20:24 UTC (permalink / raw)
>>> boot -fl i
The console responds with some prompt for a kernel name and options:
[option prompt]: vmunix memlimit=48
The "memlimit" option takes a decimal number of megabytes. A value
you set will persist across reboots, so remember to put the value
back up to the true one when you're done testing.
--
\Joe Joseph A. Martin
jmartin@sousa.amt.ako.dec.com Digital Equipment Corporation
(508) 264-7891 50 Nagog Park AKO2-1/G3
Acton, MA 01720 U.S.A.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: How to downsize memory -- without removing it?
1994-03-16 3:55 ` Dirk Grunwald
@ 1994-03-16 20:30 ` Harry Mantakos
0 siblings, 0 replies; 5+ messages in thread
From: Harry Mantakos @ 1994-03-16 20:30 UTC (permalink / raw)
In article <GRUNWALD.94Mar15205504@foobar.cs.colorado.edu> grunwald@foobar.cs.colorado.edu writes:
>create a memory file system using `mfs' and then mount it on something
>you don't use. This removes the memory from circulation (at boot time)
>but you don't need to remove it physically.
I don't believe that this guarantees that you won't be able to use that
real memory. An mfs filesystem exists in virtual memory, and it's memory
can be paged, so a 32meg mfs filesystem isn't necessarily occupying
32meg of _real_ memory.
-harry
------------------------------------------------------------------------------
Spoken: Harry Mantakos Domain: harry@cs.umd.edu UUCP: uunet!mimsy!harry
Phone: 301-405-2750 USPS: U of Maryland, CS Dept., College Park, MD 20742
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: How to downsize memory -- without removing it?
@ 1994-03-27 18:22 Fabrice Jaubert
0 siblings, 0 replies; 5+ messages in thread
From: Fabrice Jaubert @ 1994-03-27 18:22 UTC (permalink / raw)
jmartin@sousa.ako.dec.com (Joseph Martin) writes:
>>> boot -fl i
The console responds with some prompt for a kernel name and options:
[option prompt]: vmunix memlimit=48
Is this documented anywhere? I looked though the paper manual and the
dxbook and couldn't find it.
We're planning on bringing our 3000/400 (old model, not the current /400)
from 64MB to 48MB (we want to use the memory in a new machine). Before we
do this, I want to make sure the /400 will run on 48MB.
So I booted as above (memlimit=48), it got all the way to the XMD prompt,
waited about 2 minutes and crashed -- ("k_mem_anon_free: page not found").
It rebooted, waited another 2 minutes and crashed, etc, etc ad nauseam.
So my question is: is this method of limiting memory really the same as
physically removing the memory (ie: is it reasonable to assume that the
same thing will happen if I actually remove 16Mb)? Must anything else be
done, like re-configuring the kernel?
Thanks for any tips...
...Fabrice
--
Fabrice Jaubert Computer Graphics Lab
fjaubert@watcgl.uwaterloo.ca U. of Waterloo, Ontario
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~1994-03-27 18:22 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-03-27 18:22 How to downsize memory -- without removing it? Fabrice Jaubert
-- strict thread matches above, loose matches on Subject: below --
1994-03-16 2:01 Gyula Szokoly
1994-03-16 3:55 ` Dirk Grunwald
1994-03-16 20:30 ` Harry Mantakos
1994-03-16 20:24 ` Joseph Martin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox