[m-dev.] Boehm parallel marking performance.
Peter Wang
novalazy at gmail.com
Tue Jun 2 13:43:11 AEST 2009
2009/6/2 Paul Bone <pbone at csse.unimelb.edu.au>:
>
> I've tested the performance of the compiler (using speedtest) with and
> without parallel marking enabled in the garbage collector. Here are the
> results.
>
> Each test was performed with 50 samples, each sample attempts to compile the
> dozen current largest (in terms of bytes) modules in the mercury compiler.
> This was run on taura. I've connected all the statistics generated by
> speedtest, only the 'wall time' measurement is shown below.
>
> Parallel mark improves the speed of the compiler by roughly 6.5 percent when
> running in the asm_fast.gc.par grade. This option is enabled by default in the
> parallel version of the garbage collector.
I assume you deleted @ENABLE_BOEHM_PARALLEL_MARK@ from Mmake.common.in.
It would be interesting to see the improvement from parallel marking in
non-.par grades, and if enabling parallel marking at compile time but not
at runtime has any adverse effects. (Set GC_NPROCS=1)
Peter
--------------------------------------------------------------------------
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