Re: pgsql: Add support for basic NUMA awareness - Mailing list pgsql-committers

From Andres Freund
Subject Re: pgsql: Add support for basic NUMA awareness
Date
Msg-id 87592CF0-5F4E-4043-BC57-E635E0924995@anarazel.de
Whole thread Raw
In response to Re: pgsql: Add support for basic NUMA awareness  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: pgsql: Add support for basic NUMA awareness
List pgsql-committers
Hi,

On April 8, 2025 10:05:48 AM EDT, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>Daniel Gustafsson <daniel@yesql.se> writes:
>>> On 7 Apr 2025, at 23:18, Tomas Vondra <tomas.vondra@postgresql.org> wrote:
>>> Add support for basic NUMA awareness
>
>> dogfish is a little bit upset it seems.
>
>Hm, but why isn't anything else?

I assume it's a question of degree of parallelism. I was able to repro the failure when building from a clean tree with
unlimitedparallelism. 


>I noticed this a little further up in dogfish's log:
>
>ninja: bad depfile: expected ':', saw 's'

I noticed that too - but it happened even before the hard failures. Will look at it in a bit.


>> Looking at pg_numa.c, shouldn't the include of postgres.h have an #ifndef
>> FRONTEND guard for postgres_fe.h as well?
>
>No, because it's evidently backend-only code.  The real question
>is why is it in src/port/, because everything there gets built
>for both frontend and backend.

I think part of the file would make sense to eventually use in FE code, we should move the SQL function and the page
sizefunction out.  

Greetings,

Andres
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.



pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: Re: pgsql: Add support for basic NUMA awareness
Next
From: Tom Lane
Date:
Subject: Re: pgsql: Add support for basic NUMA awareness