home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / sun / misc / 3952 < prev    next >
Encoding:
Internet Message Format  |  1992-08-27  |  1.4 KB

  1. Path: sparky!uunet!mcsun!uknet!pavo.csi.cam.ac.uk!drtr1
  2. From: drtr1@cus.cam.ac.uk (David Robinson)
  3. Newsgroups: comp.sys.sun.misc
  4. Subject: Re: Too much memory
  5. Message-ID: <1992Aug27.110647.2163@infodev.cam.ac.uk>
  6. Date: 27 Aug 92 11:06:47 GMT
  7. References: <1992Aug26.165257.5891@xilinx.com>
  8. Sender: news@infodev.cam.ac.uk (USENET news)
  9. Organization: U of Cambridge, England
  10. Lines: 22
  11. Nntp-Posting-Host: apus.cus.cam.ac.uk
  12.  
  13. In article <1992Aug26.165257.5891@xilinx.com> holen@xilinx.com
  14. (Victor A. Holen ) writes:
  15. >Is there a way to tell SunOS to pretend it has less physical memory
  16. >then it has ? (Without yanking the chips).
  17. >
  18. >Lets say I have 32Mb in my sparc-2 sun, but I would like to test the
  19. >performance of a program in a 16 Mb configuration.  Any [reasonable]
  20. >sugestions ?    Thanks.
  21.  
  22. I believe that if you reduce the size of your primary swap partion to 16Mb,
  23. then SunOs will only use that amount of physical memory. This is even if you
  24. later add extra swap files/partitions (such as entries in /etc/fstab)
  25.  
  26. The above is deduced from
  27. 1. An off the cuff remark made in a thread on tuning swap (saying that your
  28.    primary swap partition should be at least as large as physical memory)
  29. 2. The empirical behaviour of a machine thus configured.
  30.  
  31. I have not found any entry in the FM which explains this, and would be
  32. interested if anyone could confirm it...
  33.  
  34. David Robinson. (drtr1@cus.cam.ac.uk)
  35.