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 1q4JaQ-0001wb-So for pgsql-hackers@arkaria.postgresql.org; Wed, 31 May 2023 11:01:50 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1q4JaP-0007Kb-Ob for pgsql-hackers@arkaria.postgresql.org; Wed, 31 May 2023 11:01:49 +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 1q4JaP-0007KR-FL for pgsql-hackers@lists.postgresql.org; Wed, 31 May 2023 11:01:49 +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 1q4JaM-003GQO-0B for pgsql-hackers@postgresql.org; Wed, 31 May 2023 11:01:48 +0000 Received: from bruce by momjian.us with local (Exim 4.94.2) (envelope-from ) id 1q4JaK-0058K1-1c; Wed, 31 May 2023 07:01:44 -0400 Date: Wed, 31 May 2023 07:01:44 -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 Wed, May 31, 2023 at 06:03:01PM +1200, David Rowley wrote: > I don't think this should go under "E.1.3.11. Source Code". The patch > was entirely aimed to increase performance, not just of allocations > themselves, but of any operations which uses palloc'd memory. This is > due to the patch increasing the density of memory allocation on blocks > malloc'd by our memory context code so that fewer CPU cache lines need > to be touched in the entire backend process for *all* memory that's > allocated with palloc. The performance increase here can be fairly > significant for small-sized palloc requests when CPU cache pressure is > high. Since CPU caches aren't that big, it does not take much of a > query to put the cache pressure up. Hashing or sorting a few million > rows is going to do that. > > The patch here was born out of the regression report I made in [1], > which I mention in [2] about the prototype patch Andres wrote to fix > the performance regression. > > I think "E.1.3.1.2. General Performance" might be a better location. > Having it under "Source Code" makes it sound like it was some > refactoring work. That's certainly not the case. Okay, moved. -- Bruce Momjian https://momjian.us EDB https://enterprisedb.com Only you can decide what is important to you.