[Top][All Lists]

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

Re: `make check' overworks one core on my Core2 quad

From: Graham Percival
Subject: Re: `make check' overworks one core on my Core2 quad
Date: Sun, 13 Dec 2009 16:02:48 +0000

On Sun, Dec 13, 2009 at 3:55 PM, Han-Wen Nienhuys <address@hidden> wrote:
> Oh wait - there is one thing I did not think about: snippets may be
> shared by different documents,

Yes, that was my point about snippets being included in snippets.tely
and (for example) rhythms.itely.

> For now, the easy fix is to use -j1 with CPU_COUNT for building the docs.

Yes; that became the recommended way in Oct.  But it's much slower
than it would otherwise be.

> A more elaborate solution would be either some kind of locking, or to
> check whether the .ps / .pdf exists before actually processing the
> .ly; the latter is still suscepitible to races, though, but a check
> could make the opportunity window smaller.

I think a .lock would be good.  That's the typical solution to
everything when it comes to parallel processing.  :)

- Graham

reply via email to

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