On Fri, Aug 05, 2011 at 03:09:11PM +0100, Simon Marlow wrote:
>
> I get almost identical results on my Linux box here. Ok, so to
> summarise the T4801 results:
>
> peak MB: Linux; 61
> OS X : 72
>
> allocations: Linux: 72GB
> OS X: 81GB
>
> those differences are large enough to be a concern, I think (>10%).
>
> There are no differences in the RTS that would cause extra
> allocation on OS X. It seems to be just the compiler tests that
> need more memory - so something in GHC maybe?
Here's T4801 run with -hT:
http://lambda.haskell.org/~igloo/linux.png
http://lambda.haskell.org/~igloo/mac.png
It looks like they're the same until the code gen stage, where we use
more memory to generate MachO code than ELF code. Could be due to some
missing strictness, as it looks like there is quite a bit of extra
THUNK.
FWIW, here are the compiler stats:
Linux:
[("bytes allocated", "723833288")
,("num_GCs", "1297")
,("average_bytes_used", "15074188")
,("max_bytes_used", "22636088")
,("num_byte_usage_samples", "1297")
,("peak_megabytes_allocated", "59")
,("init_cpu_seconds", "0.00")
,("init_wall_seconds", "0.00")
,("mutator_cpu_seconds", "0.91")
,("mutator_wall_seconds", "1.05")
,("GC_cpu_seconds", "75.07")
,("GC_wall_seconds", "75.07")
]
Mac:
[("bytes allocated", "812618832")
,("num_GCs", "1466")
,("average_bytes_used", "16302266")
,("max_bytes_used", "27078816")
,("num_byte_usage_samples", "1466")
,("peak_megabytes_allocated", "69")
,("init_cpu_seconds", "0.00")
,("init_wall_seconds", "0.00")
,("mutator_cpu_seconds", "0.79")
,("mutator_wall_seconds", "1.06")
,("GC_cpu_seconds", "73.02")
,("GC_wall_seconds", "74.44")
]
Thanks
Ian
_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc