[Haskell-cafe] Re: Optimizing spelling correction program

Bulat Ziganshin bulat.ziganshin at gmail.com
Tue Jun 23 04:35:05 EDT 2009

Hello Kamil,

Tuesday, June 23, 2009, 11:17:43 AM, you wrote:
>> One easy way to fix the GC time is to increase the default heap size.
>>  ./a.out +RTS -A200M

> It does make the GC only 1.4% of run time but it  increases it overall
> by 14s.

not surprising - you lose L2 cache locality. try to use -A size that
is equal to your L2 cache size

Best regards,
 Bulat                            mailto:Bulat.Ziganshin at gmail.com

More information about the Haskell-Cafe mailing list