[MLton-devel] mremap() in MLton

Stephen Weeks MLton@mlton.org
Thu, 19 Sep 2002 21:45:08 -0700

> In the ancient days (VAX computers) madvise() was definitely a win.  It was put
> into Unix for lisp and the key tweak was to use MADV_RANDOM during GC and
> then to set it back to MADV_NORMAL when the GC finished.  I don't know if that
> is still sane advice now.

Jesper, if you're interested in doing some coding to help us out, it
would be a reasonably simple and self-contained experiment to see if
you could get consistent performance improvements (on FreeBSD or
Linux) with suitable use of madvise.  If you haven't seen it yet, the
place to look is doGC() in runtime/gc.c.

This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
MLton-devel mailing list