[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [RFC]serialize the output of parallel make?

From: Tim Murphy
Subject: Re: [RFC]serialize the output of parallel make?
Date: Fri, 30 Jul 2010 10:27:03 +0100

On 30 July 2010 09:55, Chiheng Xu <address@hidden> wrote:
> On Fri, Jul 30, 2010 at 4:40 PM, Tim Murphy <address@hidden> wrote:
>> Hi,
>> You set talon as the shell for make and talon in turn runs whatever
>> the actual shell is but adds the serialisation.  there are a lot of
>> other nice things you can do with this - e.g. measuring the execution
>> time of every build step so that you can see what affects performance.
> Sorry, I don't understand this.
> You probably misunderstand the meaning of "serialization of output"
> and "parallel make".

No, I understand better than you think as I do huge parallel builds every day.

The shell wrapper buffers the recipe output and then grabs a semaphore
before writing the output to it's stdout..  if another recipe has
completed and is in the process of outputting to the stdout then it
has to wait a few microseconds.

This system works reliably and has given us de-scrambled output for
the last 2 years.



You could help some brave and decent people to have access to
uncensored news by making a donation at:


reply via email to

[Prev in Thread] Current Thread [Next in Thread]