home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / sun / misc / 3970 < prev    next >
Encoding:
Text File  |  1992-08-27  |  1.1 KB  |  40 lines

  1. Newsgroups: comp.sys.sun.misc
  2. Path: sparky!uunet!mcsun!sun4nl!fwi.uva.nl!casper
  3. From: casper@fwi.uva.nl (Casper H.S. Dik)
  4. Subject: Re: Too much memory
  5. Message-ID: <1992Aug27.175004.18082@fwi.uva.nl>
  6. Sender: news@fwi.uva.nl
  7. Nntp-Posting-Host: adam.fwi.uva.nl
  8. Organization: FWI, University of Amsterdam
  9. References: <1992Aug26.165257.5891@xilinx.com>
  10. Date: Thu, 27 Aug 1992 17:50:04 GMT
  11. Lines: 27
  12.  
  13. holen@xilinx.com (Victor A. Holen ) writes:
  14.  
  15. >Well, never too much memory, but:
  16.  
  17. >Is there a way to tell SunOS to pretend it has less physical memory
  18. >then it has ? (Without yanking the chips).
  19.  
  20. >Lets say I have 32Mb in my sparc-2 sun, but I would like to test the 
  21. >performance of a program in a 16 Mb configuration.  Any [reasonable] 
  22. >sugestions ?    Thanks.
  23.  
  24. adb -w -k /vmunix /dev/mem
  25. physmem/X
  26. _physmem:    xxxxx  (physical memory in pages)
  27. physmem?W <half of reported value>
  28. ^D
  29.  
  30. and reboot.
  31. This cuts the number of pages the kernel that thinks available in half.
  32.  
  33. You might want to save the kernel before you do this.
  34. Rebooting is necessary.
  35.  
  36. Casper
  37. -- 
  38.                         |    Casper H.S. Dik
  39.                         |    casper@fwi.uva.nl
  40.