lilypond-devel
[Top][All Lists]
Advanced

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

Re: Allow parallelism in input/regression/lilypond-book/ (issue 54768004


From: David Kastrup
Subject: Re: Allow parallelism in input/regression/lilypond-book/ (issue 547680043 by address@hidden)
Date: Sun, 23 Feb 2020 12:16:42 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Han-Wen Nienhuys <address@hidden> writes:

> On Sun, Feb 23, 2020 at 12:00 PM <address@hidden> wrote:
>> > to answer your original question: I think the \sourcefileline
>> statements can
>> > differ between snippets written from different lp-book instances, and
>> this can
>> > trigger a consistency check failure.
>>
>> So wouldn't it appear that the way to exploit parallelism with
>> lilypond-book, short of writing its own jobserver, is to use CPU_COUNT
>> like we did before?
>
> I think we should do both: the lilypond runs in lp-book should be
> protected by some sort of lock, and we should use both CPU_COUNT=M and
> -jN.
>
> then worst case, you have M lilypond processes and N-1 other jobs.
>
> BTW,  you run at -j8 with only 4 CPUs, right? If you have an SSD
> drive, this is probably doesn't bring benefits, as there is no I/O
> delay any more that you can paper over with CPU bound tasks.

I run with -j9, using 1 CPU for I/O latency and 4 CPUs for
hyperthreading.  I wish there were no I/O delay any more, that would be
nice.

-- 
David Kastrup



reply via email to

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