Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1u7rXJ-008UUi-Cu for pgsql-general@arkaria.postgresql.org; Thu, 24 Apr 2025 08:02:22 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1u7rXH-00ENIQ-Ev for pgsql-general@arkaria.postgresql.org; Thu, 24 Apr 2025 08:02:20 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1u7rXG-00ENHt-J3 for pgsql-general@lists.postgresql.org; Thu, 24 Apr 2025 08:02:19 +0000 Received: from fhigh-a2-smtp.messagingengine.com ([103.168.172.153]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1u7rXD-001jy5-15 for pgsql-general@lists.postgresql.org; Thu, 24 Apr 2025 08:02:19 +0000 Received: from phl-compute-11.internal (phl-compute-11.phl.internal [10.202.2.51]) by mailfhigh.phl.internal (Postfix) with ESMTP id 478D71140190; Thu, 24 Apr 2025 04:02:14 -0400 (EDT) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-11.internal (MEProxy); Thu, 24 Apr 2025 04:02:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eisentraut.org; h=cc:cc:content-transfer-encoding:content-type:content-type :date:date:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:subject:subject:to:to; s=fm2; t=1745481734; x=1745568134; bh=zhh+bVkWP8Tp3lxjDA12ltNlXh4fnqk5 mho31VtfaEE=; b=Kpp+dE6sZcFnve+9l6RcqIby6O5Y3vl4G9QJh0Y0rardCT9T MPQnmlexOAha4cDtpKupF57IT6UcvZosxHcoPsfehUEAUVcVdxYz34sc979BIjQQ ft34XB7GqlEFXM3X9oGODDRT0u0pdIEZKAQPO+ZJPMEa5k3IvJAkbzCRw8kvnWUh QvBiAVaDAJkl3eqz9MbPhrxI4pDwsxkEIxG4nTX//7KDiiuy/ZUVtTPZISt6+tFU mlNcTon1jIRXDbE3+PTeT5E6Ur/gsbuHQ3i4ImmPprDBBiLH1OBYzZHQ+B6ZHOtl fv6ofegVV1KC6ysxDffXJnSxg+bIs+4oW8vIiQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1745481734; x= 1745568134; bh=zhh+bVkWP8Tp3lxjDA12ltNlXh4fnqk5mho31VtfaEE=; b=k WFnau/GNXBTtrD0/gsISdAAwadkjglGuxg+Uilu/WiBWQu1iDD5ugznjr8Slde99 UzguS0Ppuim0tbtPsNnUzlXtPhKhyXzn/FcH+3Eriri277kFIvX+M+BZEaNRFYe3 /L20euUSqsHgO6rMGSdbNy+AhcXLZcrrLrMiAgTqPUHv28pc2KaTRgv3uGZanpB0 S5pDPKFhZuKB4sT5Fu1qt05o/sy3TxmFcJk2J+Ekx0BmJqBX4nkWRCIs3QksnTik A0Htmg9mSj+D29SQYYpGOXMpKNsNjVxiU/8jM7JvYt6JRgHgPj/KJxzoMoz0JyQ8 oQnR75fZ5PvULGll7haUg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgddvgeekleegucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggv pdfurfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpih gvnhhtshculddquddttddmnecujfgurhepkfffgggfuffvvehfhfgjtgfgsehtjeertddt vdejnecuhfhrohhmpefrvghtvghrucfgihhsvghnthhrrghuthcuoehpvghtvghrsegvih hsvghnthhrrghuthdrohhrgheqnecuggftrfgrthhtvghrnhepleejtddugffgffefhfei teefheetudekjeeutdelhfeggfffudejheeufeduffeknecuffhomhgrihhnpehpohhsth hgrhgvshhqlhdrohhrghenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgr ihhlfhhrohhmpehpvghtvghrsegvihhsvghnthhrrghuthdrohhrghdpnhgspghrtghpth htohepgedpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohepuggrnhhivghlseihvghs qhhlrdhsvgdprhgtphhtthhopehlrghurhgvnhiirdgrlhgsvgestgihsggvrhhtvggtrd grthdprhgtphhtthhopehikhhorhhothdtudesghhmrghilhdrtghomhdprhgtphhtthho pehpghhsqhhlqdhgvghnvghrrghlsehlihhsthhsrdhpohhsthhgrhgvshhqlhdrohhrgh X-ME-Proxy: Feedback-ID: ie0a040ee:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 24 Apr 2025 04:02:12 -0400 (EDT) Message-ID: <04099dee-b77b-4e5a-b796-4fb366ac830e@eisentraut.org> Date: Thu, 24 Apr 2025 10:02:10 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Another documentation issue To: Daniel Gustafsson , Laurenz Albe Cc: Igor Korot , "pgsql-generallists.postgresql.org" References: <03763b6b43cfd8a7194c2fb06452178db4256494.camel@cybertec.at> <4B9E0CAC-FB06-4F35-8C77-33AEA7F741B7@yesql.se> Content-Language: de-DE, en-US From: Peter Eisentraut In-Reply-To: <4B9E0CAC-FB06-4F35-8C77-33AEA7F741B7@yesql.se> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 23.04.25 11:14, Daniel Gustafsson wrote: >> On 23 Apr 2025, at 09:16, Laurenz Albe wrote: >> On Wed, 2025-04-23 at 00:21 -0500, Igor Korot wrote: > >>> However, this page >>> https://www.postgresql.org/docs/current/runtime-config-resource.html#GUC-EFFECTIVE-IO-CONCURRENCY >>> describes both default and mn/max, however t s says: >>> >>> [quote] >>> The default is 1 on supported systems, otherwise 0 >>> [/quote]] >>> >>> No explanation of what is "supported system" is given... >>> >>> And the same can be said about >>> https://www.postgresql.org/docs/current/runtime-config-resource.html#GUC-MAINTENANCE-IO-CONCURRENCY. >> >> According to the source, it is "systems that have posix_fadvise()". We could document that, >> but I don't know if it would help many people. I am not sure how easy and feasible it is >> to research which versions of which operating systems qualify. > > From memory it's supported on FreeBSD, NetBSD and Linux with Windows, macOS and > OpenBSD not supporting it. Assuming I'm not completely wrong (a 1 minute > search shows it's in the ballpark) we could perhaps add something like > "Unsupported platforms include (but isn't limited to) Windows and macOS" which > would provide a bit more clarity. Note that PG18 supports prefetching on macOS without posix_fadvise(), and we changed some of the documentation text to not mention posix_fadvise() anymore. Also, some of the text and the defaults have changed because of the async IO feature set. Maybe see if the text in master provides the information you need.