[distcc] can distcc speed up the compilation of a single compilation unit?

Nathan Ridge zeratul976 at hotmail.com
Sat Sep 4 20:49:32 MDT 2010


I see. I was hoping distcc could actually break up a single compilation unit into chunks and distribute the chunks to different machines for faster compilation. Does anyone know of a tool that can do this?

 

Thanks,

Nate.
 
Date: Sun, 5 Sep 2010 04:32:32 +0200
From: ionic at ionic.de
To: distcc at lists.samba.org
Subject: Re: [distcc] can distcc speed up the compilation of a single compilation unit?

Yeah, sure, I was just waiting for his response.
Even the compilation of one file can be sped up, if the other client is 
fast enough. Though, this may not always be true. Imagine the 
compilation itself takes very little time, but preprocessing ages. In 
this case, only distcc pump mode can drastically speed the process up, 
as in normal mode preprocessing is done on the local machine anyway.
 
No idea though, whether transferring all those stuff actually has no 
impact, though.
 
So unless the local machine is really, really slow and the clients 
incredibly fast, I doubt whether installing and setting up distcc makes 
up for the saved compilation time. :p
 
 
 
* On 05.09.2010 04:11 AM, Brother Railgun of Reason wrote:
>> 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.
 

__ distcc mailing list http://distcc.samba.org/ To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/distcc 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.samba.org/pipermail/distcc/attachments/20100905/5d1248ca/attachment.html>


More information about the distcc mailing list