
23 Jun
2009
23 Jun
'09
8:26 p.m.
On Jun 23, 9:35 am, Bulat Ziganshin
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
I have a dual core with 3M L2 cache, but setting this value to anyting more than 1M slows down the program.