[distcc] distcc 2.3 is out
Martin Pool
mbp at samba.org
Mon May 19 02:35:54 GMT 2003
On 18 May 2003, Matt Watson <mwatson at apple.com> wrote:
> I was seeing an 80% slowdown when building the Darwin Libc with 2.3 vs.
> 2.2. I'm using two MP machines as my remote hosts, all on the same
> 100Mb subnet, with DISTCC_HOSTS='localhost one.local./3 two.local./3'.
> DISTCC_VERBOSE shows the remote hosts as busy almost the entire
> time.
:-(
Thanks for the report. Could you please have a look in the Apple bug
database and see if this is a known problem. I thought the way
getaddrinfo was called ought to be equivalent to gethostbyname (though
maybe I messed up.)
> If I used IP addresses instead of hostnames, I got a 30% slowdown.
That does seem to indicate either a problem in getaddrinfo or in the
way I'm calling it. You'd expect them to be handled instantaneously.
> I noticed that 2.3 started using getaddrinfo()/getnameinfo() when
> available, so I undef'd HAVE_GETADDRINFO/HAVE_GETNAMEINFO in config.h
> and rebuilt distcc, and the problem went away completely.
>
> It may be a bug in Darwin, but I thought it was worth bringing up on
> the list in case someone else runs into it.
>
> Also, should distcc understand -x assembler-with-cpp? It appears to
> not. We have a bunch of ".s" files in Libc that use this option (though
> these really should be ".S" files).
I think at the moment it chickens out. There is no fundamental reason
not it can't be supported. I just didn't know if anyone used it.
> p.s. I'm quite impressed with the elegance and simplicity of distcc. I
> had my little 3 machine build farm up and running in 20 minutes. Very
> well done!
Thanks!
--
Martin
More information about the distcc
mailing list