Dynamic libraries by default and GHC 7.8

Ian Lynagh ian at well-typed.com
Wed Nov 28 13:48:43 CET 2012


On Wed, Nov 28, 2012 at 09:20:57AM +0000, Simon Marlow wrote:
> 
> My personal opinion is that we should switch to dynamic-by-default
> on all x86_64 platforms, and OS X x86. The performance penalty for
> x86/Linux is too high (30%),

FWIW, if they're able to move from x86 static to x86_64 dynamic then
there's only a ~15% difference overall:

Run Time
-1 s.d. -----   -18.7%
+1 s.d. -----   +60.5%
Average -----   +14.2%

Mutator Time
-1 s.d. -----   -29.0%
+1 s.d. -----   +33.7%
Average -----   -2.6%

GC Time
-1 s.d. -----   +22.0%
+1 s.d. -----   +116.1%
Average -----   +62.4%

> I am slightly concerned about the GC overhead on x86_64/Linux (8%),
> but I think the benefits outweigh the penalty there, and I can
> probably investigate to find out where the overhead is coming from.

Improving this would also help the above, of course.


Thanks
Ian




More information about the Glasgow-haskell-users mailing list