From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Andrea Corallo Newsgroups: gmane.emacs.bugs Subject: bug#41077: [feature/native-comp] virtual memory exhausted Date: Sun, 10 May 2020 22:17:56 +0000 Message-ID: References: <878si768l2.fsf@gmail.com> <87d07jfm2o.fsf@gmail.com> <87d07hcfpm.fsf_-_@gmail.com> <877dxjn9wy.fsf@gmail.com> <871rnrphtv.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="124295"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) Cc: 41077-done@debbugs.gnu.org To: =?UTF-8?Q?K=C3=A9vin?= Le Gouguec Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon May 11 00:18:13 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jXuGy-000WDy-4o for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 11 May 2020 00:18:12 +0200 Original-Received: from localhost ([::1]:38410 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jXuGx-0001SY-4B for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 10 May 2020 18:18:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41214) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jXuGq-0001Oh-4j for bug-gnu-emacs@gnu.org; Sun, 10 May 2020 18:18:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39123) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jXuGo-0007XX-97 for bug-gnu-emacs@gnu.org; Sun, 10 May 2020 18:18:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jXuGo-0005HU-4Y for bug-gnu-emacs@gnu.org; Sun, 10 May 2020 18:18:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andrea Corallo Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 10 May 2020 22:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41077 X-GNU-PR-Package: emacs Original-Received: via spool by 41077-done@debbugs.gnu.org id=D41077.158914908120293 (code D ref 41077); Sun, 10 May 2020 22:18:02 +0000 Original-Received: (at 41077-done) by debbugs.gnu.org; 10 May 2020 22:18:01 +0000 Original-Received: from localhost ([127.0.0.1]:50669 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jXuGn-0005HF-70 for submit@debbugs.gnu.org; Sun, 10 May 2020 18:18:01 -0400 Original-Received: from mx.sdf.org ([205.166.94.20]:50587) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jXuGl-0005H3-Sg for 41077-done@debbugs.gnu.org; Sun, 10 May 2020 18:18:00 -0400 Original-Received: from sdf.org (ma.sdf.org [205.166.94.33]) by mx.sdf.org (8.15.2/8.14.5) with ESMTPS id 04AMHu6a008362 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO); Sun, 10 May 2020 22:17:56 GMT Original-Received: (from akrl@localhost) by sdf.org (8.15.2/8.12.8/Submit) id 04AMHucJ012305; Sun, 10 May 2020 22:17:56 GMT In-Reply-To: <871rnrphtv.fsf@gmail.com> ("=?UTF-8?Q?K=C3=A9vin?= Le Gouguec"'s message of "Mon, 11 May 2020 00:04:44 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:180034 Archived-At: K=C3=A9vin Le Gouguec writes: > Andrea Corallo writes: > >>> As soon as I've figured out how to use the elisp-benchmarks package, >>> I'll post some figures; is there a specific place (bug number, >>> emacs-devel thread) where you usually collect such feedback? >> >> Cool, we have no bug number for that. I guess you can use the "On elisp >> running native" thread or as you feel. > > Mmm, I've installed the elisp-benchmarks package, and I've run > > $SOURCEDIR/src/emacs -Q -batch -l ./elisp-benchmarks.el -f elisp-benc= hmarks-run > > from ~/.emacs.d/elpa/elisp-benchmarks-1.1, once with SOURCEDIR pointing > to the master worktree and once again with SOURCEDIR pointing to the > feature/native-comp worktree, and I get more or less the exact same > performance[1]. > > I've run the feature/native-comp emacs under strace and AFAICT the > native libraries get loaded[2]; I suspect I'm making some very basic > mistake but I can't put my finger on it. Is there anything else I > should be looking for to assert that things work as intended? > > Thank you for your patience. Hi K=C3=A9vin, No issue, I think you need to hack a little bit elisp-benchmarks because by default the package manager just byte compile the files during installation and elisp-benchmarks does not support officialy this feature branch. That would translate into somenthing like changing the call to `byte-compile-file' into `native-compile' and running it with recompile t. Other option maybe quicker: you can manually native compile the benchmarcks and the native emacs instance should load them. You will see that when a .eln is loaded the message is a little different to indicate that. Probably what you have observed tracing was the activity of all the other .elns I guess. Best Andrea --=20 akrl@sdf.org