From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: =?UTF-8?Q?K=C3=A9vin?= Le Gouguec Newsgroups: gmane.emacs.bugs Subject: bug#41194: 28.0.50; [feature/native-comp] fibn benchmark exhausts memory Date: Wed, 10 Jun 2020 09:55:30 +0200 Message-ID: <874krj1hjh.fsf@gmail.com> References: <87y2pyi4gq.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="73432"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) To: 41194@debbugs.gnu.org Cancel-Lock: sha1:t10nUM3hRPH4WmLLvBAjKb9hX2M= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jun 10 09:56:12 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 1jivam-000J1w-Ki for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 10 Jun 2020 09:56:12 +0200 Original-Received: from localhost ([::1]:41284 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jival-00045p-CT for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 10 Jun 2020 03:56:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33594) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jivac-00044B-MN for bug-gnu-emacs@gnu.org; Wed, 10 Jun 2020 03:56:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:50036) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jivac-000664-D0 for bug-gnu-emacs@gnu.org; Wed, 10 Jun 2020 03:56:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jivac-0004Cd-CZ for bug-gnu-emacs@gnu.org; Wed, 10 Jun 2020 03:56:02 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: <87y2pyi4gq.fsf@gmail.com> Resent-From: =?UTF-8?Q?K=C3=A9vin?= Le Gouguec Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 10 Jun 2020 07:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41194 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.159177574116125 (code B ref -1); Wed, 10 Jun 2020 07:56:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 10 Jun 2020 07:55:41 +0000 Original-Received: from localhost ([127.0.0.1]:33349 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jivaH-0004C1-7q for submit@debbugs.gnu.org; Wed, 10 Jun 2020 03:55:41 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:42348) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jivaF-0004Bt-BR for submit@debbugs.gnu.org; Wed, 10 Jun 2020 03:55:39 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33540) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jivaE-0003U7-Ic for bug-gnu-emacs@gnu.org; Wed, 10 Jun 2020 03:55:39 -0400 Original-Received: from ciao.gmane.io ([159.69.161.202]:33324) by eggs.gnu.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jivaD-0005uV-QT for bug-gnu-emacs@gnu.org; Wed, 10 Jun 2020 03:55:38 -0400 Original-Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1jivaB-000IMo-W4 for bug-gnu-emacs@gnu.org; Wed, 10 Jun 2020 09:55:35 +0200 X-Injected-Via-Gmane: http://gmane.org/ Received-SPF: pass client-ip=159.69.161.202; envelope-from=geb-bug-gnu-emacs@m.gmane-mx.org; helo=ciao.gmane.io X-detected-operating-system: by eggs.gnu.org: First seen = 2020/06/10 03:55:36 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: 20 X-Spam_score: 2.0 X-Spam_bar: ++ X-Spam_report: (2.0 / 5.0 requ) BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FORGED_GMAIL_RCVD=1, FREEMAIL_FORGED_FROMDOMAIN=1, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=1, NML_ADSP_CUSTOM_MED=0.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=_AUTOLEARN X-Spam_action: no action 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:181805 Archived-At: Andrea Corallo writes: > sorry for the very late reply I just had a look. No need to apologize! You've obviously been busy on other fronts. > The following is going on: being on 32bit system you get into bignums > end this allocates memory while is looping inside `elb-fibn'. > Unfortunatelly there's no opportunity of passing through maybe_gc to > trigger garbage collection because I've not implemented the equivalent > of what is the quitcounter in the byte interpreter. > > I'll come-up with a patch to generate the equivalent code of the > quitcounter when compiling for speed < 3. > > Thanks for the feedback > > Andrea > > PS FYI I think memory consumption during compilation (as compile time) > should be now considerably lowered (but I've still haven't measured it). Alright! I'll keep an eye on your branch and on the bugtracker, and recompile & run my measurements when I spot your patch.