unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [ELPA] New package: gcmh-mode
@ 2020-11-16 21:27 Andrea Corallo via Emacs development discussions.
  2020-11-17  4:57 ` Jean Louis
  0 siblings, 1 reply; 6+ messages in thread
From: Andrea Corallo via Emacs development discussions. @ 2020-11-16 21:27 UTC (permalink / raw)
  To: emacs-devel

Hi all,

I'd like to propose GCMH as GNU Elpa package.

It enforces a sneaky Garbage Collection strategy to minimize GC
interference with user activity.

During normal use a high GC threshold is set.  When idling GC is
triggered and a low threshold is set.  The intent is to do as much GC
activity as possible when the user is not interacting with Emacs.

<https://gitlab.com/koral/gcmh>
<http://akrl.sdf.org/#orgc9536b4>

I've "recently" implemented Stefan's idea to compute the idle timer time
based on the last garbage collection time.

The package is on MELPA since ~2 years with I think a decent number of
(I assume happy) users.

Blaming current master I believe the other two contributors are below 10
contributed lines so I think should be copyright assignment wise okay.

Feedback welcome.

Thanks

  Andrea



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

* Re: [ELPA] New package: gcmh-mode
  2020-11-16 21:27 [ELPA] New package: gcmh-mode Andrea Corallo via Emacs development discussions.
@ 2020-11-17  4:57 ` Jean Louis
  2020-11-17  8:35   ` Andrea Corallo via Emacs development discussions.
  0 siblings, 1 reply; 6+ messages in thread
From: Jean Louis @ 2020-11-17  4:57 UTC (permalink / raw)
  To: Andrea Corallo; +Cc: emacs-devel

* Andrea Corallo via "Emacs development discussions. <emacs-devel@gnu.org> [2020-11-17 00:28]:
> Hi all,
> 
> I'd like to propose GCMH as GNU Elpa package.
> 
> It enforces a sneaky Garbage Collection strategy to minimize GC
> interference with user activity.

I have tried it, enabled it, and watched on side. Then I came back and could find Emacs swapping or doing something with memory that I could not interrupt it or see what is going on.

I had to killall emacs



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

* Re: [ELPA] New package: gcmh-mode
  2020-11-17  4:57 ` Jean Louis
@ 2020-11-17  8:35   ` Andrea Corallo via Emacs development discussions.
  2020-11-17 10:16     ` Jean Louis
  0 siblings, 1 reply; 6+ messages in thread
From: Andrea Corallo via Emacs development discussions. @ 2020-11-17  8:35 UTC (permalink / raw)
  To: Jean Louis; +Cc: emacs-devel

Jean Louis <bugs@gnu.support> writes:

> * Andrea Corallo via "Emacs development discussions. <emacs-devel@gnu.org> [2020-11-17 00:28]:
>> Hi all,
>> 
>> I'd like to propose GCMH as GNU Elpa package.
>> 
>> It enforces a sneaky Garbage Collection strategy to minimize GC
>> interference with user activity.
>
> I have tried it, enabled it, and watched on side. Then I came back and
> could find Emacs swapping or doing something with memory that I could
> not interrupt it or see what is going on.
>
> I had to killall emacs

You may want to tweak `gcmh-high-cons-threshold' and `gcmh-idle-delay'
depending on your needs and machine you are on.

That said if you need some help please provide more details filing a bug
report, otherwise is difficult to understand what's the cause.  This
kind of generic messages are of little help into progressing with
issues.

  Andrea



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

* Re: [ELPA] New package: gcmh-mode
  2020-11-17  8:35   ` Andrea Corallo via Emacs development discussions.
@ 2020-11-17 10:16     ` Jean Louis
  2020-11-17 13:38       ` Andrea Corallo via Emacs development discussions.
  0 siblings, 1 reply; 6+ messages in thread
From: Jean Louis @ 2020-11-17 10:16 UTC (permalink / raw)
  To: Andrea Corallo; +Cc: emacs-devel

* Andrea Corallo <akrl@sdf.org> [2020-11-17 11:35]:
> Jean Louis <bugs@gnu.support> writes:
> 
> > * Andrea Corallo via "Emacs development discussions. <emacs-devel@gnu.org> [2020-11-17 00:28]:
> >> Hi all,
> >> 
> >> I'd like to propose GCMH as GNU Elpa package.
> >> 
> >> It enforces a sneaky Garbage Collection strategy to minimize GC
> >> interference with user activity.
> >
> > I have tried it, enabled it, and watched on side. Then I came back and
> > could find Emacs swapping or doing something with memory that I could
> > not interrupt it or see what is going on.
> >
> > I had to killall emacs
> 
> You may want to tweak `gcmh-high-cons-threshold' and `gcmh-idle-delay'
> depending on your needs and machine you are on.
> 
> That said if you need some help please provide more details filing a bug
> report, otherwise is difficult to understand what's the cause.  This
> kind of generic messages are of little help into progressing with
> issues.

