[m-dev.] boehm gc USE_MUNMAP
Julien Fischer
juliensf at csse.unimelb.edu.au
Fri Jan 18 16:15:47 AEDT 2008
On Fri, 18 Jan 2008, Peter Wang wrote:
> We're seeing (probably) heap fragmentation leading to unexpectedly large
> heaps for a particular application. Following the Boehm GC
> documentation, I linked it against a copy of libgc built with the
> USE_MUNMAP option which lets it return unused pages to the OS.
> It solved the problem with that application.
>
> The following speed test on saturn shows a ~20% slow down with this
> option, so I assume we wouldn't want it on by default. However, we
> could add it as a new grade component, say gc_unmap. I think it would
> be generally useful.
I'm not exactly thrilled about the prospect of adding yet-another-grade,
but since these things are easier to use when you can install two
versions of the library concurrently, e.g. asm_fast.gc and
asm_fast.gc_unmap, I don't have any objections to adding an new
grade component.
Julien.
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to: mercury-developers at csse.unimelb.edu.au
Administrative Queries: owner-mercury-developers at csse.unimelb.edu.au
Subscriptions: mercury-developers-request at csse.unimelb.edu.au
--------------------------------------------------------------------------
More information about the developers
mailing list