
sebastian.sylvan:
On Wed, Apr 9, 2008 at 10:58 PM, Justin Bailey <[1]jgbailey@gmail.com> wrote:
On Wed, Apr 9, 2008 at 2:25 PM, Sebastian Sylvan <[2]sebastian.sylvan@gmail.com> wrote: > Nope! > > This is GHC 6.8.2 btw, downloaded the binary from the web site, so it's > nothing strange.
On my hyper-threaded CPU, your original code works fine. With -N2, I see 100% CPU. With N1, only 50%. I am also using GHC [3]6.8.2. Justin
Hmm, that's curious. I compile with "ghc --make -threaded partest.hs -o par.exe", and then run it with "par.exe +RTS -N2 -RTS". Am I making some silly configuration error? Are you running this on windows?
I think its always worth using -O or -O2 too, for what its worth. -- Don