[Top][All Lists]

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

Re: multiple cpu's

From: Ralf Wildenhues
Subject: Re: multiple cpu's
Date: Sun, 12 Aug 2007 23:09:48 +0200
User-agent: Mutt/1.5.13 (2006-08-11)

Hello Jim,

* Jim Meyering wrote on Sun, Aug 12, 2007 at 12:46:20PM CEST:
> On a related note, it'd sure be nice if "make -j4 check" would run its
> tests in parallel.  Especially on an SMP system, and/or when some
> tests sleep for a few (interminable :-) seconds.
> Of course, this might not be trivial, especially trying to keep
> the resulting portable.  However, even if it means
> I'd need to use a special option to generate a GNU-make-only
>, I'd happily use the result for day to day work.

IIRC, Akim Demaille posted a patch a while ago on an automake list for
this, GNU make-specific.  I don't recall how much work was left to do,
but on my list it's a bit on the far end.

> Currently, the check-TESTS rule is just a big for-loop.
> Recording pass, fail, xfail, and skip subtotals in parallel might
> be a challenge, but I'd be happy to sacrifice those along
> with portability, in return for parallelized tests.

When in doubt, let 'make' do the parallelism for you; e.g., each
status output of a test to be run is a target (file), do all those,
collect (read) the results serially afterwards.  I think Paul suggested
something similar already, but that could also have been for Autotest.

Hope that helps.


reply via email to

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