Re: [Haskell-cafe] The Garbage Collector Ate My Homework

On 7/3/07, Thomas Conway
Okay, so a bit of a tweak of the RTS flags, I got a DRAMATIC improvement:
239,434,077,460 bytes allocated in the heap 9,034,063,712 bytes copied during GC (scavenged) 132,748,740 bytes copied during GC (not scavenged) 226,313,736 bytes maximum residency (7 sample(s))
5992 collections in generation 0 (136.16s) 38 collections in generation 1 ( 62.69s) 7 collections in generation 2 ( 1.38s)
792 Mb total memory in use
INIT time 0.00s ( 0.00s elapsed) MUT time 417.54s (673.69s elapsed) GC time 200.23s (205.86s elapsed) EXIT time 0.00s ( 0.00s elapsed) Total time 617.78s (879.55s elapsed)
%GC time 32.4% (23.4% elapsed)
Alloc rate 573,432,968 bytes per MUT second
Productivity 67.6% of total user, 47.5% of total elapsed
The flags I used were: -H500M -G3
Nice -- but did you compare the results if you just add -H500M and not -G3? Cheers, Tim -- Tim Chevalier* catamorphism.org *Often in error, never in doubt "Aw, honey, you can keep what's in my pockets, but send me back my pants." --Greg Brown
participants (1)
-
Tim Chevalier