Re: How to better parallelize GHC build.

2015-04-01 Thread Thomas Miedema
Hi Karel, could you try adding `-j8` to `SRC_HC_OPTS` for the build flavor you're using in `mk/build.mk`, and running `gmake -j8` instead of `gmake -j64`. A graph like the one you attached will likely look even worse, but the walltime of your build should hopefully be improved. The build system

Re: How to better parallelize GHC build.

2015-03-07 Thread Herbert Valerio Riedel
On 2015-03-07 at 11:49:53 +0100, Karel Gardas wrote: [...] Is there anything else which may be done to fix that issue? Is someone already working on some of those? (I mean those reasonable from the list)? are you aware of https://ghc.haskell.org/trac/ghc/wiki/Building/Shake and

How to better parallelize GHC build.

2015-03-07 Thread Karel Gardas
Folks, first of all, I remember someone already mentioned issue with decreased parallelism of the GHC build recently somewhere but I cann't find it now. Sorry, for that since otherwise I would use this thread if it was on this mailing list. Anyway, while working on SPARC NCG I'm using

Re: How to better parallelize GHC build.

2015-03-07 Thread Karel Gardas
On 03/ 7/15 12:09 PM, Herbert Valerio Riedel wrote: On 2015-03-07 at 11:49:53 +0100, Karel Gardas wrote: [...] Is there anything else which may be done to fix that issue? Is someone already working on some of those? (I mean those reasonable from the list)? are you aware of