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 1pv29W-00063n-Hq for pgsql-hackers@arkaria.postgresql.org; Fri, 05 May 2023 20:35:43 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1pv28V-0001ks-Tw for pgsql-hackers@arkaria.postgresql.org; Fri, 05 May 2023 20:34:39 +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 1pv28U-0001k5-6t for pgsql-hackers@lists.postgresql.org; Fri, 05 May 2023 20:34:39 +0000 Received: from out2-smtp.messagingengine.com ([66.111.4.26]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1pv28Q-000jn4-LB for pgsql-hackers@lists.postgresql.org; Fri, 05 May 2023 20:34:36 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 594CD5C019E; Fri, 5 May 2023 16:34:33 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Fri, 05 May 2023 16:34:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=anarazel.de; h= cc:cc: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=fm3; t=1683318873; x=1683405273; bh=Mi wACycWRcWyx6gGfg3pQF8YfpjognlofHos3hD6VCY=; b=Uv5jail5waoJOGyZH/ irzH6AVpmQ3jAypM8Pte4qV786Fs463JkRPYNp75W6d0JQSmaLYiFc3AEJwe68ei Ov+mY+NquzXg/xCc6TqMUHe/Gs284Qzi3Eki22XkeqXU5EZsVv02pH35jr3nzjPO botdvnEvh+wo1d53C3buR2icE9UVIUFUOESLYQlIy91dbYRY1Tg78XGBCxyHfxfk R4V1anLeyroKIz8jnL3uThL8TUxpqB4PoDErGqWz86uyt91Y5POom90nTtDBlJ9N PtYHXmMxkoXI2HYl/PDBSoXCzlL6vNjzD1lgAZVFNnFjymzbIwZXNv85kpuaIAY1 b7yA== 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:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; t=1683318873; x=1683405273; bh=MiwACycWRcWyx 6gGfg3pQF8YfpjognlofHos3hD6VCY=; b=E+ph6t2bkiC4/gZQGnYeFN0WQdsDB ut4y/mjr4Uk1Ux5qDroddDtPCaBJNVZ3S6XDlB/jQuQMaS0PQT4tg4jq0AeQ8YTT qQaVD3NU0XOXzlqjg7V4iWt564M/5RBgmiLqwkHPXdZ5NCDm+bpWLWpsaJG1Ss/J FXJli08c/5Z8SFjN27xhnRNZlF3W2IE6/aqJ/41glmC+v2Az5i2FnsmOp0TB94Gt y5dGIyR2ZNVKGa2fN7XjlZvkA0rahk32laPIosdaIi2zC89UwTa9f5zeFo1KDEJC QozEAUH0vAix4vhpLTDRHdpH6XmadnRKguIgDlIqGeJW+t1y3QNIgq5NQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrfeefvddgudehfecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enogfuuhhsphgvtghtffhomhgrihhnucdlgeelmdenucfjughrpeffhffvvefukfhfgggt uggjsehttdertddttddvnecuhfhrohhmpeetnhgurhgvshcuhfhrvghunhguuceorghnug hrvghssegrnhgrrhgriigvlhdruggvqeenucggtffrrghtthgvrhhnpeekudeuueeffeel feegkeegueejkeeiudetgfduleeitdfffeevffdtveelveetgfenucffohhmrghinhepgh hithhhuhgsrdhiohenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhl fhhrohhmpegrnhgurhgvshesrghnrghrrgiivghlrdguvg X-ME-Proxy: Feedback-ID: id4a34324:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 5 May 2023 16:34:32 -0400 (EDT) Date: Fri, 5 May 2023 13:34:31 -0700 From: Andres Freund To: MARK CALLAGHAN Cc: pgsql-hackers@lists.postgresql.org Subject: Re: benchmark results comparing versions 15.2 and 16 Message-ID: <20230505203431.aq6d2ffcdn3avfgh@awork3.anarazel.de> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hi, On 2023-05-05 10:45:12 -0700, MARK CALLAGHAN wrote: > This is mostly a hobby project for me - my other hobby is removing > invasive weeds. Hah :) > Summary of the results: > * from r1 - insert-heavy (l.i0, l.i1) and create indexes (l.x) steps are > ~2% slower in PG 16 > * from r2 - create index (l.x) step is ~4% slower in PG 16 > * from r3 - regressions are similar to r1 > * from r4, r5 and r6 - regressions are mostly worse than r1, r2, r3. Note > r4, r5, r6 are the same workload as r1, r2, r3 except the database is > cached by PG for r1, r2, r3 so the r4, r5 and r6 benchmarks will do much > more copying from the OS page cache into the Postgres buffer pool. One thing that's somewhat odd is that there's very marked changes in l.i0's p99 latency for the four clients cases - but whether 15 or 16 are better differs between the runs. r2) p99 20m.pg152_o3_native_lto.cx7 300 20m.pg16prebeta.cx7 23683 r3) p99 20m.pg152_o3_native_lto.cx7 70245 20m.pg16prebeta.cx7 8191 r5) p99 20m.pg152_o3_native_lto.cx7 11188 20m.pg16prebeta.cx7 72720 r6) p99 20m.pg152_o3_native_lto.cx7 1898 20m.pg16prebeta.cx7 31666 I do wonder if there's something getting scheduled in some of these runs increasing latency? Or what we're seeing depends on the time between the start of the server and the start of the benchmark? It is interesting that the per-second throughput graph shows a lot of up/down at the end: https://mdcallag.github.io/reports/23_05_04_ibench.beelink.pg16b.4u.1tyes.1g/tput.l.i0.html Both 15 and 16 have one very high result at 70s, 15 then has one low, but 16 has two low results. Greetings, Andres Freund