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