From: Han-Wen <hanwen@cs.uu.nl>
Subject: lazy sweeping.
Date: Mon, 29 Jul 2002 01:32:24 +0200 [thread overview]
Message-ID: <15684.32520.154258.348830@blauw.xs4all.nl> (raw)
Here are some results of my lazy sweeping implementation:
Java tree benchmark
1.7.0:
time ~/usr/bin/guile -s /tmp/GCBench.scheme.txt
user 2m20.350s
sys 0m0.310s
1.7.0 + newgc + lazy sweeping
time ./libguile/.libs/lt-guile -s /tmp/GCBench.scheme.txt
user 2m20.120s
sys 0m0.240s
Nothing spectacular. But now checkout ... the startup time!
(this is the time for starting guile, and then pressing ^D)
1.7.0:
time ~/usr/bin/guile
user 0m0.170s
sys 0m0.000s
1.7.0 + newgc + lazy sweeping
user 0m0.090s
sys 0m0.010s
The lazy sweeping approximately halves the startup time of GUILE. I
consider the old GC beat; when can we start integrating this?
http://www.cs.uu.nl/~hanwen/public/guile/lazy-sweeping.tar.gz
Implementation notes:
* Lazy sweeping sounds like a feature, but it actually leads to
simpler, more natural code than the old sweeping code.
* Various debug functions (mainly those having to do with checking
the freelist) become moot; I removed them.
* I removed SCM_FREECELL_P(). It's meaning has become ambiguous.
* Lazy sweeping naturally complements multi-threaded use: whenever a
thread runs out of free cells, we can simply sweep a few (say 512)
cells, and return that for private use by that thread.
* Et ceteram censeo GUILE 1.6 releasem esse.
--
Han-Wen Nienhuys | hanwen@cs.uu.nl | http://www.cs.uu.nl/~hanwen
_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-devel
next reply other threads:[~2002-07-28 23:32 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-07-28 23:32 Han-Wen [this message]
2002-07-29 0:07 ` lazy sweeping Michael Livshin
2002-07-29 9:48 ` Han-Wen Nienhuys
2002-07-29 10:14 ` Michael Livshin
2002-07-29 12:40 ` Han-Wen Nienhuys
2002-07-29 13:00 ` Michael Livshin
2002-07-29 13:06 ` Han-Wen Nienhuys
2002-07-30 10:09 ` Han-Wen
2002-07-30 12:10 ` Michael Livshin
2002-07-29 4:31 ` Tom Lord
2002-07-29 15:17 ` Han-Wen Nienhuys
2002-07-29 13:16 ` Mikael Djurfeldt
2002-07-29 13:22 ` Han-Wen Nienhuys
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=15684.32520.154258.348830@blauw.xs4all.nl \
--to=hanwen@cs.uu.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).