[distcc] Little or no compilation at localhost

Martin Pool mbp at sourcefrog.net
Fri Jun 10 09:18:27 GMT 2005


On 10 Jun 2005, Jean Delvare <khali at linux-fr.org> wrote:
> 
> Hi Simon,
> 
> > I've installed distcc on two identical computers, each with two processors
> > with hyperthreading (localhost and 10.0.0.3).
> >
> > Monitoring the computers with top, I can see that 10.0.0.3 does all (or
> > most) of the compiling, while the pattern of localhost is like compiling
> > with make -j1. (I've tried both -j8, -j12 and -j16 with -j8 beeing a bit
> > slower than the rest. But compilling without distcc on samson alone
> > with -j4 is just as fast as with distcc -j12 and -j16.)
> 
> This is not the standard behavior. Which version of distcc are you using?
> Did you compile it yourself? Any additional patch applied?
> 
> Try using distccmon-gnome to monitor the job distribution, it may be more
> helpful than top. Also watch the logs for errors. If distribution to
> localhost fails, it should generate an error message at some point.
> Setting DISTCC_VERBOSE=1 for the client may help.
> 
> Which options did you run distccd with on both machines? Didn't you
> forget to run distccd on localhost?

It's not necessary to run distccd on localhost; the jobs are run directly.

Simon, please post the verbose log and the answer should be easy.

-- 
Martin


More information about the distcc mailing list