[Haskell-cafe] GHC performance of 64-bit

Pedro Baltazar Vasconcelos pbv at dcc.fc.up.pt
Fri Jan 5 12:51:43 EST 2007



Hello all,

I noticed that GHC generates slower code on an Linux amd64 bit platform than the 32-bit version on a cheaper 32-bit machine.
CPUTime for running sieve of Erathostenes to generate 10,000 primes:
Athlon XP 2800 (32-bit): 7.98 secs
Athlon 64 3800 (64-bit): 10.29 secs
This is using GHC 6.6 on the 64-bit machine and 6.4.1 on the 32-bit one.

I googled around and could not find any information regarding degraded performance of ghc/haskell on 64-bit machines. Any ideas?

Regards,

Pedro


More information about the Haskell-Cafe mailing list