home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!mcsun!uknet!pavo.csi.cam.ac.uk!drtr1
- From: drtr1@cus.cam.ac.uk (David Robinson)
- Newsgroups: comp.sys.sun.misc
- Subject: Re: Too much memory
- Message-ID: <1992Aug27.110647.2163@infodev.cam.ac.uk>
- Date: 27 Aug 92 11:06:47 GMT
- References: <1992Aug26.165257.5891@xilinx.com>
- Sender: news@infodev.cam.ac.uk (USENET news)
- Organization: U of Cambridge, England
- Lines: 22
- Nntp-Posting-Host: apus.cus.cam.ac.uk
-
- In article <1992Aug26.165257.5891@xilinx.com> holen@xilinx.com
- (Victor A. Holen ) writes:
- >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.
-
- I believe that if you reduce the size of your primary swap partion to 16Mb,
- then SunOs will only use that amount of physical memory. This is even if you
- later add extra swap files/partitions (such as entries in /etc/fstab)
-
- The above is deduced from
- 1. An off the cuff remark made in a thread on tuning swap (saying that your
- primary swap partition should be at least as large as physical memory)
- 2. The empirical behaviour of a machine thus configured.
-
- I have not found any entry in the FM which explains this, and would be
- interested if anyone could confirm it...
-
- David Robinson. (drtr1@cus.cam.ac.uk)
-