Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

The distcc FAQ states that there is currently no scheme for balancing or prioritizing hosts. They recommend to simply list the fastest host on top or the list.

The situation here is that the remote host is a lot more powerful than the host where I'm compiling.

Would it be effective to simply list the same host several times in /etc/distcc/hosts in order to force most compilation tasks to the remote host?

share|improve this question

1 Answer 1

up vote 1 down vote accepted

No, but do not include localhost in host list.

As a general rule, if the aggregate CPU speed of the client is less than one fifth of the total, then the client should be left out of the list.

Also, distcc only distributes compilation, so preprocessing and linking will always be run locally.

Reference

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.