[distcc] can distcc speed up the compilation of a single compilation unit?
Brother Railgun of Reason
alaric at caerllewys.net
Sat Sep 4 20:11:53 MDT 2010
On Sun, Sep 05, 2010 at 03:55:04AM +0200, Mihai Moldovan wrote:
> distcc redistributes every single file to different locations (distcc
> hosts).
> The linking is (naturally) done on the host machine (that one
> redistributing, too).
> Preprocessing can either be done on the local machine (normal mode), or
> on the other distcc hosts (distcc pump mode).
>
> It cannot split up a file and distribute chunks of that to different hosts.
>
> So, unless you've got only one file, distcc (at least theoretically)
> speeds up the build process.
Actually, even if there is only one file to compile, distcc can still
speed up the build on a slow machine, by handing off the compilation to
a much faster compute server on your network, if you have that server
specified as the first (i.e, preferred) distcc host.
--
Phil Stracchino, CDK#2 DoD#299792458 ICBM: 43.5607, -71.355
alaric at caerllewys.net alaric at metrocast.net phil at co.ordinate.org
Renaissance Man, Unix ronin, Perl hacker, Free Stater
It's not the years, it's the mileage.
More information about the distcc
mailing list