0

I am attempting to use distcc to setup a distributed build. I am willing to use resources on "localhost" however only up to 32 threads. So I essentially have:

DISTCC_HOSTS="localhost/32 remotehost/32,lzo"

Using distcc monitor, I notice that this leads to pathological behaviour, essentially distcc will refuse to assign work to a remote node if there are 32 threads doing local compilations. Which means the remote node sits idle if all local threads are working on lengthy files.

Is there a way around this while preserving the faster localhost builds? Would something like DISTCC_HOSTS="127.0.0.1/32 remotehost/32,lzo" with "-j=verylarge" at least remove the pathological behaviour at the cost of slower builds?

Chuu
  • 4,301
  • 2
  • 28
  • 54

0 Answers0