Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gtwwF-00051u-If for pgsql-hackers@arkaria.postgresql.org; Wed, 13 Feb 2019 15:59:07 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gtwwC-00020a-Rk for pgsql-hackers@arkaria.postgresql.org; Wed, 13 Feb 2019 15:59:04 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gtwwC-00020T-Kb for pgsql-hackers@lists.postgresql.org; Wed, 13 Feb 2019 15:59:04 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gtww6-0006El-5I for pgsql-hackers@postgresql.org; Wed, 13 Feb 2019 15:59:04 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id x1DFwo5U025069; Wed, 13 Feb 2019 10:58:50 -0500 From: Tom Lane To: Alvaro Herrera cc: Andres Freund , Thomas Munro , pgsql-hackers@postgresql.org Subject: Re: reducing isolation tests runtime In-reply-to: <20190213154008.GA16739@alvherre.pgsql> References: <20190213154008.GA16739@alvherre.pgsql> Comments: In-reply-to Alvaro Herrera message dated "Wed, 13 Feb 2019 12:40:08 -0300" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <25067.1550073530.1@sss.pgh.pa.us> Date: Wed, 13 Feb 2019 10:58:50 -0500 Message-ID: <25068.1550073530@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Alvaro Herrera writes: > On 2019-Feb-13, Tom Lane wrote: >> Some of the slower buildfarm critters use MAX_CONNECTIONS to limit >> the load on their hosts. As long as the isolation tests honor that, >> I don't see a real need for a separate serial schedule. > MAX_CONNECTIONS was the only reason I didn't push this through. Do you > (Andres) have any solution to that? Doesn't the common pg_regress.c infrastructure handle that? We might need to improve isolation_main.c and/or the isolation Makefile to make it accessible. I suppose that in what I'm thinking about, MAX_CONNECTIONS would be interpreted as "max number of concurrent isolation scripts", which is not exactly number of connections. A quick and dirty answer would be to have isolation_main.c divide the limit by a factor of 4 or so. regards, tom lane