Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bak9B-00066t-F7 for pgsql-hackers@arkaria.postgresql.org; Fri, 19 Aug 2016 13:47:45 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bak9B-0005x1-28 for pgsql-hackers@arkaria.postgresql.org; Fri, 19 Aug 2016 13:47:45 +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 1bak7n-0002wg-7n for pgsql-hackers@postgresql.org; Fri, 19 Aug 2016 13:46:19 +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 1bak7k-0005nq-GO for pgsql-hackers@postgresql.org; Fri, 19 Aug 2016 13:46:18 +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 u7JDkCdX031992; Fri, 19 Aug 2016 09:46:12 -0400 From: Tom Lane To: Alexander Korotkov cc: pgsql-hackers Subject: Re: Should we cacheline align PGXACT? In-reply-to: References: Comments: In-reply-to Alexander Korotkov message dated "Fri, 19 Aug 2016 09:12:28 +0300" Date: Fri, 19 Aug 2016 09:46:12 -0400 Message-ID: <31991.1471614372@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 Alexander Korotkov writes: > originally this idea was proposed by Andres Freund while experimenting with > lockfree Pin/UnpinBuffer [1]. > The patch is attached as well as results of pgbench -S on 72-cores > machine. As before it shows huge benefit in this case. That's one mighty ugly patch. Can't you do it without needing to introduce the additional layer of struct nesting? 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