Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eeob7-0006A6-R6 for pgsql-hackers@arkaria.postgresql.org; Thu, 25 Jan 2018 20:58:13 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eeob7-0007cg-29 for pgsql-hackers@arkaria.postgresql.org; Thu, 25 Jan 2018 20:58:13 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1eeob6-0007cW-Mq for pgsql-hackers@lists.postgresql.org; Thu, 25 Jan 2018 20:58:12 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1eeob3-0003oI-Rt for pgsql-hackers@postgresql.org; Thu, 25 Jan 2018 20:58:11 +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 w0PKw4vd029556; Thu, 25 Jan 2018 15:58:04 -0500 From: Tom Lane To: Alvaro Herrera cc: Thomas Munro , Andres Freund , pgsql-hackers@postgresql.org Subject: Re: reducing isolation tests runtime In-reply-to: <20180125203415.zdoyjqpx5nzwcryk@alvherre.pgsql> References: <20180125203415.zdoyjqpx5nzwcryk@alvherre.pgsql> Comments: In-reply-to Alvaro Herrera message dated "Thu, 25 Jan 2018 17:34:15 -0300" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <29554.1516913884.1@sss.pgh.pa.us> Date: Thu, 25 Jan 2018 15:58:04 -0500 Message-ID: <29555.1516913884@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk 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. > Admittedly the new isolation_schedule file is a bit ugly. Meh, seems fine. We won't know if this really works till it hits the buildfarm, I suppose. regards, tom lane