all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: David Kastrup <dak@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: indirect threading for bytecode interpreter
Date: Mon, 21 Sep 2009 10:46:09 -0400	[thread overview]
Message-ID: <jwv7hvsz7bn.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <87vdjcv3fe.fsf@lola.goethe.zz> (David Kastrup's message of "Mon,  21 Sep 2009 15:21:41 +0200")

>>> I've profiled (using oprofile) Emacs running this a few times;
>>> typical results show mark_object at 10-12% of runtime.  It is
>>> probably pretty easy to reproduce this with a variety of elisp
>>> programs.
>> So no matter how hard we try, we won't gain more than about 10%
>> speed-up trying to optimize the GC.  Doesn't sound like a great
>> motivator.
> The 10% occur in bursts of unresponsiveness.  If such a burst is halved
> in size, the total runtime improvement will not be impressive, but the
> responsiveness gets quite better.

That is true.  To help solve this, we should aim to move towards
a concurrent GC (i.e. a GC that's actually likely to be slower, but
won't cause unresponsiveness).


        Stefan




  parent reply	other threads:[~2009-09-21 14:46 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-17 16:46 indirect threading for bytecode interpreter Tom Tromey
2009-09-17 18:21 ` Stefan Monnier
2009-09-17 19:20 ` Helmut Eller
2009-09-17 19:38   ` Tom Tromey
2009-09-17 20:41     ` Helmut Eller
2009-09-17 21:06       ` Tom Tromey
2009-09-17 22:48         ` Helmut Eller
2009-09-18  0:59         ` Stefan Monnier
2009-09-18  2:59           ` Tom Tromey
2009-09-17 20:43     ` Stefan Monnier
2009-09-17 20:57       ` Tom Tromey
2009-09-18 19:15 ` Dan Nicolaescu
2009-09-18 20:26   ` Tom Tromey
2009-09-21  1:58     ` Dan Nicolaescu
2009-09-21  3:17       ` Tom Tromey
2009-09-21 13:13         ` Stefan Monnier
2009-09-21 13:21           ` David Kastrup
2009-09-21 13:47             ` joakim
2009-09-21 14:46             ` Stefan Monnier [this message]
2009-09-21 14:27           ` Tom Tromey

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwv7hvsz7bn.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=dak@gnu.org \
    --cc=emacs-devel@gnu.org \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.