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 1qwKNn-00B7fe-Bg for pgsql-committers@arkaria.postgresql.org; Fri, 27 Oct 2023 10:48:03 +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 1qwKNl-00Edc9-Ow for pgsql-committers@arkaria.postgresql.org; Fri, 27 Oct 2023 10:48:01 +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 1qwKNk-00Edc1-Hf for pgsql-committers@lists.postgresql.org; Fri, 27 Oct 2023 10:48:01 +0000 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qwKNc-0035lU-0H for pgsql-committers@lists.postgresql.org; Fri, 27 Oct 2023 10:47:59 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 3B61B5C012F; Fri, 27 Oct 2023 06:47:48 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Fri, 27 Oct 2023 06:47:48 -0400 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 :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=1698403668; x= 1698490068; bh=IvKBwMK4m/ddpGt4Duj230BUTj8xtsb0CTKn7ytG67g=; b=A 0cI3G806lJ3DP+eYbw6Li+TmTm2jvowf5etvoPCDT3Zugn4jnEfmM47fgeVCS0cQ tPK9gYwPSdE70oLnh4cX7ycumlTO+WhgiL2q3oPbCH/zzX8qac90YT0KNtYyrngt f6g593fG7+hBQBYUFU/F4WcvVV+upAdImQk0085vwlm2PxzSjdcBBKjjDJeaBekB JRu7uJPbPLzPDLhbNZ6ZYEKNZ+SsrlOZSYlzONdodApRw+BoRCtvpH7tvosvkgus VrFZ3FvhlD2l3YeQ6MfWCZvUUuDzb4gjGlcI0A+R+bwQyKd8Nl0HRDNekLw953+B M8jHEMQSb1oq2S/sEUohw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrleeggdeffecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpeffhffvvefukfggtggugfgjsehmkeerredttdejnecuhfhrohhmpeetlhhvrghr ohcujfgvrhhrvghrrgcuoegrlhhvhhgvrhhrvgesrghlvhhhrdhnohdqihhprdhorhhgqe enucggtffrrghtthgvrhhnpeduleekkefgtddttedtkefguddvieffleetgeejiefhteeh keevfeettdduvdfhueenucffohhmrghinhepvghnthgvrhhprhhishgvuggsrdgtohhmne cuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprghlvhhh vghrrhgvsegrlhhvhhdrnhhoqdhiphdrohhrgh X-ME-Proxy: Feedback-ID: ia2694551:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 27 Oct 2023 06:47:47 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alvh.no-ip.org; s=schmee; t=1698403664; bh=tX6eLfUSf/b78yswIx0IKh31n+RSADPutcWJH/20TFM=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=iMElOIwmiC4GfrJyhevdPeMowBWz4tBKdhsnDAwcA07gRjDsHzDzQG7FxmxLe2bQy f2vN3s1UeiVb1Lg/CPA/oKhUISj/HD63vDcS80biwJhszAcgzT2iTvXFFkoFIHkpo+ mwJVjLxOBsUFyhxMxyWxmXgA2qx7yl1KqfHBfc7egMxgwIvum6B4ZdaEtPFA2hGIvg bpNLPlFLh0pS7apbecE8/TfU/sD+I+gEYn8KLiS6pdojsfDdcBiQhyoNRPHTm0DL+f qJ2d3ln8XvkPd9XmrxzEYgrZdHu61WWs3mIZPygaM5KNNVlqjbyWuEnFYMotDkUOsp azyV0HKW16DXg== Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id EAD6FAD; Fri, 27 Oct 2023 12:47:44 +0200 (CEST) Date: Fri, 27 Oct 2023 12:47:44 +0200 From: Alvaro Herrera To: Alexander Korotkov Cc: pgsql-committers@lists.postgresql.org Subject: Re: pgsql: Adjust parallel_schedule with event triggers on authenticated lo Message-ID: <202310271047.mnwkql6nhbwi@alvherre.pgsql> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="b5bvsyfmxk2ttoz4" 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 --b5bvsyfmxk2ttoz4 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit On 2023-Oct-27, Alexander Korotkov wrote: > Adjust parallel_schedule with event triggers on authenticated login > > Event triggers on authenticated login could catch the connection of the > concurrent test. In order to prevent this side effect we need to run > the event_trigger test alone. Hmm, not a fan, because the original lines of the event_trigger test, which had no problem running in parallel, no longer do so. Why not split out only the new part of the test to run in non-parallel mode? An effortless win of ~50 ms. After this patch: ok 211 + stats 644 ms # parallel group (2 tests): event_trigger oidjoins ok 212 + oidjoins 103 ms ok 213 + event_trigger 57 ms ok 214 - event_trigger_login 16 ms ok 215 - fast_default 66 ms ok 216 - tablespace 156 ms 1..216 # All 216 tests passed. Before: ok 211 + stats 603 ms ok 212 - event_trigger 66 ms ok 213 - oidjoins 113 ms ok 214 - fast_default 71 ms ok 215 - tablespace 161 ms 1..215 # All 215 tests passed. -- Álvaro Herrera Breisgau, Deutschland — https://www.EnterpriseDB.com/ --b5bvsyfmxk2ttoz4 Content-Type: text/x-diff; charset=utf-8 Content-Disposition: attachment; filename="0001-paralelize-stuff.patch"