home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!gatech!prism!matd!rhoward
- From: rhoward@matd.gatech.edu (Robert L. Howard)
- Newsgroups: comp.sys.sun.admin
- Subject: Re: minimum swap space for SunOS 4.1.x?
- Message-ID: <rhoward.715461603@matd>
- Date: 2 Sep 92 19:20:03 GMT
- References: <1992Sep1.211624.9653@nsisrv.gsfc.nasa.gov> <1992Sep2.165425.8390@newsgate.sps.mot.com>
- Sender: news@prism.gatech.EDU
- Organization: Georgia Tech Research Institute
- Lines: 43
-
- mario@wdc.sps.mot.com (Mario Nigrovic) writes:
-
- >[synopsis: Why swap > physical? What is swap? 48Mb swap OK for
- >64Mb RAM? Mkfile(8) swap = normal swap?]
-
- >This means that if I have a job I want to run, in which the
- >executable is, say, 1.5Mb and the requested data is 4Mb, I will
- >end up using 4Mb of my swap space for the data.
-
- >Limiting your machine to 48Mb swap space means that there is a chance
- >that you will underutilize your physical memory.
- :
- >Looking at it rationally, it seems to me that with the advent of
- >4.1, swap CAN be less than physical since programs are not swapped
- >to swap partitions. This means that if you know your applications,
- >you can tweak the swap space to optimize disk utilization.
-
- >The bottom line is, until you see processes dying from lack of swap
- >(usually malloc(3) failures or flat out cannot create process), your
- >swap space is adequate.
-
- Except for one small (apparent) bug in 4.1.2. If you don't have
- at least 2X the physical RAM in swap, you will gradually get less
- and less free RAM until you finally need to reboot. I would reboot
- and consistently see 30 MB+ free. A few short hours later it would
- be down to 25. Finally two days later I couldn't run a thing. I
- changed my swap to 2X RAM and shazam! it works fine....
-
- >Personally, I run with GOBS of swap and stuff /tmp there.
-
- It's really a shame to get 64 MB RAM and then need to waste 128 MB
- of disk just so you can use the RAM....
-
- Robert
- --
- | Robert L. Howard | Georgia Tech Research Institute |
- | robert.howard@matd.gatech.edu | MATD Laboratory |
- | (404) 528-7165 | Atlanta, Georgia 30332 |
- -------------------------------------------------------------------------
- | "See, when the GOVERNMENT spends money, it creates jobs; whereas when |
- | the money is left in the hands of TAXPAYERS, God only knows what they |
- | do with it. Bake it into pies, probably. Anything to avoid creating |
- | jobs." -- Dave Barry |
-