From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ken Raeburn Newsgroups: gmane.emacs.devel Subject: Re: Removal of unexec support from glibc malloc Date: Mon, 18 Jan 2016 20:44:48 -0500 Message-ID: <1F560A56-37A2-482D-9010-8733E906FD16@raeburn.org> References: <569CDB81.6040600@redhat.com> <569D6B1E.6020002@emvision.com> <569D8E0B.1010603@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 9.2 \(3112\)) Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1453167987 7779 80.91.229.3 (19 Jan 2016 01:46:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 19 Jan 2016 01:46:27 +0000 (UTC) Cc: Ali Bahrami , emacs-devel@gnu.org To: Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jan 19 02:46:21 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aLLND-0007Dn-G7 for ged-emacs-devel@m.gmane.org; Tue, 19 Jan 2016 02:46:19 +0100 Original-Received: from localhost ([::1]:34487 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aLLN9-0003JV-Ox for ged-emacs-devel@m.gmane.org; Mon, 18 Jan 2016 20:46:15 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33788) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aLLLq-0000fX-Up for emacs-devel@gnu.org; Mon, 18 Jan 2016 20:44:55 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aLLLn-0007iT-PB for emacs-devel@gnu.org; Mon, 18 Jan 2016 20:44:54 -0500 Original-Received: from mail-qg0-x22f.google.com ([2607:f8b0:400d:c04::22f]:36724) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aLLLn-0007iD-Ic for emacs-devel@gnu.org; Mon, 18 Jan 2016 20:44:51 -0500 Original-Received: by mail-qg0-x22f.google.com with SMTP id e32so482164491qgf.3 for ; Mon, 18 Jan 2016 17:44:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raeburn-org.20150623.gappssmtp.com; s=20150623; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=ElnSTZoYhUtvVXyMO1pWqTfPnYeYhXij22JqAvejQw4=; b=2PBKv04bbPQJiKV6zTPtCFnhT/7nHR9YvMSRzhxyoBb2x509v66p6jSh5HXkUzNzw0 xr8aG5iBaDGV3ylVWxsPnlESkkObCxSl/f2URmJU0ZXrYA0FrlaRcZ6NTKFFA6RlFBC2 PAzhmp13G7sSaxshhZV9pqx1N0pmD1oXtkBD/D5G5OlRCr9IF1sSovMG9MfVIBAXV8KL OwwoS8y59PoC4eI+u+S0Onne8CEsop/X3uurYfartHIcqkC7j4sYwS069b397poorgN4 MhSyieha2gyRw6eMGvNXKMyFHtUR6x2DBo80buGY2A7PnoE83lCe9QwZrLqlJVzKJLpj 0R5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:mime-version:content-type:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to; bh=ElnSTZoYhUtvVXyMO1pWqTfPnYeYhXij22JqAvejQw4=; b=BE+qx/B+Q5Db52dFwmMdQpGuoJbEFwCFFpBWzFbhh6q/TOFCT2TYky6QatAoLavLxt 6v4dxmaS2Dtp45y8/pnSn9lgbhwUro+lj/ODW3b0uZ7tvgFSvNUF9bb9bx5Kw/Q3TUid CSN02h9z6BaH0rcgX/x0MTHLnPpFtskazfCciOOs0z5FhNbi+aeEl7Vipsggt+hDKQWA brdPa0RMhO5IQqXfwmVYPQdlt8t5WFIdEHVgAY7v9+q8LlLr/D5rn5nYIdI4ELWJadxK bDrrcAql2PyZNnU/NgkdKXoBCskCkO2jsjxtJzj/Z0dVNMMKQJpaVVDrGM48Hffph1sV dktQ== X-Gm-Message-State: ALoCoQm+rWWjCzMiDqeX26ZaSo9aJ/TuZAZP4LrMyx9YUZhrVh2rCaZpex8bnitrZNJVBp8xGArmLGlFqLgdnqvT/YisrWglZA== X-Received: by 10.140.196.196 with SMTP id r187mr36118664qha.60.1453167890664; Mon, 18 Jan 2016 17:44:50 -0800 (PST) Original-Received: from [192.168.17.112] (c-66-31-203-101.hsd1.ma.comcast.net. [66.31.203.101]) by smtp.gmail.com with ESMTPSA id 184sm11217883qhr.15.2016.01.18.17.44.49 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 18 Jan 2016 17:44:49 -0800 (PST) In-Reply-To: <569D8E0B.1010603@yandex.ru> X-Mailer: Apple Mail (2.3112) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:400d:c04::22f X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:198326 Archived-At: > On Jan 18, 2016, at 20:14, Dmitry Gutov wrote: >=20 > On 01/19/2016 01:45 AM, Ali Bahrami wrote: >=20 >> Before you fight to to save unexec, I'd encourage you to measure the >> impact, and see if it still matters. >=20 > As a rough measurement, 'src/emacs -Q' takes ~0.5s to launch on my = machine. 'src/temacs -Q` takes ~5.5s. >=20 > It seems not only machines have become faster, Emacs has grown quite a = bit, too. :) It=92s also pretty aggressive about garbage collection after loading any = code before the unexec. Presumably that=92s to minimize the storage = needed for the shared on-disk image. Try removing the after-load-functions hook in loadup.el that invokes GC, = and the explicit GC calls. Also maybe bump up gc-cons-threshold by an = order of magnitude. (Just until loading finishes, if you like.) Ken