home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / os / linux / 9472 < prev    next >
Encoding:
Text File  |  1992-08-30  |  4.2 KB  |  97 lines

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!ames!agate!iat.holonet.net!uupsi!psinntp!pool!ujlh
  3. From: ujlh@pool.info.sunyit.edu (James Henrickson)
  4. Subject: Re: Up and Running linux
  5. Message-ID: <1992Aug29.025317.8365@pool.info.sunyit.edu>
  6. Organization: State University of New York -- Institute of Technology
  7. References: <trussell.714780309@cwis> <1992Aug26.175330.17630@pool.info.sunyit.edu> <MebGaou00Vp=EHMFNy@andrew.cmu.edu>
  8. Distribution: usa
  9. Date: Sat, 29 Aug 1992 02:53:17 GMT
  10. Lines: 85
  11.  
  12. In article <MebGaou00Vp=EHMFNy@andrew.cmu.edu> Frank T Lofaro <fl0p+@andrew.cmu.edu> writes:
  13. >Excerpts from comp.os.linux (USENET): 26-Aug-92 Re: Up and Running linux
  14. > ujlh@pool.info.sunyit.edu (James Henrickson) (2551)
  15. >
  16. >>It is not a pretty sight.  I just installed Linux on a second machine, a
  17. >>386SX-25 with 2 MB of RAM.  I have 880K free after the kernel is loaded,
  18. >>and bash takes a huge chunk of that.  I can run kermit but not shell out
  19. >>very often because I usually get a lot of "out of memory" errors.  (Swapping
  20. >>doesn't seem to eliminate these error messages, maybe my "working set" is
  21. >>too big to fit in 880K.)  When I *AM* able to run a command from within 
  22. >>kermit, it is S-L-O-W.
  23. >
  24. >    Unless my understanding of VM is severly flawed (I hope not), having
  25. >very low physical memory should *NOT* cause errors (as long as the
  26. >kernel fits in memory, but it does, since it boots), as long as physical
  27. >memory+swap space is sufficient and swapping is on. You should even be
  28. >able to run a program that in and of itself is larger than all of the
  29. >available physical memory. This assumes that VM on your setup and on
  30. >Linux in general is working right (and that I'm not confused about VM :)
  31. >
  32. >A couple of questions:
  33. >
  34. >1. Are you sure you have enough swap space on disk?
  35.  
  36. Yes, 8 MB swap partition.
  37.  
  38. >2. Did you properly set up the swap partition (set partition id to swap,
  39. >mkswap) or swap file (using mkswap)?
  40.  
  41. Yes, Partition ID: swap
  42.  
  43. >3. Did you remember to enable swapping (using swapon) in /etc/rc or on
  44. >the command line?
  45.  
  46. Yes, in fact I have to do it before I "fsck" my Linux partition because
  47. otherwise it pukes over the lack of memory.  (The fsck pukes, the rest
  48. of /etc/rc is still executed.)
  49.  
  50. >If the answers to these are all yes:
  51. >
  52. >4. Are you using a SCSI disk? (I heard there were problems with SCSI and
  53. >VM, but I could be off-base here).
  54.  
  55. Nope, IDE.
  56.  
  57. >I'd like to know for myself: Is there any difference, as far as a user
  58. >should be concerned, between swap and physical memory, other than
  59. >performance, and assuming that swapping is enabled? Do some programs
  60. >*need* a certain amount of real, physical memory?
  61.  
  62. Beyond a certain point, the "working set" of the executing programs
  63. can not be held in memory and the system would thrash big time, doing
  64. so much swapping it isn't funny.  So much so, in fact, that in extreme
  65. cases I don't think anything would get done.  I don't know exactly how
  66. Linux handles this, though.  It might also be a problem with bash.
  67.  
  68. Another thing I failed to point out was that I was also getting a lot
  69. of "fork failed, try again" messages (or something like that) during
  70. that same time.  Another problem was that I was waiting quite a while
  71. for an "ls" when the only thing I had running was seven getty's on
  72. unused VC's and just bash on the one I was using.  Each time I had
  73. these memory shortages, the disk was active for quite a while so I
  74. believe it was swapping.  Unless, of course, if the swapping wasn't
  75. working as intended.
  76.  
  77. I wonder if anyone else with 2 MB has run into these problems?
  78.  
  79. I have since upgraded my RAM.  Not to the 6 MB that I had planned on,
  80. but to the full 8 that the board would hold.  All of these problems
  81. have gone away and the 386SX-25 acts like it has a life now.  :-)
  82.  
  83. An unrelated question:  was the one line patch part of patch2?  I
  84. originally deleted that one "i++" line as instructed by Linus, but
  85. I reinstalled the kernel code about a week ago with virgin 0.97 and
  86. the two patches.  I didn't see any mention of the one line fix in
  87. the patch2 announcement.
  88.  
  89. [Excuse any typographiccccal errors, I'm tired.]  :-)  
  90.  
  91.  
  92. -- 
  93. Jim H.
  94. *
  95. * James L. Henrickson
  96. * ujlh@sunyit.edu        "Some day I might have a real .signature!"
  97.