I have no idea what the problem was exactly, but I'm sure it was trivial. In
fact, I highly suspect it was just that I didn't restart distccd or something as
boring as that... I guess a good sleep + a good shower + a good coffee was what
I needed to get it working!
I tested several values of -j and all give pretty much the same results which is
about 15% acceleration (computers are 433MHz/128Mb(swaps-a-lot), 450MHz(512Mb)
and 700MHz(512Mb)). I don't think I should expect more acceleration, should I?
Anyway, thanks and now, let's update these ancient monsters!
Simon
Simon wrote:
Hi,
I've followed several docs about setting up distcc, one from the
gentoo manuals and the other on distcc's website. I believe I
understand the whole concept pretty well, but my problem is: only the
first host compiles.
I have 3 hosts, if I use nmap, it can detect the distcc port is open
what version of distcc and gcc it's using. This proves it's running on
all hosts. I have scp all distcc config files to all hosts, including
make.conf (3 pcs are the same arch, etc). And of course option -j4
If I run emerge on a pkg, I will see the log populating on the 3
machines, there must be communication! After manipulating DISTCC_DIR, I
got distccmon-gui to work.
The monitor will show at the begining that "localhost" is compiling a
small file during the ./configure. Then when compilation kicks in,
"localhost" stops working completely and "192.168.96.64"(ip of localhost
on lan) starts working steadily. IP:*.64 is the first host in
/etc/distcc/hosts.
I have set the logs to debug level, which i believe is the level that
will show ALL information (right?). I have read through that log during
a compilation, specially at the start, and found absolutely no mention
of the IP of any other hosts, nothing talking about connection issues or
similar.
I'm stuck here, I don't know what I'm looking for and help would be
greatly appreciated!
Thanks,
Simon