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 1ldvOX-00075L-Hv for pgsql-hackers@arkaria.postgresql.org; Tue, 04 May 2021 13:47:25 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1ldvOW-0000Rt-0X for pgsql-hackers@arkaria.postgresql.org; Tue, 04 May 2021 13:47:24 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ldvOV-0000Rl-Q2 for pgsql-hackers@lists.postgresql.org; Tue, 04 May 2021 13:47:23 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ldvOP-0005uE-Kc for pgsql-hackers@postgresql.org; Tue, 04 May 2021 13:47:22 +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 144DkCZL3895574; Tue, 4 May 2021 09:46:12 -0400 From: Tom Lane To: Tomas Vondra cc: Thomas Munro , Andres Freund , Stephen Frost , Alvaro Herrera , David Steele , Dmitry Dolgov <9erthalion6@gmail.com>, Jakub Wartak , pgsql-hackers Subject: Re: WIP: WAL prefetch (another approach) In-reply-to: References: <8dd2dcc2-0b6b-a4ab-c1b3-032c0a5ab1c3@enterprisedb.com> <773932.1619022622@sss.pgh.pa.us> <892344.1619054465@sss.pgh.pa.us> <20210428163245.ff67pb2ii5irr5zr@alap3.anarazel.de> <2808045.1619628335@sss.pgh.pa.us> <3502526.1619925367@sss.pgh.pa.us> Comments: In-reply-to Tomas Vondra message dated "Tue, 04 May 2021 14:37:22 +0200" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <3895572.1620135972.1@sss.pgh.pa.us> Date: Tue, 04 May 2021 09:46:12 -0400 Message-ID: <3895573.1620135972@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Tomas Vondra writes: > On 5/3/21 7:42 AM, Thomas Munro wrote: >> Hmm, yeah that does seem plausible. It would be nice to see a report >> from any other system though. I'm still trying, and reviewing... > FWIW I've ran the test (make installcheck-parallel in a loop) on four > different machines - two x86_64 ones, and two rpi4. The x86 boxes did > ~1000 rounds each (and one of them had 5 local replicas) without any > issue. The rpi4 machines did ~50 rounds each, also without failures. Yeah, I have also spent a fair amount of time trying to reproduce it elsewhere, without success so far. Notably, I've been trying on a PPC Mac laptop that has a fairly similar CPU to what's in the G4, though a far slower disk drive. So that seems to exclude theories based on it being PPC-specific. I suppose that if we're unable to reproduce it on at least one other box, we have to write it off as hardware flakiness. I'm not entirely comfortable with that answer, but I won't push for reversion of the WAL patches without more evidence that there's a real issue. regards, tom lane