Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ajUuW-0005Xz-Vv for pgsql-hackers@arkaria.postgresql.org; Fri, 25 Mar 2016 16:48:33 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1ajUuW-000171-IX for pgsql-hackers@arkaria.postgresql.org; Fri, 25 Mar 2016 16:48:32 +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 1ajUtA-000823-Vx for pgsql-hackers@postgresql.org; Fri, 25 Mar 2016 16:47:09 +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 1ajUt8-0006Yj-4H for pgsql-hackers@postgresql.org; Fri, 25 Mar 2016 16:47:07 +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 u2PGl2Ws014167; Fri, 25 Mar 2016 12:47:02 -0400 From: Tom Lane To: Robert Haas cc: Andres Freund , "pgsql-hackers@postgresql.org" Subject: Re: [COMMITTERS] pgsql: Move each SLRU's lwlocks to a separate tranche. In-reply-to: References: <20160325070506.56i5p7jzxwqfljm6@alap3.anarazel.de> <31588.1458913723@sss.pgh.pa.us> Comments: In-reply-to Robert Haas message dated "Fri, 25 Mar 2016 11:19:01 -0400" Date: Fri, 25 Mar 2016 12:47:02 -0400 Message-ID: <14166.1458924422@sss.pgh.pa.us> X-Pg-Spam-Score: -2.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 Robert Haas writes: > On Fri, Mar 25, 2016 at 9:48 AM, Tom Lane wrote: >> Robert Haas writes: >>> It's stupid that we keep spending time and energy figuring out which >>> shared memory data structures require alignment and which ones don't. >>> Let's just align them *all* and be done with it. The memory cost >>> shouldn't be more than a few kB. >> I think such a proposal should come with a measurement, not just >> speculation about what it costs. > About 6kB with default settings. See below. Sold, then. 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