[Haskell-cafe] Multi threaded garbage collector

Peter Verswyvelen bf3 at telenet.be
Sun May 18 08:47:22 EDT 2008


Hi all,

I did some experiments with concurrent Haskell, and unfortunately I 
couldn't get my code run faster when using more cores, actually it ran a 
bit slower.

Now I noticed after profiling that about 70% of the time my program was 
performing garbage collection (I had lists of 50000 tiny objects that 
got recreated 100 times per second).

If I understood it correctly, the current garbage collector of GHC is 
single threaded, which really hinders SMP

Any plans on improving this or workarounds?

Thanks,
Peter

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20080518/43ba4188/attachment.htm


More information about the Haskell-Cafe mailing list