Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bbBC0-0001UP-O0 for pgsql-hackers@arkaria.postgresql.org; Sat, 20 Aug 2016 18:40:28 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bbBC0-0005La-3D for pgsql-hackers@arkaria.postgresql.org; Sat, 20 Aug 2016 18:40:28 +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 1bbBAd-0003kl-1c for pgsql-hackers@postgresql.org; Sat, 20 Aug 2016 18:39:03 +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.84_2) (envelope-from ) id 1bbBAW-00011x-9f for pgsql-hackers@postgresql.org; Sat, 20 Aug 2016 18:39:01 +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 u7KIcqMA029161; Sat, 20 Aug 2016 14:38:52 -0400 From: Tom Lane To: Robert Haas cc: Alexander Korotkov , pgsql-hackers Subject: Re: Should we cacheline align PGXACT? In-reply-to: <7503E425-6651-4D40-83FD-592AF580D618@gmail.com> References: <7503E425-6651-4D40-83FD-592AF580D618@gmail.com> Comments: In-reply-to Robert Haas message dated "Sat, 20 Aug 2016 14:33:13 -0400" Date: Sat, 20 Aug 2016 14:38:52 -0400 Message-ID: <29160.1471718332@sss.pgh.pa.us> X-Pg-Spam-Score: -2.5 (--) 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 Robert Haas writes: > Wow, nice results. My intuition on why PGXACT helped in the first place was that it minimized the number of cache lines that had to be touched to take a snapshot. Padding obviously would somewhat increase that again, so I can't quite understand why it seems to be helping... any idea? That's an interesting point. I wonder whether this whole thing will be useless or even counterproductive after (if) Heikki's CSN-snapshot patch gets in. I would certainly not mind reverting the PGXACT/PGPROC separation if it proves no longer helpful after that. 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