[pypy-dev] Parallel translation?

Paolo Giarrusso p.giarrusso at gmail.com
Sun Dec 6 12:05:00 CET 2009

On Sat, Dec 5, 2009 at 16:44, Armin Rigo <arigo at tunes.org> wrote:
> Hi,
> On Fri, Dec 04, 2009 at 06:18:13PM +0100, Antonio Cuni wrote:
>> I agree that at this point in time we cannot or don't want to make
>> annotation/rtyping/backend parallelizable, but it should definitely be
>> possible to just pass the -j flag to 'make' in an automatic way.
> Of course, that is full of open problems too.  The main one is that each
> gcc process consumes potentially a lot of RAM, so just passing "-j" is
> not a great idea, as all gccs are started in parallel.  It looks like
> some obscure tweak is needed, like setting -j to a number that depends
> not only on the number of CPUs (as is classically done) but also on the
> total RAM of the system...

My 2 cents: for C++ I would be really worried, but for C I'd guess
that even with 4 CPUs (i.e. classically 5 jobs) one is not going to go
over 1Gb... or not?
Dear Sven-Hendrik, would you verify this idea by launching make by
hand, as suggested?

(Now, I'm going back to just lurking).

Paolo Giarrusso

More information about the Pypy-dev mailing list