[distcc] Enabling lzo compression?
Martin Pool
mbp at sourcefrog.net
Mon Jul 21 02:17:11 GMT 2003
On 20 Jul 2003, Dara Hazeghi <dhazeghi at yahoo.com> wrote:
>
> > On 19 Jul 2003, Dara Hazeghi <dhazeghi at yahoo.com>
> > wrote:
> > > Hello,
> > >
> > > I want to do some measurements of current distcc
> > > performance with and without lzo compression.
> > > Unfortunately I haven't been able to find what
> > > flag/option does this. Any hints? Thanks,
> >
> > DISTCC_HOSTS='localhost otherhost,lzo'
> >
> > Mentioned in NEWS, and will be in the manual.
>
> Ah, thanks. Guess I should look harder next time.
>
> I did a little testing building gcc's cc1 with
>
> DISTCC_HOSTS="draco/3 penguin/1 cygnus/1
>
> where draco = 2x733MHZ P-III, penguin = 333MHZ P-II
> and cygnus (localhost) = 667MHZ ppc. Machines were
> connected via 10baseT.
You should really write "localhost" rather than "cygnus" to avoid
needless transmission over the loopback TCP interface. It's more
efficient to just run the compiler directly.
Thanks for the numbers. I don't suppose you'd care to re-run the -j5
ones with "localhost"?
> make CC=dcc -j1
> real 8m39.949s
> user 0m32.820s
> sys 0m22.330s
>
> make CC=dcc -j1 (lzo)
> real 8m5.593s
> user 0m33.510s
> sys 0m22.360s
That seems about right.
--
Martin
More information about the distcc
mailing list