Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lzocC-0000qe-5H for pgsql-hackers@arkaria.postgresql.org; Sat, 03 Jul 2021 23:00:00 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lzocA-00085z-3x for pgsql-hackers@arkaria.postgresql.org; Sat, 03 Jul 2021 22:59:58 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lzoc9-00085r-SE for pgsql-hackers@lists.postgresql.org; Sat, 03 Jul 2021 22:59:57 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lzoc6-0002VG-M0 for pgsql-hackers@lists.postgresql.org; Sat, 03 Jul 2021 22:59:56 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 163MxnYX1289103; Sat, 3 Jul 2021 18:59:50 -0400 From: Tom Lane To: Andrew Dunstan cc: pgsql-hackers@lists.postgresql.org, Peter Eisentraut Subject: Re: Reducing the cycle time for CLOBBER_CACHE_ALWAYS buildfarm members In-reply-to: <702694.1625159862@sss.pgh.pa.us> References: <1582507.1624227029@sss.pgh.pa.us> <467e9f1a-f440-4875-2677-36f52f556f62@dunslane.net> <1799344.1624396289@sss.pgh.pa.us> <3f3f3d9d-fccf-318d-5c16-622778b42645@dunslane.net> <693603.1625151671@sss.pgh.pa.us> <702694.1625159862@sss.pgh.pa.us> Comments: In-reply-to Tom Lane message dated "Thu, 01 Jul 2021 13:17:42 -0400" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1289101.1625353189.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Sat, 03 Jul 2021 18:59:49 -0400 Message-ID: <1289102.1625353189@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk I wrote: > Andrew Dunstan writes: >> Seems reasonable. I don't have a CCA animal any more, but I guess I >> could set up a test. > I can run a test here --- I'll commandeer sifaka for awhile, > since that's the fastest animal I have. Done, and here's the results: Traditional way (-DCLOBBER_CACHE_ALWAYS): 32:53:24 https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=3Dsifaka&dt=3D2021= -07-01%2018%3A06%3A09 New way: 16:15:43 https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=3Dsifaka&dt=3D2021= -07-03%2004%3A02%3A16 That's running sifaka's full test schedule including TAP tests, which ordinarily takes it a shade under 10 minutes. The savings on a non-TAP run would be a lot less, of course, thanks to fewer initdb invocations. Although I lacked the patience to run a full back-branch cycle with -DCLOBBER_CACHE_ALWAYS, I did verify that the patch correctly injects that #define when running an old branch. So I think it's ready to go into the buildfarm, modulo any cosmetic work you might want to do. regards, tom lane