home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.sun.misc
- Path: sparky!uunet!mcsun!sun4nl!fwi.uva.nl!casper
- From: casper@fwi.uva.nl (Casper H.S. Dik)
- Subject: Re: Too much memory
- Message-ID: <1992Aug27.175004.18082@fwi.uva.nl>
- Sender: news@fwi.uva.nl
- Nntp-Posting-Host: adam.fwi.uva.nl
- Organization: FWI, University of Amsterdam
- References: <1992Aug26.165257.5891@xilinx.com>
- Date: Thu, 27 Aug 1992 17:50:04 GMT
- Lines: 27
-
- holen@xilinx.com (Victor A. Holen ) writes:
-
- >Well, never too much memory, but:
-
- >Is there a way to tell SunOS to pretend it has less physical memory
- >then it has ? (Without yanking the chips).
-
- >Lets say I have 32Mb in my sparc-2 sun, but I would like to test the
- >performance of a program in a 16 Mb configuration. Any [reasonable]
- >sugestions ? Thanks.
-
- adb -w -k /vmunix /dev/mem
- physmem/X
- _physmem: xxxxx (physical memory in pages)
- physmem?W <half of reported value>
- ^D
-
- and reboot.
- This cuts the number of pages the kernel that thinks available in half.
-
- You might want to save the kernel before you do this.
- Rebooting is necessary.
-
- Casper
- --
- | Casper H.S. Dik
- | casper@fwi.uva.nl
-