make-alpha
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Make Utility Question-Multiple Processes


From: thasan
Subject: Make Utility Question-Multiple Processes
Date: Mon, 13 Jan 2003 16:46:45 -0500


Hello Everybody. I have a question about how the make utility reacts to multiple processes of make being spawned at the same time to do a "top-down" build. We have always used the "-j" option to spawn multiple processes of make, in order to do our builds faster. We build multiple teams at a time. Recently, we wrote a script that was using 9 processes (-j9) and was spawning these processes simultaneously in all the teams, to get our builds done faster. This did decrease our builds, but introduced a problem, where objects that were not supposed to build, were getting copied to destination directories. File that were not touched or changed would get built unecessarily. So, as an experiment, we reduced the number of threads and the objects stopped re-generating, but this obviously slowed down our builds. We have a dedicated build server, so we can max out the usage just to do builds and that is why we spawn so many pr! ocesses.
I wanted to know if anyone had heard/seen this problem and if anybody could provide any details.

Thank you very much for all the help.
-Tariq Hasan
reply via email to

[Prev in Thread] Current Thread [Next in Thread]