pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
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: Wed, 31 May 2023 07:01:44 -0400
Message-ID: <ZHcpGJ35QQvL2dS0@momjian.us> (raw)
In-Reply-To: <CAApHDvqmqxcX2n9NwvsfnsN0be6DjmyLSjz3Jk2DaZO5OLW+pw@mail.gmail.com>
References: <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>
	<CAApHDvqmqxcX2n9NwvsfnsN0be6DjmyLSjz3Jk2DaZO5OLW+pw@mail.gmail.com>

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  <bruce@momjian.us>        https://momjian.us
  EDB                                      https://enterprisedb.com

  Only you can decide what is important to you.





view thread (141+ messages)  latest in thread

Message-ID: <ZHcpGJ35QQvL2dS0@momjian.us>
Permalink:  ../ZHcpGJ35QQvL2dS0@momjian.us/
Also on:    postgresql.org/message-id/ZHcpGJ35QQvL2dS0@momjian.us

 · 

reply

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: <ZHcpGJ35QQvL2dS0@momjian.us>
  References: <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> <CAApHDvqmqxcX2n9NwvsfnsN0be6DjmyLSjz3Jk2DaZO5OLW+pw@mail.gmail.com> <ZHcpGJ35QQvL2dS0@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