[Haskell-cafe] Control.Parallel.Strategies

Sebastian Sylvan sebastian.sylvan at gmail.com
Wed Apr 9 18:03:26 EDT 2008


On Wed, Apr 9, 2008 at 10:58 PM, Justin Bailey <jgbailey at gmail.com> wrote:

> On Wed, Apr 9, 2008 at 2:25 PM, Sebastian Sylvan
> <sebastian.sylvan at 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 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?


-- 
Sebastian Sylvan
+44(0)7857-300802
UIN: 44640862
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20080409/5db023fa/attachment.htm


More information about the Haskell-Cafe mailing list