[distcc] Benchmarking the server-side cache. How bad is 4ms latency to distcc server?

Martin Pool mbp at sourcefrog.net
Tue Feb 7 00:07:25 GMT 2006


On  6 Feb 2006, Dan Kegel <dank at kegel.com> wrote:
> On 2/5/06, Martin Pool <mbp at sourcefrog.net> wrote:
> > You could combine it with the (currently disabled?) code that feeds the
> > compiler from a fifo, so as to stream back errors or terminate
> > compilation in the case of errors before the client finishes sending.
> 
> Gee, I didn't realize you could even do that.  Don't compilers like to
> read the whole source before starting?

It is pretty cool.  In general they will need the whole thing before
they write the object file, but the initial stages of compilation
(parsing, etc) do happen as it reads from stdin.  Or so it seemed when
I last looked, it might be different in later versions of gcc.  So it
allows you a little more pipelining, and gets the server cpu loaded
sooner.

-- 
Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.samba.org/archive/distcc/attachments/20060207/05253272/attachment.bin


More information about the distcc mailing list