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 1oTYMs-0004EX-Lh for pgsql-hackers@arkaria.postgresql.org; Thu, 01 Sep 2022 00:47:38 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1oTYLs-0005yo-Gv for pgsql-hackers@arkaria.postgresql.org; Thu, 01 Sep 2022 00:46:36 +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 1oTYLs-0005yA-6T for pgsql-hackers@lists.postgresql.org; Thu, 01 Sep 2022 00:46:36 +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 1oTYLq-0001fc-6b for pgsql-hackers@lists.postgresql.org; Thu, 01 Sep 2022 00:46:35 +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 2810kTjp217243; Wed, 31 Aug 2022 20:46:29 -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: <3137572.1661780863@sss.pgh.pa.us> <3205803.1661786437@sss.pgh.pa.us> <3478405.1661824539@sss.pgh.pa.us> <3605020.1661865981@sss.pgh.pa.us> <3613565.1661869054@sss.pgh.pa.us> <60560f75-8b15-a7cc-67bc-a7bf3e8472ee@enterprisedb.com> <209211.1661991821@sss.pgh.pa.us> Comments: In-reply-to David Rowley message dated "Thu, 01 Sep 2022 12:31:58 +1200" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <217241.1661993189.1@sss.pgh.pa.us> Date: Wed, 31 Aug 2022 20:46:29 -0400 Message-ID: <217242.1661993189@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk David Rowley writes: > Maybe we should just consider always making room for a sentinel for > chunks that are on dedicated blocks. At most that's an extra 8 bytes > in some allocation that's either over 1024 or 8192 (depending on > maxBlockSize). Agreed, if we're not doing that already then we should. regards, tom lane