Re: pgsql: aio: Infrastructure for io_method=worker

Nathan Bossart <nathandbossart@gmail.com>

From: Nathan Bossart <nathandbossart@gmail.com>
To: Andres Freund <andres@anarazel.de>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, pgsql-hackers@lists.postgresql.org
Date: 2025-03-19T00:41:17Z
Lists: pgsql-hackers
On Tue, Mar 18, 2025 at 07:07:53PM -0400, Andres Freund wrote:
> On 2025-03-18 18:53:48 -0400, Tom Lane wrote:
>> It's probably time to just abandon the idea of being able to run with
>> only 60 semaphores.
> 
> Agreed. It's an absurdly outdated OS default configuration. Realistically one
> can't run postgres even in a toy scenario without changing it. So the value of
> being able to test postgres with the default OS settings doesn't seem that
> high. If it were on a very commonly used platform I would think differently,
> but net/openbsd ain't that.

+1.  The platforms with low defaults do force us to think carefully about
increasing the default requirements for Postgres, but I don't think that's
a strong enough argument for the maintenance effort.

-- 
nathan



Commits

  1. Give up on running with NetBSD/OpenBSD's default semaphore settings.

  2. aio: Infrastructure for io_method=worker