home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / unix / aux / 4578 < prev    next >
Encoding:
Text File  |  1993-01-09  |  2.3 KB  |  53 lines

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