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

  1. Newsgroups: comp.unix.aux
  2. Path: sparky!uunet!think.com!ames!nsisrv!jagubox!jim
  3. From: jim@jagubox.gsfc.nasa.gov (Jim Jagielski)
  4. Subject: Re: SWAP size for 20MB IIci?
  5. Message-ID: <1369@jagubox.gsfc.nasa.gov>
  6. Lines: 26
  7. Sender: usenet@nsisrv.gsfc.nasa.gov (Usenet)
  8. Nntp-Posting-Host: jagubox.gsfc.nasa.gov
  9. Reply-To: jim@jagubox.gsfc.nasa.gov (Jim Jagielski)
  10. Organization: NASA/Goddard Space Flight Center
  11. References: <1356@jagubox.gsfc.nasa.gov> <C0Jtzq.ELv@Novell.COM> <1993Jan9.173034.12446@noao.edu> <1367@jagubox.gsfc.nasa.gov> <1368@jagubox.gsfc.nasa.gov> <1993Jan9.225116.18441@noao.edu>
  12. Date: Mon, 11 Jan 1993 11:18:22 GMT
  13.  
  14. tody@noao.edu (Doug Tody) writes:
  15.  
  16.  
  17. >Well, of course.  I was referring mainly to differences in how these systems
  18. >handle paging of virtual memory.  UNIX systems use the swap area for paging
  19. >as well as swap; for a virtual memory system swapping and paging are closely
  20. >related.  Most UNIX systems preallocate space in the swap area for paging
  21. >when memory is *allocated* by a process - whether or not the process has any
  22. >writable pages paged out.  On a busy system this guarantees that the space
  23. >will be there when if and when it is needed.  A/UX is unusual in that it
  24. >appears to wait until physical memory is exhausted, i.e., until it actually
  25. >has to page something out, before allocating space in the swap area.  On
  26. >most UNIX systems, as someone said earlier, one typically allocates
  27. >something like 2 times the physical memory for swap, e.g., 40-80 Mb or even
  28. >more on some systems.  A/UX appears to be able to make do with much less
  29. >swap space and swap usage tends to decrease as the physical memory increases.
  30.  
  31. All these parameters (i.e. how soon or late you want to start paging) can
  32. be adjusted using the vhand-related kconfig variables. So if one feels
  33. kinda uncomfortable having vhand wait until you only have a smidgen of
  34. RAM left, then you can increase it's low-water mark.
  35. -- 
  36.     Jim Jagielski               | "It is not I who am crazy...
  37.     jim@jagubox.gsfc.nasa.gov   |  it is I who am MAD!"
  38.     NASA/GSFC, Code 734.4       |
  39.     Greenbelt, MD 20771         |            - Ren
  40.