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.96) (envelope-from ) id 1w0rfK-002H6u-0n for pgsql-hackers@arkaria.postgresql.org; Fri, 13 Mar 2026 01:50:14 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1w0rfI-001C3N-2S for pgsql-hackers@arkaria.postgresql.org; Fri, 13 Mar 2026 01:50:13 +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.96) (envelope-from ) id 1w0rfI-001C3E-0B for pgsql-hackers@lists.postgresql.org; Fri, 13 Mar 2026 01:50:12 +0000 Received: from fout-a4-smtp.messagingengine.com ([103.168.172.147]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1w0rfF-00000002OFC-21Tv for pgsql-hackers@lists.postgresql.org; Fri, 13 Mar 2026 01:50:12 +0000 Received: from phl-compute-04.internal (phl-compute-04.internal [10.202.2.44]) by mailfout.phl.internal (Postfix) with ESMTP id 93A15EC0B60; Thu, 12 Mar 2026 21:50:07 -0400 (EDT) Received: from phl-frontend-03 ([10.202.2.162]) by phl-compute-04.internal (MEProxy); Thu, 12 Mar 2026 21:50:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= cc:cc: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=fm1; t=1773366607; x=1773453007; bh=IRdB8SpbGI A6Zndg1OvB9cg7DINKJRlc1h+1zFBfkZw=; b=Ij71BOeGVVHnVPRu8fhD/sfWP5 ChHwcKQCetbsdYPGx1R+L0twANt3kKdA+/dM3avZSHf3MVbRYdixeZIS4UjuNY5x HvGog55W1G08B4KBZTwZk+a1geot6iW1S9afaSClz8QsQZy7ggMeJM5riIv91IMw OdhdPue5Gez8t8orMtQ0tZ5vLjJkQazXfVuQsaAGDiSPzB6RcbGirxT1ihU1DiiQ +9DdmLTS4wN6i6dAYjgv9/3RkfIDvq023Y6gV6SxmCphigE4KtPNE5ZclyYejeXn hrPyJI/nPtqLAyqchfctWe8N9bEFPs+FASMd/Nx3SDehyBOAvcsvBJDMJLSw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc: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=fm1; t= 1773366607; x=1773453007; bh=IRdB8SpbGIA6Zndg1OvB9cg7DINKJRlc1h+ 1zFBfkZw=; b=yWKEUrl87QhHUsjIDuyD7AEsPFcKOzmnxL5luage6r9gWgkzhMd bqSskmacIDwkkJsYUStdQGR3a4vB9elMd8HvSVCpcGuMPoxKVNoEvaVi5a1UqOtn wmwddNwHU41XpxRG+bF8u6ilTJXkLS8sSs1Kz2HparhjnoTHNx9rPqvELlfTOX1E kVcpe7f8OxNkTmomcLZXV3zioqZ1IbzxY65lVv4DAlR0CoxGFQ/k8ArEagrFV/tq KYT2SvxPicT5/lPXSwqHoaMpbPZYfAFmlYj6k4g3ymJeTiou0oT/M3TB/9M/0A07 cDgWS/7kItBAW2nAOozFKafyrQpqzgntwqg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefgedrtddtgddvkeekfeekucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnegfrh hlucfvnfffucdljedtmdenucfjughrpeffhffvvefukfhfgggtuggjsehgtderredttddv necuhfhrohhmpefoihgthhgrvghlucfrrghquhhivghruceomhhitghhrggvlhesphgrqh huihgvrhdrgiihiieqnecuggftrfgrthhtvghrnhepteelieefudffhffhtdetleeggeeg fffhkeeuveetiefgudduvedutefggeeivdejnecuvehluhhsthgvrhfuihiivgeptdenuc frrghrrghmpehmrghilhhfrhhomhepmhhitghhrggvlhesphgrqhhuihgvrhdrgiihiidp nhgspghrtghpthhtohepgedpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohepgihunh gvnhhgiihhohhusehgmhgrihhlrdgtohhmpdhrtghpthhtoheprghnughrvghssegrnhgr rhgriigvlhdruggvpdhrtghpthhtohepphhgshhqlhdqhhgrtghkvghrsheslhhishhtsh drphhoshhtghhrvghsqhhlrdhorhhgpdhrtghpthhtohepsgihrghvuhiikedusehgmhgr ihhlrdgtohhm X-ME-Proxy: Feedback-ID: i0fe9450f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 12 Mar 2026 21:50:04 -0400 (EDT) Date: Fri, 13 Mar 2026 10:49:57 +0900 From: Michael Paquier To: Xuneng Zhou Cc: Andres Freund , pgsql-hackers , Nazir Bilal Yavuz Subject: Re: Streamify more code paths Message-ID: References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="BY3Fie2F2AsYZVoV" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --BY3Fie2F2AsYZVoV Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Mar 12, 2026 at 11:35:48PM +0800, Xuneng Zhou wrote: > Our io_time metric currently measures only read time and ignores write > I/O, which can be misleading. We now separate it into read_time and > write_time. I had a look at the pgstatindex part this morning, running my own test under conditions similar to 6c228755add8, and here's one extract with io_uring: pgstatindex (100k tuples) base=32938.2ms patch=83.3ms 395.60x ( 99.7%) (reads=2745->173, io_time=32932.09->59.75ms) There was one issue with a declaration put in the middle of the code, that I have fixed. This one is now done, remains 3 pieces to evaluate. -- Michael --BY3Fie2F2AsYZVoV Content-Type: application/pgp-signature; name=signature.asc -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmmzbUUACgkQnvQgOdby QH1S3Q//agxj213aaXeuFhdMtIXMV4HEyVaOm7xaEEdXiXWaGuDtROl7hXbKl+x3 UnihJ0h9L0r4QrFxM+5EWjCxWSpwsmWZQRwm56XfEira80+jgG7Ok5HnQtUTCoZg mJe8cA97QL/qzkDeJu4zwR6h7yVS89Qoe52izp+ckXZvIOwLDqfMHv7+gPnalv/i mYCQATs29IqplZ8QxRTfWKJz04k/UfQmwkn/Z83bI+7ci0HEXHALBmUwOhwgR44Y W8XB/NjnBiIeN7C4oxvlSlf62sf/HqVsyYIUhwiMeC9SoEi9zWI5jsT2NkNFcu+u TfQZx6tShlA66leou5hdrVKRSV4Rdd8QetdQj6v2FFk6YcJ8gCTFpJUZNgaQ4/0M bqgKjPrn2ECUGjOU9bFl93KpQKokiMtEg/fzNExLcCoU0Oz1LJi4Kj3TMoxg8F3B KjUcnd5eJeXjJ6YPGbj1jB+CCA4iTuiEF5Zcc5/JOpulA/WzjdHcqj2yGeYZvK9+ yWu1ONNYh8yVoNPH3qt/PS1A84Bf0m3tay+dDJMwXjO+Dro4An7fRimGCG4UlfeU DohzXke9oUjHOApv5dAZRjHyJwNOjTVL2+kWItMrRigdGGKJeVFi66Rok5geo6cV 2Ll7o/BI2ewWFEJ7g4Eg0AIDo8B3wVEMaTLAccjkgw3sO30VzpI= =//Tz -----END PGP SIGNATURE----- --BY3Fie2F2AsYZVoV--