Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Wired pages to simulate less physical memory?
@ 1995-05-08  4:00 Pete Halverson
  1995-05-18  4:00 ` Ram Rao
  0 siblings, 1 reply; 3+ messages in thread
From: Pete Halverson @ 1995-05-08  4:00 UTC (permalink / raw)


We're doing some performance testing runs on our AXP3000's as part of a
comparitive purchase evaluation, and one of the things I'd like to do is
see what happens when running with *less* physical memory than that which
we currently have installed (e.g. 64Mb vs. 96Mb).   Rather than physically
pulling SIMMs, it occured to me that maybe I could emulate a
reduced-memory configuration by forcibly wiring down 32Mb or so of pmem,
preventing those blocks from being used or paged out.

Does this sound plausible?  If so, does anyone have any
suggestions/information about how to actually go about this?  Any other
ideas about how to make a 96Mb box behave like it's really a 64Mb box?

thanks,
pch



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Wired pages to simulate less physical memory?
  1995-05-08  4:00 Wired pages to simulate less physical memory? Pete Halverson
@ 1995-05-18  4:00 ` Ram Rao
  1995-05-24  4:00   ` Chris Selwyn
  0 siblings, 1 reply; 3+ messages in thread
From: Ram Rao @ 1995-05-18  4:00 UTC (permalink / raw)


pch@mystech.com (Pete Halverson) wrote:
>We're doing some performance testing runs on our AXP3000's as part of a
>comparitive purchase evaluation, and one of the things I'd like to do is
>see what happens when running with *less* physical memory than that which
>we currently have installed (e.g. 64Mb vs. 96Mb).   Rather than physically
>pulling SIMMs, it occured to me that maybe I could emulate a
>reduced-memory configuration by forcibly wiring down 32Mb or so of pmem,
>preventing those blocks from being used or paged out.
>
>Does this sound plausible?  If so, does anyone have any
>suggestions/information about how to actually go about this?  Any other
>ideas about how to make a 96Mb box behave like it's really a 64Mb box?
>
>thanks,
>pch

The best way to simulate less physical memory is as follows:

1.  Boot the machine interactively
	>>> boot -fl i
2.  When prompted for image name, answer as follows to simulate 48Mb:
	vmunix memlimit=48

To undo this, or to increase the memory a little closer to your actual
memory size, you MUST power-cycle your machine.  Rebooting will not do
the trick.

I have used this several times, and avoided the inconvenience of pulling
SIMMs.

Ram




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Wired pages to simulate less physical memory?
  1995-05-18  4:00 ` Ram Rao
@ 1995-05-24  4:00   ` Chris Selwyn
  0 siblings, 0 replies; 3+ messages in thread
From: Chris Selwyn @ 1995-05-24  4:00 UTC (permalink / raw)


Ram Rao (ram@ini.dec.com) wrote:
: pch@mystech.com (Pete Halverson) wrote:
: >We're doing some performance testing runs on our AXP3000's as part of a
: >comparitive purchase evaluation, and one of the things I'd like to do is
: >see what happens when running with *less* physical memory than that which
: >we currently have installed (e.g. 64Mb vs. 96Mb).   Rather than physically
: >pulling SIMMs, it occured to me that maybe I could emulate a
: >reduced-memory configuration by forcibly wiring down 32Mb or so of pmem,
: >preventing those blocks from being used or paged out.
: >
: >Does this sound plausible?  If so, does anyone have any
: >suggestions/information about how to actually go about this?  Any other
: >ideas about how to make a 96Mb box behave like it's really a 64Mb box?
: >
: >thanks,
: >pch

: The best way to simulate less physical memory is as follows:

: 1.  Boot the machine interactively
: 	>>> boot -fl i
: 2.  When prompted for image name, answer as follows to simulate 48Mb:
: 	vmunix memlimit=48

: To undo this, or to increase the memory a little closer to your actual
: memory size, you MUST power-cycle your machine.  Rebooting will not do
: the trick.

: I have used this several times, and avoided the inconvenience of pulling
: SIMMs.

Another way to do it is to NFS mount your Alpha system from a Sun or
Aix box and then do a bunch of I/O from the client on the mounted
filesystem. This shows up a (wired) memory leak. (On our system we lost
70M of 128M to wired memory in 1 day).

To fix this use the noacl (on AIX) or noac (on Sun) options to the mount
command.

--
Chris Selwyn
Senior Consultant
Perihelion Software
email: chris@perihelion.co.uk tel: +44 749 344203



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1995-05-24  4:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-05-08  4:00 Wired pages to simulate less physical memory? Pete Halverson
1995-05-18  4:00 ` Ram Rao
1995-05-24  4:00   ` Chris Selwyn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox