Solution to slow build of apache and gcc
sbodily 100000RUAA Comment (1) Visits (8182)
We found it was taking from two to three hours to run the configure script for apache. After searching we found that the solution was to change the environment variable CONFIG_SHELL to point to a different shell than the default ksh. When this was done, the multi-hour run of ./configure was done in 3 minutes.
From the Mozilla site for AIX it says:
From testing, I found I could also use ksh93 and get similar results.
Why does this happen? What has been reported is that ksh uses /tmp files for redirection, piping, shelling, etc., while the other shells actually use memory for these purposes.
ls -l | grep -E "Feb 15"
showed that while running with ksh I had 50 or so files active at any time, while with the other shells there was very little activity.
showed that I had 100% usage of hdisk0.
Spread the word.