[distcc] Lock before preprocess?

Martin Pool mbp at sourcefrog.net
Wed Aug 25 12:51:43 GMT 2004


On 25 Aug 2004, Perochon Sebastien <Sebastien.Perochon at mmarelli-se.com> wrote:
> I don't know what you're talking about, so maybe I will be out of subject
> ;-), but when you say:
> 
> "Normally running the preprocessor is so cheap compared to running the
> remote compiler that it makes no difference."
> 
> I can tell you that on our big project, it is not true.
> Time to preprocess a file is very long due to lot of inclusion of headers
> files, lot of use of define flags, ...

Can you tell me something about the CPU usage numbers from the verbose logs?

> And because preprocessing is done on only the host computer, this is the
> weak point of distcc in our project. Preprocessing time is what is limiting
> the speed of distributed compilation time for us.

-- 
Martin



More information about the distcc mailing list