[Haskell-cafe] Control.Parallel.Strategies

Sebastian Sylvan sebastian.sylvan at gmail.com
Fri Apr 11 07:27:32 EDT 2008


On Fri, Apr 11, 2008 at 10:43 AM, Don Stewart <dons at galois.com> wrote:

> sebastian.sylvan:
> >    On Wed, Apr 9, 2008 at 10:58 PM, Justin Bailey <[1]jgbailey at gmail.com
> >
> >    wrote:
> >
> >      On Wed, Apr 9, 2008 at 2:25 PM, Sebastian Sylvan
> >      <[2]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 [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.
>
Yes I've tried both, neither helped.



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


More information about the Haskell-Cafe mailing list