home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / sgi / misc / 164 < prev    next >
Encoding:
Internet Message Format  |  1993-01-06  |  3.4 KB

  1. Path: sparky!uunet!olivea!sgigate!odin!blythe
  2. From: blythe@sgi.com (David Blythe)
  3. Newsgroups: comp.sys.sgi.misc
  4. Subject: Re: Resident Set Size Confusion
  5. Message-ID: <1993Jan6.072923.9471@odin.corp.sgi.com>
  6. Date: 6 Jan 93 07:29:23 GMT
  7. References: <syscrc.726293940@gsusgi1.gsu.edu>
  8. Sender: news@odin.corp.sgi.com (Net News)
  9. Organization: Silicon Graphics, Inc., Mountain View, CA
  10. Lines: 54
  11. Nntp-Posting-Host: banshee.asd.sgi.com
  12.  
  13. In article <syscrc.726293940@gsusgi1.gsu.edu> syscrc@pickle.gsu.edu (Randy Carpenter) writes:
  14. >We have a 4d/380s with 128MB of physical memory.  It's used for
  15. >computational chemistry.  Although there's plenty of available memory,
  16. >long running processes never seem to stay completely resident as evident
  17. >from the top(1) listing below.  Why does this happen?
  18.  
  19. The short answer is that only the recently referenced memory pages stay
  20. resident.  The OS always keeps track of what is has not being referenced 
  21. recently and makes these pages available for other uses.  Just because
  22. you have lots of empty empty space isn't a good reason to keep around a lot
  23. of junk you may never look at again.
  24.  
  25. >
  26. >Ocassionally, these processes will be killed due to insufficient swap
  27. >storage although we think there is plenty of available memory.  The
  28. >current swap is 48MB and we will be expanding it to 128MB soon.
  29. >
  30.  
  31. I believe that if you have a process which has grown larger than the size
  32. of free swap space and the OS chooses to swap it out, it must swap it out in
  33. its entirety and at that point it has no choice but to kill the process.
  34. 40Mb is a little small, 120Mb is much better but it depends on the mix
  35. you run.  /etc/swap -l will give you an idea of how much swap space is
  36. actually being used ...
  37.     -db
  38.  
  39. >% top
  40. >
  41. >IRIX chemistry 4.0.1 11150233 IP7 Load[18.03,18.09,18.09] 23:13:15  500 procs
  42. >    user   pid  pgrp  %cpu proc  pri  size   rss    time  command        
  43. >  david   5641   381  56.8    5  105  3762  1656 4075:36  sybyl.40exe
  44. >  hui     7331   278  54.5    0  100 14596  1611 2570:55  charmm21r3exe
  45. >  david   5644   381  53.4    6  105  3762  1656 4467:02  sybyl.40exe
  46. >  david   5643   381  52.3    2  105  3762  1656 4348:27  sybyl.40exe
  47. >  david    469   381  52.3    *  105  3758  1652 4799:24  sybyl.40exe
  48. >  david    470   381  52.3    *  105  3758  1652 4934:03  sybyl.40exe
  49. >  david    468   381  52.3    *  105  3758  1652 4657:29  sybyl.40exe
  50. >  david    467   381  51.1    *  105  3758  1652 4510:05  sybyl.40exe
  51. >  david   5640   381  48.9    1  105  3762  1656 3890:10  sybyl.40exe
  52. >  david   5642   381  48.9    4  105  3762  1656 4215:52  sybyl.40exe
  53. >  tom    22880 15490  45.5    *  104  8390  2578 1060:34  sp_property
  54. >  david    466   381  40.9    *  105  3758  1652 4321:41  sybyl.40exe
  55. >  david   5639   381  39.8    *  105  3762  1656 3598:38  sybyl.40exe
  56. >  david    465   381  37.5    *  105  3758  1652 4023:00  sybyl.40exe
  57. >  david   5638   381  31.8    7  105  3762  1656 3130:09  sybyl.40exe
  58. >  david    464   381  29.5    *  105  3758  1652 3548:53  sybyl.40exe
  59. >  david   5637   381  28.4    *  105  3762  1656 2622:47  sybyl.40exe
  60. >  david    411   381  23.9    *  105  3758  1652 3042:21  sybyl.40exe
  61. >%
  62. >-- 
  63. >===========================================================================
  64. >Randy Carpenter                    rcarpent@gsu.edu          % Got a light?
  65. >Georgia State University           (404) 651-2648            No match.
  66. >Wells Computer Center                                        %
  67.