[Haskell-cafe] Threading and Mullticore Computation

mwinter at brocku.ca mwinter at brocku.ca
Tue Mar 3 12:36:53 EST 2009


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, <mwinter at 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 
> 




More information about the Haskell-Cafe mailing list