Re: slab allocator performance issues

From: Andres Freund <andres(at)anarazel(dot)de>
To: Tomas Vondra <tomas(dot)vondra(at)enterprisedb(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org, Tomas Vondra <tv(at)fuzzy(dot)cz>
Subject: Re: slab allocator performance issues
Date: 2021-07-19 20:56:03
Message-ID: 20210719205603.lzh5rkuv7lsoq4mp@alap3.anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

On 2021-07-18 19:23:31 +0200, Tomas Vondra wrote:
> Sounds great! Thanks for investigating this and for the improvements.
>
> It might be good to do some experiments to see how the changes affect memory
> consumption for practical workloads. I'm willing to spend soem time on that,
> if needed.

I've attached my changes. They're in a rough shape right now, but I
think good enough for an initial look.

Greetings,

Andres Freund

Attachment Content-Type Size
0001-WIP-optimize-allocations-by-separating-hot-from-cold.patch text/x-diff 33.2 KB
0002-WIP-slab-performance.patch text/x-diff 23.6 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Ranier Vilela 2021-07-19 22:03:41 Re: slab allocator performance issues
Previous Message Andres Freund 2021-07-19 19:59:50 Avoid stack frame setup in performance critical routines using tail calls