home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / sun / admin / 6072 < prev    next >
Encoding:
Internet Message Format  |  1992-09-02  |  2.4 KB

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