From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.devel Subject: Re: indirect threading for bytecode interpreter Date: Sun, 20 Sep 2009 18:58:53 -0700 (PDT) Message-ID: <200909210158.n8L1wr55000349@godzilla.ics.uci.edu> References: <200909181915.n8IJFfw7006915@godzilla.ics.uci.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1253498455 30808 80.91.229.12 (21 Sep 2009 02:00:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 21 Sep 2009 02:00:55 +0000 (UTC) Cc: Emacs development discussions To: Tom Tromey Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Sep 21 04:00:48 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MpYCu-0005Js-7b for ged-emacs-devel@m.gmane.org; Mon, 21 Sep 2009 04:00:48 +0200 Original-Received: from localhost ([127.0.0.1]:60386 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MpYCt-0007nu-Ik for ged-emacs-devel@m.gmane.org; Sun, 20 Sep 2009 22:00:47 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MpYCp-0007no-8W for emacs-devel@gnu.org; Sun, 20 Sep 2009 22:00:43 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MpYCk-0007ms-MV for emacs-devel@gnu.org; Sun, 20 Sep 2009 22:00:43 -0400 Original-Received: from [199.232.76.173] (port=46953 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MpYCk-0007mn-HO for emacs-devel@gnu.org; Sun, 20 Sep 2009 22:00:38 -0400 Original-Received: from barrelv2.ics.uci.edu ([128.195.1.114]:50929) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60) (envelope-from ) id 1MpYCj-0004Bh-PE for emacs-devel@gnu.org; Sun, 20 Sep 2009 22:00:38 -0400 Original-Received: from godzilla.ics.uci.edu (godzilla.ics.uci.edu [128.195.10.101]) by barrelv2.ics.uci.edu (8.13.8+Sun/8.13.8) with ESMTP id n8L1wsXE014419; Sun, 20 Sep 2009 18:58:54 -0700 (PDT) Original-Received: (from dann@localhost) by godzilla.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id n8L1wr55000349; Sun, 20 Sep 2009 18:58:53 -0700 (PDT) Original-Lines: 21 X-ICS-MailScanner-Information: Please contact the ISP for more information X-ICS-MailScanner-ID: n8L1wsXE014419 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) X-ICS-MailScanner-From: dann@godzilla.ics.uci.edu X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (beta) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:115488 Archived-At: Tom Tromey writes: > >>>>> "Dan" == Dan Nicolaescu writes: > > Dan> The overhead of mark_object should be lower in that version (it's > Dan> higher in 23 because of the way charsets are represented). > > I would be interested if you, or anybody, has ideas on how to improve > the performance of mark_object. That is, without a whole GC rewrite :-) Not sure if much can be done about mark_object itself, the issue is the amount of things that need to be marked. Making the GC generational might help. The first GC after startup does 200K mark_object calls, so if most of those don't need to be scanned for each GC, then that might help. If you have a testcase that shows GC problems, maybe posting the test case would enticemore people look into it...