[Ecls-list] More precise scanning

Juan Jose Garcia-Ripoll juanjose.garciaripoll at googlemail.com
Mon Feb 1 15:46:26 UTC 2010


I have implemented a new option, --enable-precisegc, which is linked to new
ways of using the garbage collector.

The objective is to increase the accuracy of the mark phase, so that no or
little data is retained, and the whole process becomes faster. Numbers are
not yet optimal, but show a decrease in memory use and slight speedups.

Note that these are not final numbers, since we are still in the process of
learning from the GC developers how to best use their library. Future
changes that I would like to achieve with their help are: use of custom
marking procedures for the interpreter and lisp stacks, inlining object
allocation, better garbage collector statistics, parallel marking... As
usual, help is welcome.

Juanjo

;;; Running full test suite with type information (64-bits)
real time : 185.434 secs
run time  : 113.466 secs
gc count  : 146 times
consed    : 3483573056 bytes
;;; ... and without it (64-bits)
real time : 190.076 secs
run time  : 118.702 secs
gc count  : 492 times
consed    : 52093198016 bytes

;;; Bignum tests (see mailing list archive) (64-bits)
real time : 0.050 secs
run time  : 0.048 secs
gc count  : 2 times
consed    : 12948224 bytes
real time : 0.914 secs
run time  : 0.910 secs
gc count  : 69 times
consed    : 725234496 bytes
real time : 3.403 secs
run time  : 3.388 secs
gc count  : 410 times
consed    : 4352812928 bytes
;;; ... and without type information
real time : 0.048 secs
run time  : 0.044 secs
gc count  : 22 times
consed    : 388736768 bytes
real time : 1.075 secs
run time  : 1.073 secs
gc count  : 856 times
consed    : 8156832384 bytes
real time : 3.995 secs
run time  : 3.983 secs
gc count  : 3259 times
consed    : 30745329216 bytes


;;; Bignum tests with type information (32-bits)
real time : 0.184 secs
run time  : 0.180 secs
gc count  : 5 times
consed    : 12026192 bytes
real time : 3.731 secs
run time  : 3.696 secs
gc count  : 245 times
consed    : 655936912 bytes
real time : 13.549 secs
run time  : 13.446 secs
gc count  : 1353 times
consed    : 3838393264 bytes
;;; ... and without type information
real time : 0.190 secs
run time  : 0.187 secs
gc count  : 5 times
consed    : 10003392 bytes
real time : 3.915 secs
run time  : 3.888 secs
gc count  : 260 times
consed    : 667864528 bytes
real time : 14.388 secs
run time  : 14.286 secs
gc count  : 1451 times
consed    : 3950312096 bytes


-- 
Instituto de Física Fundamental, CSIC
c/ Serrano, 113b, Madrid 28006 (Spain)
http://juanjose.garciaripoll.googlepages.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/ecl-devel/attachments/20100201/00b0ab9f/attachment.html>


More information about the ecl-devel mailing list