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 1oSmlH-0006QU-6m for pgsql-hackers@arkaria.postgresql.org; Mon, 29 Aug 2022 21:57:39 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1oSmlG-0006vg-3J for pgsql-hackers@arkaria.postgresql.org; Mon, 29 Aug 2022 21:57:38 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oSmlF-0006vX-R3 for pgsql-hackers@lists.postgresql.org; Mon, 29 Aug 2022 21:57:37 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oSmlD-0000Sm-IJ for pgsql-hackers@lists.postgresql.org; Mon, 29 Aug 2022 21:57:37 +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 27TLvSUl3407186; Mon, 29 Aug 2022 17:57:28 -0400 From: Tom Lane To: David Rowley cc: Tomas Vondra , Amit Kapila , Andres Freund , Robert Haas , Yura Sokolov , PostgreSQL Developers Subject: Re: Reducing the chunk header sizes on all memory context types In-reply-to: References: <20220809184410.g6yzu6pvttuphag5@awork3.anarazel.de> <3137572.1661780863@sss.pgh.pa.us> <3205803.1661786437@sss.pgh.pa.us> <3209705.1661787794@sss.pgh.pa.us> Comments: In-reply-to David Rowley message dated "Tue, 30 Aug 2022 09:55:03 +1200" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <3407184.1661810248.1@sss.pgh.pa.us> Date: Mon, 29 Aug 2022 17:57:28 -0400 Message-ID: <3407185.1661810248@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk David Rowley writes: > I've read over the emails and glanced at Tomas' patch. I think that > seems good. I think I'd rather see us do that than pad the struct out > further as Tomas' method is more aligned to what we do in aset.c > (ALLOC_BLOCKHDRSZ) and generation.c (Generation_BLOCKHDRSZ). > I can adjust Tomas' patch to #define Slab_BLOCKHDRSZ WFM regards, tom lane