[Haskell-cafe] SMP parallelism increasing GC time dramatically

Erik Hesselink hesselink at gmail.com
Mon Oct 10 19:12:43 CEST 2011


On Mon, Oct 10, 2011 at 16:44, Tom Thorne <thomas.thorne21 at gmail.com> wrote:
> thanks! I just tried setting -A32M and this seems to fix the parallel GC
> problems, I now get a speedup with parallel GC on and performance is the
> same as passing -qg. I had tried -H before and it only made things worse,
> but -A seems to do the trick.

You might be able to use ghc-gc-tune [1] to find the right settings
for -A and -H.

Erik

[1] http://hackage.haskell.org/package/ghc-gc-tune



More information about the Haskell-Cafe mailing list