home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.sun.admin
- Path: sparky!uunet!cs.utexas.edu!usc!sdd.hp.com!caen!sol.ctr.columbia.edu!ira.uka.de!slsvaat!egger
- From: egger@slsvaat.sel.de (Jochen Egger Fa. SSW US/ESS B.60/1/15 #3578)
- Subject: Re: swap size and memory size
- Message-ID: <1992Dec16.134918.21733@us-es.sel.de>
- Sender: news@us-es.sel.de
- Organization: SEL-Alcatel LTS Dept. US/ES
- X-Newsreader: Tin 1.1 PL3
- References: <1992Nov22.212754.7903@netcom.com>
- Date: Wed, 16 Dec 92 13:49:18 GMT
- Lines: 36
-
- mesm@netcom.com (Mary E. S. Morris) writes:
- : 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.
- :
-
- The size of the swap space determines the size of your available virtual
- memory.
- If you are supporting a project witch 150 people developing a system
- using OO methods with a design that makes everything inherit everything,
- and this people load the resulting executables into a debugger, you might
- need more than 150M of virtual memory, independent of the installed physical
- memory.
-
- : 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.
- :
-
- pstat -s is more specialized for swap space.
-
- --
- --------------------------+--------------------------------------------------
- Jochen Egger |
- < > intentionally left blank
- egger@us-es.sel.de |
- --------------------------+--------------------------------------------------
-