Re: Draft for basic NUMA observability
Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
From: Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
To: Andres Freund <andres@anarazel.de>
Cc: Jakub Wartak <jakub.wartak@enterprisedb.com>, PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Date: 2025-02-24T16:11:15Z
Lists: pgsql-hackers
Hi, On Mon, Feb 24, 2025 at 09:06:20AM -0500, Andres Freund wrote: > Does the issue with "new" backends seeing pages as not present exist both with > and without huge pages? That's a good point and from what I can see it's correct with huge pages being used (it means all processes see the same NUMA node assignment regardless of access patterns). That said, wouldn't that be too strong to impose a restriction that huge_pages must be enabled? Jakub, thanks for the new patch version! FWIW, I did not look closely to the code yet (just did the minor changes already shared to have valid result with non tiny shared buffer size). I'll look closely at the code for sure once we all agree on the design part of it. Regards, -- Bertrand Drouvot PostgreSQL Contributors Team RDS Open Source Databases Amazon Web Services: https://aws.amazon.com
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
doc: Correct pg_shmem_allocations_numa.size data type
- b8a6078ca8f4 18.0 landed
-
Add pg_buffercache_numa view with NUMA node info
- ba2a3c2302f1 18.0 landed
-
Add support for basic NUMA awareness
- 65c298f61fc7 18.0 landed
-
Introduce pg_shmem_allocations_numa view
- 8cc139bec34a 18.0 landed