home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / unix / aix / 13632 < prev    next >
Encoding:
Internet Message Format  |  1993-01-22  |  3.1 KB

  1. Path: sparky!uunet!vnet.ibm.com
  2. From: Mickey_Coggins@vnet.ibm.com
  3. Message-ID: <19930122.044119.641@almaden.ibm.com>
  4. Date: Fri, 22 Jan 93 13:29:28 CET
  5. Cc:   rriv@sophia.inria.fr
  6. Newsgroups: comp.unix.aix
  7. Subject: Re: Paging spaces fill - How to fix?
  8. Reply-To: Mickey_Coggins@vnet.ibm.com
  9. Organization: IBM
  10. Disclaimer: This posting represents the poster's views, not those of IBM
  11. News-Software: UReply 3.1
  12. References: <93008.151925RBNTJC@rohvm1.rohmhaas.com> <6905@tuegate.tue.nl>
  13.             <39179@sophia.inria.fr>
  14. Lines: 64
  15.  
  16. In <39179@sophia.inria.fr> Robert Riviere writes:
  17. >In article <6905@tuegate.tue.nl> ronald@lowt.phys.tue.nl (Ronald Aarts) writes:
  18. >>RBNTJC@rohvm1.rohmhaas.com (Thomas J Cozzolino) writes:
  19. >>
  20. >>You can try a "/etc/slibclean" (to be executed as root). It frees memory that
  21. >>is occupied by shared libraries. It worked in our case, but I forgot what
  22. >>caused the problem (X or something else). Actually we put it in root's crontab
  23. >>to be executed regularly.
  24.  
  25. This is an illusion.
  26.  
  27. If you are not changing your shared libraries or developing device
  28. drivers, running slibclean won't help you.  It may seem as though
  29. you have more free paging space after running it, but anything it
  30. flushes out would have been flushed anyway had paging space been low.
  31.  
  32. The only thing it will hurt is if the shared library is needed later,
  33. it will have to be brought into memory from disk - no big deal.
  34.  
  35. If you want to see which shared libraries are currently loaded, run
  36. the command /usr/lpp/bosperf/lib/genkld.  Also interesting, in the
  37. same directory, are genld and genkex.  Don't bother looking for the
  38. documentation.  They are shipped with the AIX 3.2 "performance tools"
  39. PTF, available from your friendly IBM software (bug) support center.
  40.  
  41. Here is an example:
  42. root@mactex:/home/root #/usr/lpp/bosperf/lib/genkld | wc
  43. 145 427 6516
  44. root@mactex:/home/root #slibclean
  45. root@mactex:/home/root #/usr/lpp/bosperf/lib/genkld | wc
  46. 101 295 4448
  47. root@mactex:/home/root #
  48.  
  49. I'm not advocating running slibclean, just showing what it does.
  50.  
  51. >Interesting...
  52. >
  53. >aneto>lsps -a
  54. >Page Space  Physical Volume   Volume Group    Size   %Used  Active  Auto  Type
  55. >hd6         hdisk0            rootvg          32MB      84     yes   yes    lv
  56. >aneto>slibclean
  57. >aneto>lsps -a
  58. >Page Space  Physical Volume   Volume Group    Size   %Used  Active  Auto  Type
  59. >hd6         hdisk0            rootvg          32MB      85     yes   yes    lv
  60. >
  61. >But not very efficient, is it ?
  62.  
  63. Are you kidding here?  Just in case you are not, there is an
  64. explaination for this.  1) don't count on slibclean to reduce your
  65. paging space requirements.  2) running any program has the potential
  66. to push data that was sitting comfortably in RAM out to paging space.
  67. Seems like that is what happened here.
  68.  
  69.  
  70. >(rriv@sophia.inria.fr)                Tel: (33) 93.65.79.06
  71.  
  72. --
  73. Mickey Coggins  Mickey_Coggins@vnet.ibm.com
  74.                 +41-1-436-7274 / +41-1-436-8525 (fax)
  75.                 Hohlstrasse 560, CH-8048 Zurich, Switzerland
  76. _______________
  77. "All who have meditated on the art of governing mankind
  78.  have been convinced that the fate of empires depends on
  79.  the education of youth."   - Aristotle
  80.