[distcc] tcp cork

Martin Pool mbp at sourcefrog.net
Fri Feb 17 05:25:24 GMT 2006


On Wed, 2006-02-15 at 13:33 -0800, Dongmin Zhang wrote:
> Hello,
> 
> We noticed that, in remote.c, it uncork untill the source file has
> been send. We think this tpc uncork is kind of late, because 1) if we
> uncork it right after we send out all argument, it supposes to
> increase the overlap of sending packets and wait_for_cpp, 2) when we
> send out the source file, it sends a big chunk anyway. It supposed to
> be performing better if we uncork it right after we send all arguments
> and before we send out the source file. We did some experiment, but it
> din't show much difference. So we guess that is because it spends most
> of time to compile files. Howerver, this really improves the
> perfomance when we do server side caching. So we will change it in our
> server side caching patch.

Thanks.  Please consider adding a comment on why it is done this way.

-- 
Martin

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/distcc/attachments/20060217/b0bd84b1/attachment.bin


More information about the distcc mailing list