[Haskell-cafe] Concurrency performance problem

Łukasz Dąbek sznurek at gmail.com
Tue Mar 5 17:46:25 CET 2013


2013/3/5 Nathan Howell <nathan.d.howell at gmail.com>

> Depends on the application, of course. The (on by default) parallel GC
> tends to kill performance for me... you might try running both with "+RTS
> -sstderr" to see if GC time is significantly higher, and try adding "+RTS
> -qg1" if it is.
>

You are correct: parallel GC is slowing computation down. After some
experiments I can produce two behaviors: use single threaded GC
(multithreaded version is slowed down by factor of 5 - but single threaded
backs to normal) or increase heap size (multithreaded version slows down by
factor of 2, single threaded version runs normally). I guess I must live
with this ;)

--
Łukasz Dąbek
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20130305/fc4ffbe3/attachment.htm>


More information about the Haskell-Cafe mailing list