Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1q7QpF-0008W9-JJ for pgsql-hackers@arkaria.postgresql.org; Fri, 09 Jun 2023 01:22:02 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1q7QpE-0000tC-8W for pgsql-hackers@arkaria.postgresql.org; Fri, 09 Jun 2023 01:22:00 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1q7QpD-0000t0-Ca for pgsql-hackers@lists.postgresql.org; Fri, 09 Jun 2023 01:21:59 +0000 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1q7Qp7-000za7-Ii for pgsql-hackers@postgresql.org; Fri, 09 Jun 2023 01:21:57 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 92541320076F; Thu, 8 Jun 2023 21:21:51 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Thu, 08 Jun 2023 21:21:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=anarazel.de; 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:sender:subject:subject:to:to; s=fm1; t= 1686273711; x=1686360111; bh=Wl6vN2U2xgNcp5O/GawmaVZVqC2UKNUb5Kj SmkmIgLE=; b=HUCtuVd25dcjI3daj+A9FdjUZ6L19c0dZ8ssBuXx++6/Br3mcl4 4tU3O8dUjxwJ+QKzZlD5jxtXnwnfme8z6T0KGeex4jvyT404BCB1uyWwXohMLsZH SdnT7AoZbI/XxAVObk2FhnL4kxq7XMD0P12Wggam6vMh8mOxxmSbAaUgFeZ70X6M k0vSSb/GifojtqX8ANiwIoc0Zap3iND/gmqpDnyB84Xy9GSuiiBQZ1PnVPwMIMwW TFbqZObrzMsbcVgs/KEfXu/xgn5fumtwImZQLXPwefF86zFSBPgDn3CyMuvPt6nW K0MWeS0Nw7p4B1Pmbw2N7hhyXunOxOpU8lA== 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:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1686273711; x=1686360111; bh=Wl6vN2U2xgNcp5O/GawmaVZVqC2UKNUb5Kj SmkmIgLE=; b=CM0iYZeeQX876hF0QOzgukzC7xFpodndqaxEjArzgVLw5rcBovg +rX6FlE1Wqmks/9vZrb5IB49yc6lp3aunXwvULhr5H//5syjcBAZiASbG+mmVls2 V0ivK6LrGnaqh52z6tUCsJ64y9XoOLa2MpBJr2clK94o0xWLp+Gkx/i4bGmCEPl3 MUEuitOwoknMVEnM5pBz+hNZnOK/mmF539vilXQ9+xSUIxYIoDOM2bRytpi6Cowb NGMUMjovVQGVB/icToPkPeU8jIe/Lfh5drsQZB61Kw1353+nFeiD7DZc7G1uVr1C m7x6gsor83z7HrB0T2McnjMQyLIt2eSItiQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrgedtjedggeegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvvefukfhfgggtugfgjgesth ekredttddtjeenucfhrhhomheptehnughrvghsucfhrhgvuhhnugcuoegrnhgurhgvshes rghnrghrrgiivghlrdguvgeqnecuggftrfgrthhtvghrnhephfeitefgleevtedtffejve dujeekjedugfdtveffjeelvddtfeekgefgjefhgfegnecuvehluhhsthgvrhfuihiivgep tdenucfrrghrrghmpehmrghilhhfrhhomheprghnughrvghssegrnhgrrhgriigvlhdrug gv X-ME-Proxy: Feedback-ID: id4a34324:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 8 Jun 2023 21:21:50 -0400 (EDT) Date: Thu, 8 Jun 2023 18:21:47 -0700 From: Andres Freund To: Gregory Smith Cc: PostgreSQL-development Subject: Re: Major pgbench synthetic SELECT workload regression, Ubuntu 23.04+PG15 Message-ID: <20230609012147.5j3gw2dikjf76fti@awork3.anarazel.de> References: <20230608221807.p77h43zotlfvkg65@awork3.anarazel.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hi, On 2023-06-08 20:20:18 -0400, Gregory Smith wrote: > On Thu, Jun 8, 2023 at 6:18 PM Andres Freund wrote: > > > Could you get a profile with call graphs? We need to know what leads to all > > those osq_lock calls. > > perf record --call-graph dwarf -a sleep 1 > > or such should do the trick, if run while the workload is running. > > > > I'm doing something wrong because I can't find the slow part in the perf > data; I'll get back to you on this one. You might need to add --no-children to the perf report invocation, otherwise it'll show you the call graph inverted. - Andres