home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.aux
- Path: sparky!uunet!gatech!asuvax!ncar!noao!noao.edu!tody
- From: tody@noao.edu (Doug Tody)
- Subject: Re: SWAP size for 20MB IIci?
- Message-ID: <1993Jan9.173034.12446@noao.edu>
- Sender: news@noao.edu
- Nntp-Posting-Host: lepus.tuc.noao.edu
- Reply-To: tody@noao.edu
- Organization: National Optical Astronomy Observatories
- References: <1356@jagubox.gsfc.nasa.gov> <C0Jtzq.ELv@Novell.COM>
- Date: Sat, 9 Jan 1993 17:30:34 GMT
- Lines: 39
-
- In article <C0Jtzq.ELv@Novell.COM>, mceder@ithaca (Mike Cederholm) writes:
- > Jim,
- >
- > the normal rul o\\\
- > jim@jagubox.gsfc.nasa.gov (Jim Jagielski) writes:
- > : Mike_Peters@vos.stratus.com (Mike Peters) writes:
- > :
- > : >I just upgraded my IIci to 20MB of RAM. When I originally installed A/UX
- > : >3.0, I used the default partition size for the SWAP area. Should I
- > : >increase it now that I have more memory? If so, what should it be? I've
- > : >also increased NBUF to 2000.
- > :
- > : Now that you have _more_ memory, chances are that you'll need _less_ swap
- > : space. I'd stay where you are since it's a big pain to repartition
- > : everything just to decrease the Swap size.
-
- > Jim,
- > The normal rule of thumb for uxix is:
- > swap >= 2 x memory
- >
- > Your reasoning is correct that with more memory you should swap less often,
- > but why even hint that a person should reduce swap space afer increasing
- > memory in a unix machine?... Being a multi-user, multi-tasking system, with
- > more memory available for processes, the chance of swapping can be greater
- > because more processes are actually running.... In a properly tuned system
- > the addition of more memory can truly require much greater swap spaces.
-
- This is what I thought too, but swap appears to work differently under A/UX
- than most UNIX systems. On most UNIX systems I have seen swap space is
- allocated when virtual memory is allocated to a process; every time you run
- a process or do a malloc in the process you see the available swap space
- decrease. On A/UX however, if you can believe swap -l, NO swap space is
- used until the total virtual memory usage exceeds the physical memory
- available. Hence if you have vast amounts of physical memory, little or no
- swap is used.
-
- --
- Doug Tody National Optical Astronomy Observatories
- tody@noao.edu P.O. Box 26732, Tucson, Arizona, 85726
-