Re: Potential "AIO / io workers" inter-worker locking issue in PG18? - Mailing list pgsql-bugs

From Andres Freund
Subject Re: Potential "AIO / io workers" inter-worker locking issue in PG18?
Date
Msg-id ECEE1A27-FFF1-4DE2-BEE6-CF0D219D1A03@anarazel.de
Whole thread Raw
In response to Re: Potential "AIO / io workers" inter-worker locking issue in PG18?  (Marco Boeringa <marco@boeringa.demon.nl>)
Responses Re: Potential "AIO / io workers" inter-worker locking issue in PG18?
List pgsql-bugs
Hi,

On October 10, 2025 5:26:38 PM EDT, Marco Boeringa <marco@boeringa.demon.nl> wrote:
>Just found out about the other thread, which seems to describe an issue that may well be related to the problems I
observein my multi-threaded Python implementation using PostgreSQL 18: 
>

>https://www.postgresql.org/message-id/flat/CA%2BhUKG%2BHh7u3YpPLKQS%2BB7KJu0Bw99EjhuPuvBRVccDfgod95g%40mail.gmail.com#969d704180758e8dbd124604206175e0
>
>As I have zero experience compiling PostgreSQL from scratch and PostgreSQL development in general, I will
unfortunatelyavoid going down the rabbit hole of such an attempt to be able to test the patch, but will eagerly await
PG18.1which hopefully will have it included and might fix the issues I observed. 

If that issue were causal you'd see something in pg_aios and the issue wouldn't be present with worker or sync io
methods.Nor would you see high cpu utilization. This is a different issue, likely not aio related. 

Greetings,

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



pgsql-bugs by date:

Previous
From: Marco Boeringa
Date:
Subject: Re: Potential "AIO / io workers" inter-worker locking issue in PG18?
Next
From: Marco Boeringa
Date:
Subject: Re: Potential "AIO / io workers" inter-worker locking issue in PG18?