Performance on amd64

Simon Marlow simonmar at microsoft.com
Tue Jul 5 07:39:04 EDT 2005


On 05 July 2005 10:38, John Skaller wrote:

>         Can someone comment on the Debian package for Ubuntu Hoary
>         providing ghc-6.2.2 with binary for amd64?

You're probably running an unregisterised build, which is going to be
generating code at least a factor of 2 slower than a registerised build.
You can get an up to date snapshot of 6.4.1 for Linux/x86_64 here:

http://www.haskell.org/ghc/dist/stable/dist/ghc-6.4.1.20050704-x86_64-un
known-linux.tar.bz2

This build is registerised, but doesn't have the native code generator.

>         I'm asking because I'm unexpectedly getting really bad
>         performance as you can see here:
> 
>        
> http://felix.sourceforge.net/current/speed/en_flx_perf_0005.html 
> 
>         and here:
> 
>        
> http://felix.sourceforge.net/current/speed/en_flx_perf_0011.html 
> 
>         These links are unstable, this one should always have
>         the latest results:
> 
>         http://felix.sourceforge.net/current/speed/en_flx_perf.html
> 
>         The compilation is using:
> 
>         ghc -O3 -fvia-C -optc -O3
> 
>         which can probably be tweaked, any advice on that appreciated.

I hope you're not going to conclude *anything* based on the performance
of ackermann and tak! :-)

Cheers,
	Simon


More information about the Glasgow-haskell-users mailing list