effective_io_concurrency and NVMe devices

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: effective_io_concurrency and NVMe devices
Date: 2022-04-20 02:56:05
Message-ID: Yl92RVoXVfs+z2Yj@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

NVMe devices have a maximum queue length of 64k:

https://blog.westerndigital.com/nvme-queues-explained/

but our effective_io_concurrency maximum is 1,000:

test=> set effective_io_concurrency = 1001;
ERROR: 1001 is outside the valid range for parameter "effective_io_concurrency" (0 .. 1000)

Should we increase its maximum to 64k? Backpatched? (SATA has a
maximum queue length of 256.)

--
Bruce Momjian <bruce(at)momjian(dot)us> https://momjian.us
EDB https://enterprisedb.com

Indecision is a decision. Inaction is an action. Mark Batterson

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Amit Kapila 2022-04-20 03:49:16 Re: typos
Previous Message wangw.fnst@fujitsu.com 2022-04-20 02:46:49 RE: Logical replication timeout problem