home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / os / linux / 16471 < prev    next >
Encoding:
Text File  |  1992-11-12  |  2.3 KB  |  60 lines

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!mcsun!Germany.EU.net!news.netmbx.de!mailgzrz.TU-Berlin.DE!math.fu-berlin.de!news.th-darmstadt.de!iti.informatik.th-darmstadt.de!herr
  3. From: herr@iti.informatik.th-darmstadt.de (Gabor Herr)
  4. Subject: Subject: Linux 0.98.4 wastes 2MB of memory
  5. Sender: news@news.th-darmstadt.de (The News System)
  6. Message-ID: <1992Nov12.082647.20599@news.th-darmstadt.de>
  7. Date: Thu, 12 Nov 1992 08:26:47 GMT
  8. Nntp-Posting-Host: sun2.iti.informatik.th-darmstadt.de
  9. Organization: TH Darmstadt
  10. Lines: 48
  11.  
  12. Path: iti.informatik.th-darmstadt.de!herr
  13. Newsgroups: comp.os.linux
  14. Distribution: world
  15. Followup-To: 
  16. From: herr@iti.informatik.th-darmstadt.de (Gabor Herr)
  17. Organization: TU Darmstadt
  18. Keywords: 
  19.  
  20. Hello everybody,
  21.  
  22. I just detected some strange things with the new kernel 0.98.4: the memory
  23. manager seems not to use all the existing physical memory, although
  24. my machine is under heavy load (X running with several xterms and other clients,
  25. gcc compiling xfig with -O2). There are always at least 2MB of memory left
  26. unused, so processes have to do a lot of paging, and everything gets slower :-(.
  27.  
  28. Here is what `free' reports about memory usage:
  29.  
  30. >              total       used      cache       free     shared
  31. > memory:       7404       3308       2048       2048        944
  32. > swap0:        8156       2132                  6024          0
  33.              
  34. The 2048 blocks seem to be a magic limit, after I started another compilation
  35. (there were 2 gcc's running with -O2 at the same time), free still reports
  36. 2048 blocks free, and a lot more swap space in use.
  37.  
  38. >              total       used      cache       free     shared
  39. > memory:       7404       4952        404       2048        792
  40. > swap0:        8156       3976                  4180          0
  41.  
  42. Maybe this is a bug in the mm-code; I saw Linus did a lot of changes in it.
  43. Needless to say, the last kernel (pl3) had most of the time less than
  44. 2048 blocks free mem...
  45.  
  46. Gabor
  47.  
  48. Just for info:
  49.  
  50. Machine: 486/33, 256k cache
  51. Memory:  8MB mem + 8MB swap
  52. Kernel: 0.98.pl4 from tsx-11
  53. Free:   ps.0.97.6 from sunsite + 0.98.patches from Linus
  54.  
  55. -- 
  56. ############################################################################
  57. Gabor Herr            Email: herr@iti.informatik.th-darmstadt.de
  58. Computer Science Department
  59. Technical University of Darmstadt, Germany
  60.