[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: MPS: weak hash tables
From: |
Pip Cet |
Subject: |
Re: MPS: weak hash tables |
Date: |
Fri, 05 Jul 2024 19:25:53 +0000 |
On Friday, July 5th, 2024 at 18:14, Helmut Eller <eller.helmut@gmail.com> wrote:
> On Fri, Jul 05 2024, Pip Cet wrote:
>
> > Feature/bug-wise, what's still missing?
> ert-tests.el worries me the most. There, MPS looks pretty bad compared
> to the old GC. (Who would have thought that printing backtraces
> involves copying and rebalancing interval trees with thousands of nodes?
> And why does it perform so poorly with a generational GC?)
>
> It would be nice to have a way to set a "memory limit". Preferably with
> some "out of memory error". Even aborting would be better than starting
> to swap.
>
> I also think that something needs to be done about the pidigits
> benchmark. It's not about the bignums (which I couldn't care less
> about) but the problem that finalization messages are only processed
> when Emacs is idle.
Thanks! My personal priorities are correctness first (well, obviously, I doubt
it's different for you :-) ), then responsiveness, with "don't degrade batch
performance too much" a distant third. I didn't know about the swapping
problem, but from what I've understood about the MPS design I'd imagine it's
pretty horrible.
What I'm doing right now is alternating usleep(10000) and igc_collect() in a
secondary thread. That crashes somewhat reproducibly in interactive sessions.
Pip
- Re: MPS: out-of-memory, (continued)
- Re: MPS: out-of-memory, Pip Cet, 2024/07/08
- Re: MPS: out-of-memory, Gerd Möllmann, 2024/07/08
- Re: MPS: out-of-memory, Pip Cet, 2024/07/08
- Re: MPS: out-of-memory, Gerd Möllmann, 2024/07/08
- Re: MPS: out-of-memory, Helmut Eller, 2024/07/08
- Re: MPS: out-of-memory, Gerd Möllmann, 2024/07/08
- Re: MPS: out-of-memory, Eli Zaretskii, 2024/07/08
- Re: MPS: out-of-memory, Gerd Möllmann, 2024/07/08
- Re: MPS: out-of-memory, Eli Zaretskii, 2024/07/08
- Re: MPS: out-of-memory, Pip Cet, 2024/07/08
- Re: MPS: weak hash tables,
Pip Cet <=
- Re: MPS: weak hash tables, Gerd Möllmann, 2024/07/05
- Re: MPS: weak hash tables, Pip Cet, 2024/07/06
- Re: MPS: weak hash tables, Gerd Möllmann, 2024/07/06
- Re: MPS: weak hash tables, Pip Cet, 2024/07/06
- Re: MPS: weak hash tables, Gerd Möllmann, 2024/07/06
- Re: MPS: weak hash tables, Eli Zaretskii, 2024/07/06
- Re: MPS: weak hash tables, Pip Cet, 2024/07/06
- Re: MPS: weak hash tables, Eli Zaretskii, 2024/07/06
- Re: MPS: weak hash tables, Helmut Eller, 2024/07/04
- Re: MPS: weak hash tables, Pip Cet, 2024/07/04