It gets a bit faster in general but the problem remains. I have two threads in both runs, once I use 1 core and then 2 cores. The second run is much slower.
On 3 Mar 2009 at 17:32, Sebastian Sylvan wrote: > > > > On Tue, Mar 3, 2009 at 5:31 PM, <mwin...@brocku.ca> wrote: > In both runs the same computations are done (sequentially resp. > parallel), so the gc should be the same. But still using 2 cores is > much slower than using 1 core (same program - no communication). > > Might there not be contention in the allocator/GC that's worsened by having > two threads? > What happens with -O2? > -- > Sebastian Sylvan > +44(0)7857-300802 > UIN: 44640862 > _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe