From: Bruce Momjian <bruce@momjian.us>
To: David Rowley <dgrowleyml@gmail.com>
Cc: Andres Freund <andres@anarazel.de>
Cc: PostgreSQL-development <pgsql-hackers@postgresql.org>
Subject: Re: PG 16 draft release notes ready
Date: Tue, 30 May 2023 19:31:59 -0400
Message-ID: <ZHaHb1cR8rcJOtZw@momjian.us> (raw)
In-Reply-To: <CAApHDvozHpXLSte2CLOHjk+VG5cuhZExM+41rpEGuxorK_Yx3w@mail.gmail.com>
References: <ZGaPa7M3gc2THeDJ@momjian.us>
<20230521171341.jjxykfsefsek4kzj@awork3.anarazel.de>
<ZGrXor0s2+f7pgAd@momjian.us>
<20230522175936.uprugkqv6aqkkmrt@awork3.anarazel.de>
<ZGuuq1erh7OXNzWk@momjian.us>
<CAApHDvqnUoyrJxS4uqnKo87b3_cUjaDDte4NQag49YHu1oEOgA@mail.gmail.com>
<ZG5M1uNFUNmUVGlc@momjian.us>
<ZG5NHFRXxToOI4Ca@momjian.us>
<CAApHDvozHpXLSte2CLOHjk+VG5cuhZExM+41rpEGuxorK_Yx3w@mail.gmail.com>
On Thu, May 25, 2023 at 05:57:25PM +1200, David Rowley wrote:
> On Thu, 25 May 2023 at 05:45, Bruce Momjian <bruce@momjian.us> wrote:
> >
> > On Wed, May 24, 2023 at 01:43:50PM -0400, Bruce Momjian wrote:
> > > > * Reduce palloc() memory overhead for all memory allocations down to 8
> > > > bytes on all platforms. (Andres Freund, David Rowley)
> > > >
> > > > This allows more efficient use of memory and is especially useful in
> > > > queries which perform operations (such as sorting or hashing) that
> > > > require more than work_mem.
> > >
> > > Well, this would go in the source code section, but it seems too
> > > internal and global to mention.
> >
> > What was the previous memory allocation overhead?
>
> On 64-bit builds, it was 16 bytes for AllocSet contexts, 24 bytes for
> generation contexts and 16 bytes for slab contexts.
Okay, item added to Source Code:
<!--
Author: David Rowley <drowley@postgresql.org>
2022-08-29 [c6e0fe1f2] Improve performance of and reduce overheads of memory ma
-->
<listitem>
<para>
Reduce overhead of memory allocations (Andres Freund, David Rowley)
</para>
</listitem>
--
Bruce Momjian <bruce@momjian.us> https://momjian.us
EDB https://enterprisedb.com
Only you can decide what is important to you.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-hackers@postgresql.org
Cc: bruce@momjian.us, dgrowleyml@gmail.com, andres@anarazel.de
Subject: Re: PG 16 draft release notes ready
In-Reply-To: <ZHaHb1cR8rcJOtZw@momjian.us>
References: <ZGaPa7M3gc2THeDJ@momjian.us> <20230521171341.jjxykfsefsek4kzj@awork3.anarazel.de> <ZGrXor0s2+f7pgAd@momjian.us> <20230522175936.uprugkqv6aqkkmrt@awork3.anarazel.de> <ZGuuq1erh7OXNzWk@momjian.us> <CAApHDvqnUoyrJxS4uqnKo87b3_cUjaDDte4NQag49YHu1oEOgA@mail.gmail.com> <ZG5M1uNFUNmUVGlc@momjian.us> <ZG5NHFRXxToOI4Ca@momjian.us> <CAApHDvozHpXLSte2CLOHjk+VG5cuhZExM+41rpEGuxorK_Yx3w@mail.gmail.com> <ZHaHb1cR8rcJOtZw@momjian.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox