"+RTS -A" parameter and CPU cache size
Simon Marlow
simonmar at microsoft.com
Fri Jun 16 12:07:08 EDT 2006
On 16 June 2006 15:51, Bulat Ziganshin wrote:
> i think that when "-A" is larger than cpu cache, it's increasing
> should decrease GC times. there is no "best point", it's just
> memory/speed compromise. when -A is large enough, GC times should be a
> small percent of total execution time, so it should be no much
> difference between 6m or 16m settings. but 16m should be slightly
> faster than 6m, and 32m should be slightly faster than 16m
Well yes, obviously.
> i've just tested GHC with "-A6m" and "-A16m" and it was only 1 second
> faster with second setting (of total 60 seconds)
Thanks.
Simon
More information about the Glasgow-haskell-users
mailing list