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 1oVn6u-0005Ng-PN for pgsql-hackers@arkaria.postgresql.org; Wed, 07 Sep 2022 04:56:24 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1oVn6t-0000Op-Ge for pgsql-hackers@arkaria.postgresql.org; Wed, 07 Sep 2022 04:56:23 +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 1oVn6t-0000Og-7C for pgsql-hackers@lists.postgresql.org; Wed, 07 Sep 2022 04:56:23 +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 1oVn6r-0004lK-0k for pgsql-hackers@lists.postgresql.org; Wed, 07 Sep 2022 04:56:22 +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 2874uFl13566066; Wed, 7 Sep 2022 00:56:15 -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> <217242.1661993189@sss.pgh.pa.us> Comments: In-reply-to David Rowley message dated "Wed, 07 Sep 2022 16:13:37 +1200" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <3566064.1662526575.1@sss.pgh.pa.us> Date: Wed, 07 Sep 2022 00:56:15 -0400 Message-ID: <3566065.1662526575@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk David Rowley writes: > It seems a pretty large portion of allocation request sizes are > power-of-2 sized and use AllocSet. No surprise there, we've been programming with aset.c's behavior in mind for ~20 years ... regards, tom lane