From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,a0f79ca5175294e2 X-Google-Attributes: gidfee84,public From: chris@perihelion.co.uk (Chris Selwyn) Subject: Re: Wired pages to simulate less physical memory? Date: 1995/05/24 Message-ID: <3puump$eo1@pardalis.ukonline.co.uk>#1/1 X-Deja-AN: 103111473 references: <3pgee1INNfoc@lemans.det.dec.com> reply-to: Chris Selwyn newsgroups: comp.unix.osf.osf1 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