On Fri, 25 Nov 2005, Volker Kuhlmann wrote:
How does distcc fit into the game? If it is started by make, then you won't ever have more than 8 processes going with -j8, even if you had a 1000 CPUs.
distcc fits exactly where cc goes. ie. In your make file you point CC at /usr/bin/distcc
It does the preprocessing step and then pipes the preprocessed (no #includes, no comments, all macros instantiated) output to one of the machines in the farm. That machine performs the compilation, optimization and assembly steps and pipes the result back. Thus the machine where make is running, if you say -j 8 will have 8 processes running distcc at once, but most of them stuck on io wait waiting for the far side to respond.
If you run make with -j1000 you will find that machine with many processes, but not a 1000, mostly in the preprocessor stage.
John Carter Phone : (64)(3) 358 6639 Tait Electronics Fax : (64)(3) 359 4632 PO Box 1645 Christchurch Email : [EMAIL PROTECTED] New Zealand Carter's Clarification of Murphy's Law. "Things only ever go right so that they may go more spectacularly wrong later."
From this principle, all of life and physics may be deduced.
