[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:46:15 +0000 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
On Sun, Dec 13, 2009 at 02:27:53PM -0200, Han-Wen Nienhuys wrote:
> On Sun, Dec 13, 2009 at 2:02 PM, Graham Percival
> <address@hidden> wrote:
> >> 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.
>
> That surprises me. I thought the majority of the time was spent
> running LilyPond, which would be efficient with CPU_COUNT set, so the
> difference should be small.
Ack! Sorry, I misread your solution. It never occurred to me to
try -j1 CPU_COUNT=4. I'll do that tomorrow.
> >> 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. :)
>
> Right - the script should do an flock() on the database directory when
> opening it.
>
> (doesnt work on NFS though)
On the entire directory, or just on the lybook-db/??/ dir?
Cheers,
- Graham
- Re: `make check' overworks one core on my Core2 quad, (continued)
- Re: `make check' overworks one core on my Core2 quad, Han-Wen Nienhuys, 2009/12/13
- Re: `make check' overworks one core on my Core2 quad, Graham Percival, 2009/12/13
- Re: `make check' overworks one core on my Core2 quad, David Kastrup, 2009/12/13
- Re: `make check' overworks one core on my Core2 quad, Han-Wen Nienhuys, 2009/12/13
- Re: `make check' overworks one core on my Core2 quad, David Kastrup, 2009/12/13
- Re: `make check' overworks one core on my Core2 quad, Han-Wen Nienhuys, 2009/12/13
- Re: `make check' overworks one core on my Core2 quad, Graham Percival, 2009/12/13
- Re: `make check' overworks one core on my Core2 quad, Han-Wen Nienhuys, 2009/12/13
- Re: `make check' overworks one core on my Core2 quad,
Graham Percival <=
- Re: `make check' overworks one core on my Core2 quad, Han-Wen Nienhuys, 2009/12/13
- Re: `make check' overworks one core on my Core2 quad, John Mandereau, 2009/12/13
- Re: `make check' overworks one core on my Core2 quad, Graham Percival, 2009/12/14
- Re: `make check' overworks one core on my Core2 quad, David Kastrup, 2009/12/14
- Re: `make check' overworks one core on my Core2 quad, John Mandereau, 2009/12/14
- Re: `make check' overworks one core on my Core2 quad, Graham Percival, 2009/12/14
- Re: `make check' overworks one core on my Core2 quad, David Kastrup, 2009/12/14
- Re: `make check' overworks one core on my Core2 quad, John Mandereau, 2009/12/14
- Re: `make check' overworks one core on my Core2 quad, John Mandereau, 2009/12/13
- Re: `make check' overworks one core on my Core2 quad, John Mandereau, 2009/12/13