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 1gtxws-0008D7-Af for pgsql-hackers@arkaria.postgresql.org; Wed, 13 Feb 2019 17:03:50 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gtxwr-0007eY-27 for pgsql-hackers@arkaria.postgresql.org; Wed, 13 Feb 2019 17:03:49 +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 1gtxwq-0007eR-59 for pgsql-hackers@lists.postgresql.org; Wed, 13 Feb 2019 17:03:48 +0000 Received: from new1-smtp.messagingengine.com ([66.111.4.221]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gtxwn-0007mV-20 for pgsql-hackers@postgresql.org; Wed, 13 Feb 2019 17:03:47 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailnew.nyi.internal (Postfix) with ESMTP id 96A42B79D; Wed, 13 Feb 2019 12:03:43 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Wed, 13 Feb 2019 12:03:43 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=anarazel.de; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm3; bh=LI2KJQf8PiSPAitu4KMcH9jfPGG T61OwtnQKKfMcAtc=; b=JR8zGdflbuQV+dmQsOhR6rAYcFNaD60zqKsknd0z/SN +wc4lQ5/tXbqSkF5dyMPNjXsATbgPYkRA5uuyeW25YWea5D7mznLuKQAZdojooQk +ZAQE+ULRWPsatS6kvS0NB2kLMAyc4ds0Sy8qjNaC3xDRIquKsCcBqDynffVMutm XqEW4p1Ylb7MhMZQ+K2lNpxl/I7sNxSUz50IbuwzeBTTp0S5BfTXEfhm9ejjw30R 3dlQAJFFMwZIR/9Et8T0hOjoC9Q4U9c40nHL5YS/wKEICl8zAmHe0mf+p7Eg3/v5 NxGQIJ6aAqVdI3PU9gIW3+HMQYKoMAWTVhGEMVsZFLA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=LI2KJQ f8PiSPAitu4KMcH9jfPGGT61OwtnQKKfMcAtc=; b=YGIxfZrK7bGrK78ruyDIjb ZWWI5cow0Rx4gQjZMQ8kd2bXtfrjJo+rPitQkLIggJVz0U7BODSYnjj7Ttmm8EYj N3cSgANZJlgSuBsekwXA4SU7Lg4R8GGQ5ZxkSVJRSSap2YV5x0rFW1l9RrkiuP7m 9sIaknNgiGsJZq3a/sRCg3C3Qcw8zYl8YIpOjkSFEz9Ht04x8cOiTL2s5wISjeBv ukVwXld69kZcYzPwxoqVLVDsn4sLASHDUPFP7Lo9O0B1sKAwH3IC4t0hPzNMG02v oKETOsu47MwxeD3lxDkDzSCXj7jNI2bOBQaEi9LafmCrPuqOSJY8i+lBYaxXk96g == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedtledruddtfedgleejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfquhhtnecuuegrihhlohhuthemucef tddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpeffhffvuffkfh ggtggujgesthdtredttddtvdenucfhrhhomheptehnughrvghsucfhrhgvuhhnugcuoegr nhgurhgvshesrghnrghrrgiivghlrdguvgeqnecukfhppeekkedruddvkedrkedurdduvd eknecurfgrrhgrmhepmhgrihhlfhhrohhmpegrnhgurhgvshesrghnrghrrgiivghlrdgu vgenucevlhhushhtvghrufhiiigvpedu X-ME-Proxy: Received: from intern.anarazel.de (unknown [88.128.81.128]) by mail.messagingengine.com (Postfix) with ESMTPA id 64EB2E4650; Wed, 13 Feb 2019 12:03:42 -0500 (EST) Date: Wed, 13 Feb 2019 09:03:39 -0800 From: Andres Freund To: Tom Lane Cc: Alvaro Herrera , Thomas Munro , pgsql-hackers@postgresql.org Subject: Re: reducing isolation tests runtime Message-ID: <20190213170339.7j5emqw6wvxiuuhv@alap3.anarazel.de> References: <20190213154008.GA16739@alvherre.pgsql> <25068.1550073530@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <25068.1550073530@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2019-02-13 10:58:50 -0500, Tom Lane wrote: > 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. I guess that could work, although it's certainly not too pretty. Alternatively we could pre-parse the spec files, but that's a bit annoying given isolationtester.c is a separate c file... Do you have an idea why we have both max_concurrent_tests *and* max_connections in pg_regress? ISTM the former isn't really useful given the latter? Greetings, Andres Freund