[Haskell-cafe] Re: GHC performance of 64-bit

Stefan Monnier monnier at iro.umontreal.ca
Mon Jan 8 10:44:28 EST 2007

> 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?

Could it be the effect of doubling the size of pretty much everything,
leading to poorer memory-hierarchy performance?


More information about the Haskell-Cafe mailing list