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