<br><br>
<div class="gmail_quote">On Fri, Apr 11, 2008 at 10:43 AM, Don Stewart &lt;<a href="mailto:dons@galois.com">dons@galois.com</a>&gt; wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">sebastian.sylvan:<br>&gt; &nbsp; &nbsp;On Wed, Apr 9, 2008 at 10:58 PM, Justin Bailey &lt;[1]<a href="mailto:jgbailey@gmail.com">jgbailey@gmail.com</a>&gt;<br>

<div class="Ih2E3d">&gt; &nbsp; &nbsp;wrote:<br>&gt;<br>&gt; &nbsp; &nbsp; &nbsp;On Wed, Apr 9, 2008 at 2:25 PM, Sebastian Sylvan<br></div>
<div class="Ih2E3d">&gt; &nbsp; &nbsp; &nbsp;&lt;[2]<a href="mailto:sebastian.sylvan@gmail.com">sebastian.sylvan@gmail.com</a>&gt; wrote:<br>&gt; &nbsp; &nbsp; &nbsp;&gt; Nope!<br>&gt; &nbsp; &nbsp; &nbsp;&gt;<br>&gt; &nbsp; &nbsp; &nbsp;&gt; This is GHC 6.8.2 btw, downloaded the binary from the web site, so<br>
&gt; &nbsp; &nbsp; &nbsp;it&#39;s<br>&gt; &nbsp; &nbsp; &nbsp;&gt; nothing strange.<br>&gt;<br>&gt; &nbsp; &nbsp; &nbsp;On my hyper-threaded CPU, your original code works fine. With -N2, I<br></div>&gt; &nbsp; &nbsp; &nbsp;see 100% CPU. With N1, only 50%. I am also using GHC [3]<a href="http://6.8.2./" target="_blank">6.8.2.</a><br>

<div class="Ih2E3d">&gt; &nbsp; &nbsp; &nbsp;Justin<br>&gt;<br>&gt; &nbsp; &nbsp;Hmm, that&#39;s curious. I compile with &quot;ghc --make -threaded partest.hs -o<br>&gt; &nbsp; &nbsp;par.exe&quot;, and then run it with &quot;par.exe +RTS -N2 -RTS&quot;. Am I making some<br>
&gt; &nbsp; &nbsp;silly configuration error?<br>&gt; &nbsp; &nbsp;Are you running this on windows?<br>&gt;<br><br></div>I think its always worth using -O or -O2 too, for what its worth.<br></blockquote>
<div>Yes I&#39;ve tried both, neither helped.</div></div><br><br clear="all"><br>-- <br>Sebastian Sylvan<br>+44(0)7857-300802<br>UIN: 44640862