28 Nov
2007
28 Nov
'07
10:06 a.m.
Silly mistake. I had compiled with -threaded, but forgot the +RTS -N2. However, I have a more complex app, where I haven't forgotton to use the right flags :-) and the utilisation of cores is very poor. I am thinking it is due to laziness. I am currently wondering how GHC handles the case where the function that is being forked uses lazy arguments? On Nov 28, 2007 10:54 AM, Spencer Janssen <sjanssen@cse.unl.edu> wrote:
Did you compile with -threaded, and run with +RTS -N2?
Regards brad -- www.scoodi.com Recycle is good: Reuse is better