I would be very specific if I would know what specifics you need and
how I can obtain it.

All specific details I have is that I just loaded the library and
turned on the mode without customizations.





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

* Re: [ELPA] New package: gcmh-mode
  2020-11-17 10:16     ` Jean Louis
@ 2020-11-17 13:38       ` Andrea Corallo via Emacs development discussions.
  2020-11-17 21:01         ` Jean Louis
  0 siblings, 1 reply; 6+ messages in thread
From: Andrea Corallo via Emacs development discussions. @ 2020-11-17 13:38 UTC (permalink / raw)
  To: Jean Louis; +Cc: emacs-devel

Jean Louis <bugs@gnu.support> writes:

> * Andrea Corallo <akrl@sdf.org> [2020-11-17 11:35]:
>> Jean Louis <bugs@gnu.support> writes:
>> 
>> > * Andrea Corallo via "Emacs development discussions. <emacs-devel@gnu.org> [2020-11-17 00:28]:
>> >> Hi all,
>> >> 
>> >> I'd like to propose GCMH as GNU Elpa package.
>> >> 
>> >> It enforces a sneaky Garbage Collection strategy to minimize GC
>> >> interference with user activity.
>> >
>> > I have tried it, enabled it, and watched on side. Then I came back and
>> > could find Emacs swapping or doing something with memory that I could
>> > not interrupt it or see what is going on.
>> >
>> > I had to killall emacs
>> 
>> You may want to tweak `gcmh-high-cons-threshold' and `gcmh-idle-delay'
>> depending on your needs and machine you are on.
>> 
>> That said if you need some help please provide more details filing a bug
>> report, otherwise is difficult to understand what's the cause.  This
>> kind of generic messages are of little help into progressing with
>> issues.
>
> I would be very specific if I would know what specifics you need and
> how I can obtain it.

Please see:
<https://www.gnu.org/software/emacs/manual/html_node/emacs/Understanding-Bug-Reporting.html>
<https://www.gnu.org/software/emacs/manual/html_node/emacs/Checklist.html>

Regards

  Andrea



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

* Re: [ELPA] New package: gcmh-mode
  2020-11-17 13:38       ` Andrea Corallo via Emacs development discussions.
@ 2020-11-17 21:01         ` Jean Louis
  0 siblings, 0 replies; 6+ messages in thread
From: Jean Louis @ 2020-11-17 21:01 UTC (permalink / raw)
  To: Andrea Corallo; +Cc: emacs-devel

* Andrea Corallo <akrl@sdf.org> [2020-11-17 16:39]:
> >> You may want to tweak `gcmh-high-cons-threshold' and `gcmh-idle-delay'
> >> depending on your needs and machine you are on.

How do I get information what is the need of the machine to tweak it?
I have 4 GB and 8 GB swap. There are other 4-5 different computers
too, some have 8 GB and 8 GB swap.

Regarding specific reporting, I would if I could as I say. When
something is turned on and I have to abort process sadly I have no
other information at hand. That is why I mentioned as maybe you know
better how to provide you specific report on that. It means when I
cannot give you specifics your feedback is useful.



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

end of thread, other threads:[~2020-11-17 21:01 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-16 21:27 [ELPA] New package: gcmh-mode Andrea Corallo via Emacs development discussions.
2020-11-17  4:57 ` Jean Louis
2020-11-17  8:35   ` Andrea Corallo via Emacs development discussions.
2020-11-17 10:16     ` Jean Louis
2020-11-17 13:38       ` Andrea Corallo via Emacs development discussions.
2020-11-17 21:01         ` Jean Louis

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).