[Haskell-cafe] SMP parallelism increasing GC time dramatically

Gregory Collins greg at gregorycollins.net
Mon Oct 10 16:07:49 CEST 2011

On Mon, Oct 10, 2011 at 3:55 PM, Tom Thorne <thomas.thorne21 at gmail.com> wrote:
> Yes I will try to run threadscope on it, I tried it before and the event log output produced about 1.8GB, and then crashed.
> Is there any way to tell the RTS to perform GC less often? My code doesn't use too much memory and I'm using fairly hefty machines (e.g one with 48 cores and 128GB of RAM) and so perhaps the default/heuristic settings aren't optimal.

Increasing "-A" and "-H" in the RTS options should help with this.

Gregory Collins <greg at gregorycollins.net>

More information about the Haskell-Cafe mailing list