Re: postmaster uses more CPU in 18 beta1 with io_method=io_uring - Mailing list pgsql-hackers

From Andres Freund
Subject Re: postmaster uses more CPU in 18 beta1 with io_method=io_uring
Date
Msg-id wf3ib2vds33knzwa6yun72qgyqsa7ickqcp5gh2akpedrvvjgk@trbeukpqkhlv
Whole thread Raw
In response to Re: postmaster uses more CPU in 18 beta1 with io_method=io_uring  (Andres Freund <andres@anarazel.de>)
List pgsql-hackers
Hi,

On 2025-06-30 12:27:10 -0400, Andres Freund wrote:
> On 2025-06-05 14:32:10 -0400, Andres Freund wrote:
> > On 2025-06-05 12:47:52 -0400, Tom Lane wrote:
> > > Andres Freund <andres@anarazel.de> writes:
> > > > I think this is a big enough pitfall that it's, obviously assuming the patch
> > > > has a sensible complexity, worth fixing this in 18. RMT, anyone, what do you
> > > > think?
> > > 
> > > Let's see the patch ... but yeah, I'd rather not ship 18 like this.
> > 
> > I've attached a first draft.
> > 
> > I can't make heads or tails of the ordering in configure.ac, so the function
> > test is probably in the wrong place.
> 
> Any comments on that patch?  I'd hoped for some review comments... Unless I'll
> hear otherwise, I'll just do a bit more polish and push..

After addressing most of Greg's and Jim's feedback, I pushed this. I chose not
to increase the log level as Jim suggested, but if we end up deciding that
that's the way to go, we can easily change that...

Greetings,

Andres



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: Adding basic NUMA awareness
Next
From: Bertrand Drouvot
Date:
Subject: Re: Adding wait events statistics