[Haskell-cafe] forkIO on multicore

Don Stewart dons at galois.com
Fri Dec 19 11:37:09 EST 2008


pkeir:
> Hi all,
> 
> I'm seeing no performance increase with a simple coarse-grained
> 2-thread code using Control.Concurrent. I compile with:
> 
> >  hc conc.hs -o conc --make -threaded

Also, if you care about performance in the slightest , please use -O2
Code is typically 10-30x faster with optimisations on.

-- Don


More information about the Haskell-Cafe mailing list