Re: slab allocator performance issues

From: David Rowley <dgrowleyml(at)gmail(dot)com>
To: John Naylor <john(dot)naylor(at)enterprisedb(dot)com>
Cc: Tomas Vondra <tomas(dot)vondra(at)enterprisedb(dot)com>, Andres Freund <andres(at)anarazel(dot)de>, pgsql-hackers(at)postgresql(dot)org, Tomas Vondra <tv(at)fuzzy(dot)cz>
Subject: Re: slab allocator performance issues
Date: 2022-12-20 08:51:37
Message-ID: CAApHDvrOcKANJ--VNLDzKFqbVvvO2fdpJQrpSALkBkUDqdxJ5A@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, 20 Dec 2022 at 21:19, John Naylor <john(dot)naylor(at)enterprisedb(dot)com> wrote:
>
>
> On Tue, Dec 20, 2022 at 10:36 AM David Rowley <dgrowleyml(at)gmail(dot)com> wrote:
> >
> > I'm planning on pushing the attached v3 patch shortly. I've spent
> > several days reading over this and testing it in detail along with
> > adding additional features to the SlabCheck code to find more
> > inconsistencies.
>
> FWIW, I reran my test from last week and got similar results.

Thanks a lot for testing that stuff last week. I got a bit engrossed
in the perf weirdness and forgot to reply. I found they made much
more sense after using palloc0 and touching the allocated memory just
before freeing. I think this is a more realistic test.

I've now pushed the patch after making a small adjustment to the
version I sent earlier.

David

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Jeff Davis 2022-12-20 09:01:49 Re: New strategies for freezing, advancing relfrozenxid early
Previous Message Alvaro Herrera 2022-12-20 08:22:27 Re: pgsql: Doc: Explain about Column List feature.