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 1pyiy2-00089i-4b for pgsql-hackers@arkaria.postgresql.org; Tue, 16 May 2023 00:55:06 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1pyiy0-00026a-Up for pgsql-hackers@arkaria.postgresql.org; Tue, 16 May 2023 00:55:04 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pyixz-00026D-CC for pgsql-hackers@lists.postgresql.org; Tue, 16 May 2023 00:55:04 +0000 Received: from wout5-smtp.messagingengine.com ([64.147.123.21]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1pyixu-0002C1-Vg for pgsql-hackers@lists.postgresql.org; Tue, 16 May 2023 00:55:02 +0000 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 9879532009DA; Mon, 15 May 2023 20:54:56 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Mon, 15 May 2023 20:54:57 -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=fm1; t=1684198496; x=1684284896; bh=/r ZVkVJjyzc1iI2WY88d0LNIXXS45pTchmD31HTMejs=; b=OSz84p2EgCQrtRFWi6 NVxv5ANehbn2B6oAE6SgwfwLBGUme+h+a5nZ36abgGf/pZyCbs8gRsONbGZtTaHv 5nw1zfUBeewmI3ZJvYvF/DJyTkLTXgOgqGa3OKHneupGiydE1pSJHnB+VjzVNWlx b6p5CsoD5uW+ufoxthp7kaXNR4grcH4rXOvORzJ5w62jahSVFeuNqVRmr9lmUXZP gDJsONTqeZtASQs012hiUZMeJYN6atz4BLvvfaLwxwkGiIoiy3VKwEfRM2I+TvUL vr8gvTX5fKA787tTPioicf7ZsWv1EcjvjENvxGUDiw+mSojRrD3UybBSIhPlT4WV 0OjQ== 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=fm1; t=1684198496; x=1684284896; bh=/rZVkVJjyzc1i I2WY88d0LNIXXS45pTchmD31HTMejs=; b=GTCSpkyMlWHp18bkKQD2cLn911F9Y yXFYZTt3WruUW93BqT59bjdsQeIu3t5+jDjYTM2C2E+XMjzjnBUYXD3mmT4rLNFB sLRerAbHA9koE5QYyAyLY9wpNbFTOQJALGuit+VNy1OhR0tU7usu1EXdOhpj1xrP clFrgtR0wug7eltZMg2qpNB7iy/N2fZc1slYehRWqhTMKz+5BgoS9FStg5rO/RZD jVuZa9DcVRIZV/tC0qUkn5u+z+yIDseJHR0LPyxSSQu66EEYPYmtxmHmPoJy00RF g2OqfJWHCDUpO2/23Sjj6E8IqJ9e2MxUjkkHFQOvFs87WfiOYITaz2rdQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrfeehkedgfeelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvfevuffkfhggtggujgesthdtredttddtvdenucfhrhhomheptehnughr vghsucfhrhgvuhhnugcuoegrnhgurhgvshesrghnrghrrgiivghlrdguvgeqnecuggftrf grthhtvghrnhepvdfffeevhfetveffgeeiteefhfdtvdffjeevhfeuteegleduheetvedu ieettddunecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomh eprghnughrvghssegrnhgrrhgriigvlhdruggv X-ME-Proxy: Feedback-ID: id4a34324:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 15 May 2023 20:54:55 -0400 (EDT) Date: Mon, 15 May 2023 17:54:53 -0700 From: Andres Freund To: Michael Paquier Cc: Alexander Lakhin , Michael Paquier , MARK CALLAGHAN , pgsql-hackers@lists.postgresql.org Subject: Re: benchmark results comparing versions 15.2 and 16 Message-ID: <20230516005453.wrsldqhhbpy5gfnd@awork3.anarazel.de> References: <20230508191117.v6475ip6hxpwukss@awork3.anarazel.de> <20230509164824.wtfn5aoggj4rcz67@awork3.anarazel.de> <20230516001447.xrijuuqcn5s7phuz@awork3.anarazel.de> 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-16 09:42:31 +0900, Michael Paquier wrote: > > I get quite variable performance if I don't pin client / server to the same > > core, but even the slow performance is faster than 45k. > > Okay. You mean with something like taskset or similar, I guess? Yes. numactl --physcpubind ... in my case. Linux has an optimization where it does not need to send an IPI when the client and server are scheduled on the same core. For single threaded ping-pong tasks like pgbench -c1, that can make a huge difference, particularly on larger CPUs. So you get a lot better performance when forcing things to be colocated. Greetings, Andres Freund