From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: joakim@verona.se Newsgroups: gmane.emacs.devel Subject: Re: indirect threading for bytecode interpreter Date: Mon, 21 Sep 2009 15:47:15 +0200 Message-ID: References: <200909181915.n8IJFfw7006915@godzilla.ics.uci.edu> <200909210158.n8L1wr55000349@godzilla.ics.uci.edu> <87vdjcv3fe.fsf@lola.goethe.zz> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1253540874 11196 80.91.229.12 (21 Sep 2009 13:47:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 21 Sep 2009 13:47:54 +0000 (UTC) Cc: emacs-devel@gnu.org To: David Kastrup Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Sep 21 15:47:47 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 1MpjF4-0008R2-Jm for ged-emacs-devel@m.gmane.org; Mon, 21 Sep 2009 15:47:47 +0200 Original-Received: from localhost ([127.0.0.1]:43733 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MpjF3-0005bO-Oi for ged-emacs-devel@m.gmane.org; Mon, 21 Sep 2009 09:47:45 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MpjEt-0005X5-TB for emacs-devel@gnu.org; Mon, 21 Sep 2009 09:47:35 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MpjEo-0005If-DS for emacs-devel@gnu.org; Mon, 21 Sep 2009 09:47:34 -0400 Original-Received: from [199.232.76.173] (port=53855 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MpjEo-0005IH-6Z for emacs-devel@gnu.org; Mon, 21 Sep 2009 09:47:30 -0400 Original-Received: from mx20.gnu.org ([199.232.41.8]:59473) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MpjEl-0006fG-Ni; Mon, 21 Sep 2009 09:47:27 -0400 Original-Received: from proxy2.bredband.net ([195.54.101.72]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MpjEi-0006Kf-St; Mon, 21 Sep 2009 09:47:25 -0400 Original-Received: from iph1.telenor.se (195.54.127.132) by proxy2.bredband.net (7.3.140.3) id 4A8FF71400B69ED5; Mon, 21 Sep 2009 15:47:16 +0200 X-SMTPAUTH-B2: joakvero X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AuBcADsgt0pT44qWPGdsb2JhbACJYpEMAQEBATe2KYQbBQ X-IronPort-AV: E=Sophos;i="4.44,424,1249250400"; d="scan'208";a="46218362" Original-Received: from ua-83-227-138-150.cust.bredbandsbolaget.se (HELO exodia) ([83.227.138.150]) by iph1.telenor.se with ESMTP; 21 Sep 2009 15:47:16 +0200 Original-Received: from localhost.localdomain (DIR-655.lan [192.168.200.113]) (authenticated bits=0) by exodia (8.14.3/8.14.3) with ESMTP id n8LDlFkN026430 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Mon, 21 Sep 2009 15:47:15 +0200 In-Reply-To: <87vdjcv3fe.fsf@lola.goethe.zz> (David Kastrup's message of "Mon, 21 Sep 2009 15:21:41 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) X-detected-operating-system: by mx20.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) 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:115494 Archived-At: David Kastrup writes: > Stefan Monnier writes: > >>> 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. Unresponsiveness is the main cause of intestinal agony, so seems quite worthwile to me. -- Joakim Verona