From: | Bertrand Drouvot <bertranddrouvot(dot)pg(at)gmail(dot)com> |
---|---|
To: | Jakub Wartak <jakub(dot)wartak(at)enterprisedb(dot)com> |
Cc: | Andres Freund <andres(at)anarazel(dot)de>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Draft for basic NUMA observability |
Date: | 2025-02-26 17:13:19 |
Message-ID: | Z79Lr1pnLZ69NeRn@ip-10-97-1-34.eu-west-3.compute.internal |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Hi,
On Wed, Feb 26, 2025 at 02:05:59PM +0100, Jakub Wartak wrote:
> On Wed, Feb 26, 2025 at 10:58 AM Andres Freund <andres(at)anarazel(dot)de> wrote:
> >
> > Hi,
> >
> > On 2025-02-26 09:38:20 +0100, Jakub Wartak wrote:
> > > > FWIW, what you posted fails on CI:
> > > > https://cirrus-ci.com/task/5114213770723328
> > > >
> > > > Probably some ifdefs are missing. The sanity-check task configures with
> > > > minimal dependencies, which is why you're seeing this even on linux.
> > >
> > > Hopefully fixed, we'll see what cfbot tells, I'm flying blind with all
> > > of this CI stuff...
> >
> > FYI, you can enable CI on a github repo, to see results without posting to the
> > list:
> > https://github.com/postgres/postgres/blob/master/src/tools/ci/README
>
> Thanks, I'll take a look into it.
>
> Meanwhile v5 is attached with slight changes to try to make cfbot happy:
Thanks for the updated version!
FWIW, I had to do a few changes to get an error free compiling experience with
autoconf/or meson and both with or without the libnuma configure option.
Sharing here as .txt files:
v5-0004-configure-changes.txt: changes in configure + add a test on numa.h
availability and a call to numa_available.
v5-0005-pg_numa.c-changes.txt: moving the <unistd.h> outside of USE_LIBNUMA
because the file is still using sysconf() in the non-NUMA code path. Also,
removed a ";" in "#endif;" in the non-NUMA code path.
v5-0006-meson.build-changes.txt.
Those apply on top of your v5.
Also the pg_buffercache test fails without the libnuma configure option. Maybe
some tests should depend of the libnuma configure option.
Still did not look closely to the code.
Regards,
--
Bertrand Drouvot
PostgreSQL Contributors Team
RDS Open Source Databases
Amazon Web Services: https://aws.amazon.com
Attachment | Content-Type | Size |
---|---|---|
v5-0004-configure-changes.txt | text/plain | 3.3 KB |
v5-0005-pg_numa.c-changes.txt | text/plain | 1.0 KB |
v5-0006-meson.build-changes.txt | text/plain | 863 bytes |
From | Date | Subject | |
---|---|---|---|
Next Message | Nathan Bossart | 2025-02-26 17:25:13 | Re: Trigger more frequent autovacuums of heavy insert tables |
Previous Message | Alex Friedman | 2025-02-26 16:50:40 | Re: Doc fix of aggressive vacuum threshold for multixact members storage |