Enable IO concurrency on all systems
Andres Freund <andres@anarazel.de>
Enable IO concurrency on all systems Previously effective_io_concurrency and maintenance_io_concurrency could not be set above 0 on machines without fadvise support. AIO enables IO concurrency without such support, via io_method=worker. Currently only subsystems using the read stream API will take advantage of this. Other users of maintenance_io_concurrency (like recovery prefetching) which leverage OS advice directly will not benefit from this change. In those cases, maintenance_io_concurrency will have no effect on I/O behavior. Author: Melanie Plageman <melanieplageman@gmail.com> Reviewed-by: Noah Misch <noah@leadboat.com> Discussion: https://postgr.es/m/CAAKRu_atGgZePo=_g6T3cNtfMf0QxpvoUh5OUqa_cnPdhLd=gw@mail.gmail.com
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/config.sgml | modified | +8 −8 |
| doc/src/sgml/ref/alter_tablespace.sgml | modified | +1 −1 |
| doc/src/sgml/ref/create_tablespace.sgml | modified | +1 −1 |
| src/backend/access/common/reloptions.c | modified | +0 −8 |
| src/backend/commands/variable.c | modified | +0 −30 |
| src/backend/utils/misc/guc_tables.c | modified | +2 −2 |
| src/backend/utils/misc/postgresql.conf.sample | modified | +2 −2 |
| src/bin/initdb/initdb.c | modified | +0 −5 |
| src/include/storage/bufmgr.h | modified | +0 −6 |
| src/include/utils/guc_hooks.h | modified | +0 −4 |
Documentation touched
Discussion
- AIO v2.0 213 messages · 2024-09-01 → 2025-07-29