On Jul 1, 2011, at 2:05 PM, Simon Marlow wrote:

> On 30/06/11 17:43, David Peixotto wrote:
>> I have made the changes necessary to compile GHC with llvm-gcc. The
>> major change was to use the pthread api for thread level storage to
>> access the gct variable during garbage collection. My measurements
>> indicate this causes an average slowdown of about 5% for gc heavy
>> programs. The changes are available from the `clang` branch on my
>> github fork.
> 
> Sounds good.  One question: did you measure the GC performance with 
> -threaded?  Because the thread-specific variable in the GC is only used with 
> -threaded.
> 

Oops, I totally forgot about that :\ Those numbers were actually for the 
non-threaded runtime, so they don't measure the changes to the GC just the 
difference in compiling with llvm-gcc. I'll rerun the benchmarks with 
-threaded. Sorry about that!


_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to