[H-GEN] distcc at meetings

Anthony Towns aj at azure.humbug.org.au
Tue Apr 13 05:58:19 EDT 2004


On Tue, Apr 13, 2004 at 04:56:47PM +1000, Greg Black wrote:
> >     $ sudo nmap -sT 192.168.146.0/23 -p 3632 -oG - | awk '/open/ {print $2}'
> I've been using ccache[1] (from the same factory as distcc and
> samba) for ages, but had not previously actually tried distcc.

> So distcc certainly saved time for a first build, but nowhere
> near as much as ccache. 

Err, unless your build is pretty screwed up (you're often compiling
the exact same file, with the same options twice in a single build),
ccache shouldn't speed up a first build at all.

For kernel compiles, where you're not changing your options very much, or
not changing too many files that you actually compile between revisions,
ccache should be particularly good.

> And, since ccache is so much simpler to
> use (and can help without changing anything in your makefiles)
> and has no scary networking issues, I think I'll just stick to
> using ccache and forget what I learned about distcc.

I guess your options are to use nothing, ccache, or distcc+ccache, and
only switch to the later options when the previous ones aren't working
well enough for you. The only reason you'd use distcc without ccache
that I can think of is if you're compiling _lots_ of stuff and don't
have the diskspace to cache anything for long enough that it'll come
around again -- building all of Debian, or even just xfree86 might hit
that sort of level, but most things don't.

Cheers,
aj, who usually has problems fully utilising a single processor, let alone
    more than that

-- 
Anthony Towns <aj at humbug.org.au> <http://azure.humbug.org.au/~aj/>
Don't assume I speak for anyone but myself. GPG signed mail preferred.

Protect Open Source in Australia from over-reaching changes to IP law
http://www.petitiononline.com/auftaip/ & http://www.linux.org.au/fta/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 307 bytes
Desc: Digital signature
URL: <http://lists.humbug.org.au/pipermail/general/attachments/20040413/9c42c84a/attachment.sig>


More information about the General mailing list