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 1gUGaS-00005q-VR for pgsql-hackers@arkaria.postgresql.org; Tue, 04 Dec 2018 19:42:30 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gUGaR-0003iK-BY for pgsql-hackers@arkaria.postgresql.org; Tue, 04 Dec 2018 19:42:27 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gUGaP-0003iD-Ez for pgsql-hackers@lists.postgresql.org; Tue, 04 Dec 2018 19:42:27 +0000 Received: from out4-smtp.messagingengine.com ([66.111.4.28]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gUGaL-00072S-VL for pgsql-hackers@postgresql.org; Tue, 04 Dec 2018 19:42:24 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 1E45B20E0E; Tue, 4 Dec 2018 14:42:20 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Tue, 04 Dec 2018 14:42:20 -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=MAQeKJN81Uw13/dBaA0XXUekHau v0JPw4kqaa2t4MBw=; b=Pr2OyZ8T1keDPwCRUecwmXKjMGGxGz0q/qnnJ24QIU2 Xt2pl6FnjimlfUcCVAEmllDnBm9WiS9h2F40t9XuYI8379zo2S5WRJU/pNDqsve4 SwlBYhjJHWOEphgrzXEvbdb//gXQxdjUvnkWREFqLy0x9+RlKPXMXTNc4wP3TJpA AAlaEoRNCHC9BqbFCBepaTTqEo87MeR7Uu9bEaVgMrVeWccA1sYsvke79nYBPnMB SzsoGG0aAIuTOAxM8ITiU21fvB94nDLjgBmwi9J8pXRig4x1CfS5hAbu3T3Hx5wv H8v+e8908nEO8dnnhXmuyq1+65iWuh7382/kROX1o/g== 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=fm1; bh=MAQeKJ N81Uw13/dBaA0XXUekHauv0JPw4kqaa2t4MBw=; b=i4uqIlo7eZD0I53WNTeX0q J9tuuvwd1gDQzT2OIclgWuLDo9fTA5mSwygr0iLc4e+5NHn9MFVMvUeZzHSV2x9W FgXJMQDVBtyVnh/0eC+UIHJY/4oWqKPr8UDV6ZDJpP0xzEy6RWVW7DyyE32TzZev 0pp0HQJFv1irHghz8mT4KgY6h1YNA2kiwT/EzXJ6KCuZdlLSnR7LnCDPoBUt/lP9 3T5ZANAawIKaCOcs/J+oHXLD9Oi8hUN18gbb/C2qXt7Rf6UbnA4JBfceomCadm9B FM9SdxJM+aJHKqVIaFLAk5T7H85dg+nZEJssC/l7BdaeHY4M+NsKyqgRWJEIW0SQ == X-ME-Sender: X-ME-Proxy: Received: from intern.anarazel.de (c-98-210-140-171.hsd1.ca.comcast.net [98.210.140.171]) by mail.messagingengine.com (Postfix) with ESMTPA id 2795C102E4; Tue, 4 Dec 2018 14:42:19 -0500 (EST) Date: Tue, 4 Dec 2018 11:42:16 -0800 From: Andres Freund To: Alvaro Herrera Cc: Tom Lane , Thomas Munro , pgsql-hackers@postgresql.org Subject: Re: reducing isolation tests runtime Message-ID: <20181204194216.b5pr6old7xxb4u7q@alap3.anarazel.de> References: <29555.1516913884@sss.pgh.pa.us> <20180125212728.vtiypt3fiu3pxguh@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180125212728.vtiypt3fiu3pxguh@alvherre.pgsql> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hi, On 2018-01-25 18:27:28 -0300, Alvaro Herrera wrote: > Tom Lane wrote: > > Alvaro Herrera writes: > > > Here's a concrete proposal. Runtime is 45.7 seconds on my laptop. It > > > can be further reduced, but not by more than a second or two unless you > > > get in the business of modifying other tests. (I only modified > > > deadlock-soft-2 because it saves 5 seconds). > > > > Looks reasonable to me, but do we want to set any particular convention > > about the max number of tests to run in parallel? If so there should > > be at least a comment saying what. > > Hmm, I ran this in a limited number of connections and found that it > fails with less than 27; and there's no MAX_CONNECTIONS like there is > for pg_regress. So I'll put this back on the drawing board until I'm > back from vacations ... I'd like to see this revived, getting a bit tired waiting longer and longer to see isolationtester complete. Is it really a problem that we require a certain number of connections? Something on the order of 30-50 connections ought not to be a real problem for realistic machines, and if it's a problem for one, they can use a serialized schedule? Greetings, Andres Freund