[distcc] Re: separating compiler and assembler: benchmarks

Martin Pool mbp at sourcefrog.net
Tue Mar 4 00:05:19 GMT 2003


On  3 Mar 2003, "Stuart D. Gathman" <stuart at bmsi.com> wrote:
> Martin Pool wrote:
> >>gcc on AIX with no help  52.2 secs
> >>remote cc1, local as without -pipe  9.9 secs
> >>distcc (remote cc1+as, projected)   8.0 secs
> >>remote cc1, local as with -pipe  5.3 secs
> >>
> >>The regex.c file is 185530 bytes, regex.o is 37753 bytes, and the regex.s 
> >>output of cc1 is 112049 bytes.  The projected distcc time is based on the 
> >>time to run 'as' locally and the smaller size of regex.o vs regex.s.
> >
> >I'm not sure that projection is realistic though.  Running as remotely
> >will certainly be ~20 times faster than running it on the AIX
> >machine.  A better estimate of remote cc1+as would be to just measure
> >cc1 and say that running as is negligible.
> >
> That's what I did.  I assumed that as woudl take 0 time on the 
> volunteer.  It takes a bit less than a second locally.  The other second 
> is for the smaller output file.

Can you please explain in more detail how you're measuring or
projecting this?

-- 
Martin 


More information about the distcc mailing list