Re: Automatically sizing the IO worker pool

Dmitry Dolgov <9erthalion6@gmail.com>

From: Dmitry Dolgov <9erthalion6@gmail.com>
To: Thomas Munro <thomas.munro@gmail.com>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2026-03-28T09:52:04Z
Lists: pgsql-hackers
> On Sat, Mar 28, 2026 at 10:31:36PM +1300, Thomas Munro wrote:
> Here is a rebase.  I would like to push these shortly if there are no
> objections.  I propose 8 as the default upper limit.

Yes, please! Just wanted to ask about the status of this patch.



Commits

Same data as JSON: GET /api/v1/messages/:b64id/commits the thread's linked commits as JSON, with link sources. API reference →
  1. aio: Adjust I/O worker pool automatically.

  2. Convert lwlock.c to use the new shmem allocation functions

  3. aio: Simplify pgaio_worker_submit().

  4. Conditional locking in pgaio_worker_submit_internal

  5. aio: Remove obsolete IO worker ID references.

  6. aio: Regularize IO worker internal naming.