[distcc] Processing potential unused

Miguel Guedes miguel.a.guedes at gmail.com
Fri Mar 29 03:38:33 MDT 2013


Hello List,

I've installed distcc last night and have since been playing with it.
Have two machines I'd like to use to distribute build loads, each having
an i7 processor (4 cores, 8 threads) and plenty of memory; they both
have ethernet Gigabit connections.

In order to test out distcc and assess its usefulness I've used it on a
local c++ project of mine. With `make CXX=g++ -j8' the full build
finishes in 26.548s. Using distcc and with `make CXX="distcc g++" -j16'
the full build takes slightly less to finish at 22.620s.

My /etc/distcc/hosts file contains two entries:

192.168.0.7/8
localhost/8

And I launch distcc on the production machine using simply:

distcc --daemon --allow 127.0.0.1

On the server machine (192.168.0.7 above) I issue:

distcc --daemon --allow 192.168.0.2 --jobs 8

distccmon-gnome seems to show a below optimal usage of processing power
[0] and I've also noticed on both machines that the processors aren't
running on full load (more like 3/5 or so on average).

How can I force-increase the number of slots being used simultaneously?


[0] http://imgur.com/5F8KLVl

-- 
Miguel



More information about the distcc mailing list