home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / sys / sun / admin / 8574 < prev    next >
Encoding:
Text File  |  1992-11-22  |  2.4 KB  |  51 lines

  1. Newsgroups: comp.sys.sun.admin
  2. Path: sparky!uunet!spool.mu.edu!umn.edu!csus.edu!netcom.com!mesm
  3. From: mesm@netcom.com (Mary E. S. Morris)
  4. Subject: Re: swap size and memory size
  5. Message-ID: <1992Nov22.212754.7903@netcom.com>
  6. Organization: Netcom - Online Communication Services  (408 241-9760 guest) 
  7. References: <93609@rphroy.ph.gmr.com>
  8. Date: Sun, 22 Nov 1992 21:27:54 GMT
  9. Lines: 40
  10.  
  11. rrichter@link-new.ph.gmr.com (Roy Richter PH/32) writes:
  12. : I have a Sparc 2 with 32 Meg Ram and 65 Meg swap.  This satisfies Sun's
  13. : recommendation that swap be twice the size of RAM.  I want to upgrade the
  14. : machine to 64MB RAM; easy to do by adding in 4M SIMMs on the motherboard.
  15. : Now, do I need to upgrade the swap space to 128 Meg?
  16. : More importantly, why or why not?
  17. This is a general rule of thumb for more than just Suns. However
  18. the reasoning behind it has never been explained. A) you should 
  19. not have less swap than memory. If you crash the system and it doesn't
  20. have enough space to write out what it had in memory - things get 
  21. weird. B) Most people tend to extend their system beyond capabilities.
  22.  
  23. If you want to know what is a good figure for your swap, load up the 
  24. system. Then open window and type pstat -T. Look at how much
  25. swap is used and available.
  26.  
  27. Personally, if the system has worked ok with out out of mem or out
  28. of swap messages, and you are just upgrading for performance, dont
  29. change the swap. Otherwise, give about 20-30M of swap above what
  30. a loaded system uses.
  31. : I'm confused over the use of memory and impact on swap space.
  32. : Used to be, in the old SunOS's (say 3.2, a golden oldie) that increasing
  33. : the swap partition  smoothly didn't increment swapsize smoothly; it did so
  34. : in sudden jumps.  Now with the 4.1.x OS's, the memory is used to map files,
  35. : and as buffers; the dumping of memory to the swap space is in a "compressed
  36. : format" that doesn't result in an exact image of memory; and so on.
  37. : Any guidelines on swap size vs memory?  I know more is better, but I can
  38. : increase memory faster than swapsize.
  39. : --
  40. : Roy Richter                  Internet: rrichter@ph.gmr.com
  41. : Physics Dept, GM Research    UUCP:     rphroy!rrichter
  42.  
  43. --
  44. Mary E. S. Morris    |  The future exists first in imagination, then
  45. mesm@netcom.COM      |  in will, then in reality. -- Galivan Burwell
  46. =====================================================================
  47. Netcom - Online Communication Services San Jose, CA
  48.