all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#45651: 28.0.50; emacs native-comp crashes with pidigits bench
@ 2021-01-04 11:37 Michael Schmidt
  2021-01-04 16:23 ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2021-01-05 19:30 ` bug#45651: Aw: " Michael Schmidt
  0 siblings, 2 replies; 5+ messages in thread
From: Michael Schmidt @ 2021-01-04 11:37 UTC (permalink / raw)
  To: 45651

[-- Attachment #1: Type: text/html, Size: 31023 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#45651: 28.0.50; emacs native-comp crashes with pidigits bench
  2021-01-04 11:37 bug#45651: 28.0.50; emacs native-comp crashes with pidigits bench Michael Schmidt
@ 2021-01-04 16:23 ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2021-01-05 19:30 ` bug#45651: Aw: " Michael Schmidt
  1 sibling, 0 replies; 5+ messages in thread
From: Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2021-01-04 16:23 UTC (permalink / raw)
  To: Michael Schmidt; +Cc: 45651

Michael Schmidt <michael.a.schmidt@email.de> writes:

> Hi!
>  
> Running the pidigits benchmark crashes emacs with a SIGTERM.
> All other benchmarks from the elip-benchmarks-1.9 suite passed and were
> moved in another dir for this run.
> I tested both with and without libgmp.
>  

Hi Michael,

Interesting, I can't reproduce on my machine.

I suspect may due to excessive memory consumption on your system, is it
possible?  Could you have a run monitoring it?  Maybe also having a look
into 'dmesg' output may give some info about why the process got killed.

  Andrea





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#45651: Aw: Re: bug#45651: 28.0.50; emacs native-comp crashes with pidigits bench
  2021-01-04 11:37 bug#45651: 28.0.50; emacs native-comp crashes with pidigits bench Michael Schmidt
  2021-01-04 16:23 ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2021-01-05 19:30 ` Michael Schmidt
  2021-01-06 20:44   ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
  1 sibling, 1 reply; 5+ messages in thread
From: Michael Schmidt @ 2021-01-05 19:30 UTC (permalink / raw)
  To: Andrea Corallo; +Cc: 45651

[-- Attachment #1: Type: text/html, Size: 1875 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#45651: Aw: Re: bug#45651: 28.0.50; emacs native-comp crashes with pidigits bench
  2021-01-05 19:30 ` bug#45651: Aw: " Michael Schmidt
@ 2021-01-06 20:44   ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2021-03-15 20:44     ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
  0 siblings, 1 reply; 5+ messages in thread
From: Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2021-01-06 20:44 UTC (permalink / raw)
  To: Michael Schmidt; +Cc: 45651

Michael Schmidt <michael.a.schmidt@email.de> writes:

> Hi Andrea,
>  
> [here an extended version with cc to 45651@debbugs.gnu.org]
>  
> Clean build with
>
>     emacs-8ad983c4acef60a80e8d6b6ba891b1ef957f2d7c.tar.gz  
>  
> Fedorea 33 VirtualBox 24GB+10GB swap: pidigits passed with ~61% peak memory consumption.
> Fedorea 33 VirtualBox 16GB+10GB swap: pidigits passed with ~98% peak memory consumption.
> Fedorea 33 VirtualBox 8GB  +10GB swap: pidigits crashed as described before. Please no "Eight gigabytes of memory and
> constantly swaping" ;-)
> dmesg unchaged after boot, no further info.
>  
> A build without nativecomp passed pidigits with ~1.5% memory consumption.
> Really looks like a memory leak.

Yeah I think this is a bug in the benchmark.  This is compiled at speed
3 and the programmer should be responsible to "garbage-collect-maybe" in
hot loops if this is required.

If this theory is correct you should see the issue disappearing adding
~(declare (speed 2))~ to `elb-pidigits'.

  Andrea





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#45651: Aw: Re: bug#45651: 28.0.50; emacs native-comp crashes with pidigits bench
  2021-01-06 20:44   ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2021-03-15 20:44     ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
  0 siblings, 0 replies; 5+ messages in thread
From: Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2021-03-15 20:44 UTC (permalink / raw)
  To: 45651; +Cc: 45651-done, Michael Schmidt

Hi Michael,

sorry for the late replay, I've fixed with 5a37ce17ea elisp-benchmarks
as discussed and now GC can do its job in `elb-pidigits'.

I'm closing this and works on my system, happy to reopen in case.

Thanks!

  Andrea





^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-03-15 20:44 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-01-04 11:37 bug#45651: 28.0.50; emacs native-comp crashes with pidigits bench Michael Schmidt
2021-01-04 16:23 ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-01-05 19:30 ` bug#45651: Aw: " Michael Schmidt
2021-01-06 20:44   ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-03-15 20:44     ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.