Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1q48p3-0006mD-BR for pgsql-hackers@arkaria.postgresql.org; Tue, 30 May 2023 23:32:13 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1q48p1-0006z7-Oa for pgsql-hackers@arkaria.postgresql.org; Tue, 30 May 2023 23:32:11 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1q48p1-0006yh-FD for pgsql-hackers@lists.postgresql.org; Tue, 30 May 2023 23:32:11 +0000 Received: from momjian.us ([72.94.173.45]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1q48os-003A65-2n for pgsql-hackers@postgresql.org; Tue, 30 May 2023 23:32:08 +0000 Received: from bruce by momjian.us with local (Exim 4.94.2) (envelope-from ) id 1q48op-002vZ7-BP; Tue, 30 May 2023 19:31:59 -0400 Date: Tue, 30 May 2023 19:31:59 -0400 From: Bruce Momjian To: David Rowley Cc: Andres Freund , PostgreSQL-development Subject: Re: PG 16 draft release notes ready Message-ID: References: <20230521171341.jjxykfsefsek4kzj@awork3.anarazel.de> <20230522175936.uprugkqv6aqkkmrt@awork3.anarazel.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Thu, May 25, 2023 at 05:57:25PM +1200, David Rowley wrote: > On Thu, 25 May 2023 at 05:45, Bruce Momjian 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: Reduce overhead of memory allocations (Andres Freund, David Rowley) -- Bruce Momjian https://momjian.us EDB https://enterprisedb.com Only you can decide what is important to you.