[distcc] Re: Bug#214621: distcc: better handling for round-robin DNS

Zygo Blaxell zblaxell at genki.hungrycats.org
Wed Oct 15 05:49:24 GMT 2003


On Mon, Oct 13, 2003 at 05:23:07PM +1000, Martin Pool wrote:
> What happens when localhost's real name is listed in the alias?  That
> would cause us to send jobs over the loopback interface, which is a
> bit inefficient.

That's more or less exactly what happens:  connections to <IP of local
machine's eth0 interface>:distcc.  Fixing this gets complicated,
especially if you consider stuff like IP aliases, dummy interfaces,
and IP-takeover systems.  Modern loopback "hardware" runs at some huge
number of gigabits, so in practice the extra overhead is buried firmly
in the noise.

There could be theoretically twice the number of jobs
scheduled on the local machine, if both "localhost" and
"some.name.that.may.resolve.to.a.loopback.ip.address" are listed in
DISTCC_HOSTS; however, that could already happen if two people are running
distcc jobs with the same DISTCC_HOSTS list on the same network, whether
aliases are used or not.


-- 
Zygo Blaxell (Laptop) <zblaxell at feedme.hungrycats.org>
GPG = D13D 6651 F446 9787 600B AD1E CCF3 6F93 2823 44AD
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.samba.org/archive/distcc/attachments/20031015/dd41024f/attachment.bin


More information about the distcc mailing list