home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / os / linux / 22020 < prev    next >
Encoding:
Internet Message Format  |  1992-12-29  |  1.6 KB

  1. Path: sparky!uunet!cs.utexas.edu!wupost!crcnis1.unl.edu!moe.ksu.ksu.edu!matt.ksu.ksu.edu!news
  2. From: probreak@matt.ksu.ksu.edu (James Michael Chacon)
  3. Newsgroups: comp.os.linux
  4. Subject: Re: Problems, and questions. HELP! :)
  5. Date: 29 Dec 1992 09:17:50 -0600
  6. Organization: Kansas State University
  7. Lines: 32
  8. Message-ID: <1hpq6uINN1un@matt.ksu.ksu.edu>
  9. References: <1hpngqINNlev@usenet.INS.CWRU.Edu>
  10. NNTP-Posting-Host: matt.ksu.ksu.edu
  11.  
  12. ah200@cleveland.Freenet.Edu (Randy Beiter) writes:
  13.  
  14. >Problem #2:
  15. >gcc/cc does not like my system at all, it absolutely crawls. I tried
  16. >compiling ps and it took 30-45 minutes to compile. I dunno if this is
  17. >because of my swap drive, cpu speed, memory, or what. I'm afraid to try
  18. >to re-compile the kernel :)
  19.  
  20. >My setup consists of:
  21. >386 33mhz
  22. >2 meg ram
  23. >30 meg linux partition *50% free*
  24. >2 meg swap drive *which linux says is 4?*
  25. >the usual floppy drives, keyboard, ect
  26.  
  27.  
  28. >Any help would be _GREATLY_ apprechiated, thanks again!
  29.  
  30. The problem you are having with gcc is the 2M of ram. The kernel grabs about
  31. a meg anymore depending on its configuration and your motherboard.
  32. (Some motherboards won't give back the shadow bios, and therefore
  33. you lose 384k of good ram). 
  34.  
  35. You might try adding more swap also, because gcc likes around 2M of ram,
  36. so you're leaving it with around 500k to play with. (The buffer cache takes
  37. up about 500k also). I have a feeling you wouldn'tbe able to recompile the
  38. kernel, because gcc would run out of memory during optimization.
  39.  
  40. All in all, the biggest difference you will see is by adding more memory.
  41. Adding swap will help, but onboard memory will increase your speed greatly.
  42.  
  43. James
  44.