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

From: Andres Freund <andres(at)anarazel(dot)de>
To: Marco Boeringa <marco(at)boeringa(dot)demon(dot)nl>
Cc: pgsql-bugs(at)lists(dot)postgresql(dot)org, Thom Brown <thom(at)linux(dot)com>
Subject: Re: Potential "AIO / io workers" inter-worker locking issue in PG18?
Date: 2025-10-10 21:30:20
Message-ID: ECEE1A27-FFF1-4DE2-BEE6-CF0D219D1A03@anarazel.de
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Hi,

On October 10, 2025 5:26:38 PM EDT, Marco Boeringa <marco(at)boeringa(dot)demon(dot)nl> wrote:
>Just found out about the other thread, which seems to describe an issue that may well be related to the problems I observe in 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 unfortunately avoid going down the rabbit hole of such an attempt to be able to test the patch, but will eagerly await PG18.1 which 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.

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Marco Boeringa 2025-10-10 21:36:37 Re: Potential "AIO / io workers" inter-worker locking issue in PG18?
Previous Message Marco Boeringa 2025-10-10 21:26:38 Re: Potential "AIO / io workers" inter-worker locking issue in PG18?