diff options
author | Andres Freund <andres@anarazel.de> | 2025-03-17 18:51:33 -0400 |
---|---|---|
committer | Andres Freund <andres@anarazel.de> | 2025-03-17 18:51:33 -0400 |
commit | 02844012b304ba80d1c48d51f6fe10bb622490cc (patch) | |
tree | c7753eb6c900a00ebdaa2311b87aefbb21d9f588 /doc/src | |
parent | 65db3963ae7154b8f01e4d73dc6b1ffd81c70e1e (diff) | |
download | postgresql-02844012b304ba80d1c48d51f6fe10bb622490cc.tar.gz postgresql-02844012b304ba80d1c48d51f6fe10bb622490cc.zip |
aio: Basic subsystem initialization
This commit just does the minimal wiring up of the AIO subsystem, added in the
next commit, to the rest of the system. The next commit contains more details
about motivation and architecture.
This commit is kept separate to make it easier to review, separating the
changes across the tree, from the implementation of the new subsystem.
We discussed squashing this commit with the main commit before merging AIO,
but there has been a mild preference for keeping it separate.
Reviewed-by: Heikki Linnakangas <hlinnaka@iki.fi>
Reviewed-by: Noah Misch <noah@leadboat.com>
Discussion: https://postgr.es/m/uvrtrknj4kdytuboidbhwclo4gxhswwcpgadptsjvjqcluzmah%40brqs62irg4dt
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/sgml/config.sgml | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml index 3d62c8bd274..7ec18bb7627 100644 --- a/doc/src/sgml/config.sgml +++ b/doc/src/sgml/config.sgml @@ -2638,6 +2638,57 @@ include_dir 'conf.d' </para> </listitem> </varlistentry> + + <varlistentry id="guc-io-max-concurrency" xreflabel="io_max_concurrency"> + <term><varname>io_max_concurrency</varname> (<type>integer</type>) + <indexterm> + <primary><varname>io_max_concurrency</varname> configuration parameter</primary> + </indexterm> + </term> + <listitem> + <para> + Controls the maximum number of I/O operations that one process can + execute simultaneously. + </para> + <para> + The default setting of <literal>-1</literal> selects a number based + on <xref linkend="guc-shared-buffers"/> and the maximum number of + processes (<xref linkend="guc-max-connections"/>, <xref + linkend="guc-autovacuum-worker-slots"/>, <xref + linkend="guc-max-worker-processes"/> and <xref + linkend="guc-max-wal-senders"/>), but not more than + <literal>64</literal>. + </para> + <para> + This parameter can only be set at server start. + </para> + </listitem> + </varlistentry> + + <varlistentry id="guc-io-method" xreflabel="io_method"> + <term><varname>io_method</varname> (<type>enum</type>) + <indexterm> + <primary><varname>io_method</varname> configuration parameter</primary> + </indexterm> + </term> + <listitem> + <para> + Selects the method for executing asynchronous I/O. + Possible values are: + <itemizedlist> + <listitem> + <para> + <literal>sync</literal> (execute asynchronous-eligible I/O synchronously) + </para> + </listitem> + </itemizedlist> + </para> + <para> + This parameter can only be set at server start. + </para> + </listitem> + </varlistentry> + </variablelist> </sect2> |