emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Garbage collector: is 800kb a good default?


From: Andrea Corallo
Subject: Re: Garbage collector: is 800kb a good default?
Date: Thu, 09 Apr 2020 14:48:31 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)

Stefan Monnier <address@hidden> writes:

>> Of course, raising the threshold significantly higher on its own is
>> not a very good idea. But if paired with an idle timer like suggested
>> here [2], then it all starts looking like a decent combination:
>
> I agree that it's worth investigating improvements based on dynamically
> changing the GC threshold.

This what I run when I'm on X86 machines or SoC where for various
reasons memory latency is a pain.  In this conditions I find it helps
considerably for me.

https://gitlab.com/koral/gcmh/-/blob/master/gcmh.el

On normal conditions I often don't bother.

Andrea

--
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]