Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d319R-0002Ou-0n for pgsql-hackers@arkaria.postgresql.org; Tue, 25 Apr 2017 14:09:09 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1d319Q-0003PH-BV for pgsql-hackers@arkaria.postgresql.org; Tue, 25 Apr 2017 14:09:08 +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_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1d317u-0000lR-Bo for pgsql-hackers@postgresql.org; Tue, 25 Apr 2017 14:07:34 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1d317q-0006Tv-0i for pgsql-hackers@postgresql.org; Tue, 25 Apr 2017 14:07:33 +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 v3PE7DSL015163; Tue, 25 Apr 2017 10:07:13 -0400 From: Tom Lane To: Craig Ringer cc: Heikki Linnakangas , Andres Freund , PostgreSQL Hackers , Amit Kapila Subject: Re: OK, so culicidae is *still* broken In-reply-to: References: <4180.1492292046@sss.pgh.pa.us> <6309.1492611331@sss.pgh.pa.us> <20170419153151.y5bfp4kdo377ycps@alap3.anarazel.de> <20170420192500.gaagaaopc2kjmort@alap3.anarazel.de> <20170424180848.gxaw44jwag7doqz5@alap3.anarazel.de> <1784.1493059391@sss.pgh.pa.us> <20170424185029.xm5yjkrifajcmmco@alap3.anarazel.de> Comments: In-reply-to Craig Ringer message dated "Tue, 25 Apr 2017 20:18:16 +0800" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <15161.1493129233.1@sss.pgh.pa.us> Date: Tue, 25 Apr 2017 10:07:13 -0400 Message-ID: <15162.1493129233@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org Craig Ringer writes: > On 25 Apr. 2017 13:37, "Heikki Linnakangas" wrote: >> For some data shared memory structures, that store no pointers, we wouldn't >> need to insist that they are mapped to the same address in every backend, >> though. In particular, shared_buffers. It wouldn't eliminate the problem, >> though, only make it less likely, so we'd still need to retry when it does >> happen. > Good point. Simply splitting out shared_buffers into a moveable segment > would make a massive difference. Much less chance of losing the dice roll > for mapping the fixed segment. > Should look at what else could be made cheaply relocatable too. I don't think it's worth spending any effort on. We need the retry code anyway, and making it near impossible to hit that would only mean that it's very poorly tested. The results upthread say that it isn't going to be hit often enough to be a performance problem, so why worry? regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers