pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: David Rowley <dgrowleyml@gmail.com>
Cc: Tomas Vondra <tomas.vondra@enterprisedb.com>
Cc: Amit Kapila <amit.kapila16@gmail.com>
Cc: Andres Freund <andres@anarazel.de>
Cc: Robert Haas <robertmhaas@gmail.com>
Cc: Yura Sokolov <y.sokolov@postgrespro.ru>
Cc: PostgreSQL Developers <pgsql-hackers@lists.postgresql.org>
Subject: Re: Reducing the chunk header sizes on all memory context types
Date: Wed, 07 Sep 2022 00:56:15 -0400
Message-ID: <3566065.1662526575@sss.pgh.pa.us> (raw)
In-Reply-To: <CAApHDvrbg1QmHLB3NB_3D22m8Jsq26x98ZjO05pGac+RLn705w@mail.gmail.com>
References: <CAApHDvpjauCRXcgcaL6+e3eqecEHoeRm9D-kcbuvBitgPnW=vw@mail.gmail.com>
	<CAApHDvrbd3y4QxRANd7oFZBXVJ7ZmwUjxSYDLFEMOZY8uyQzRg@mail.gmail.com>
	<CAApHDvrvWMqB6kR-=6qz7n+Jb4Et8VkfnOufwKKLDz5kOm=AEA@mail.gmail.com>
	<CAApHDvociYOk=OTxw0XmO9BR38Covk13M_wg8nt8N7aySWKbLw@mail.gmail.com>
	<3137572.1661780863@sss.pgh.pa.us>
	<f1d04651-caf9-5c6d-1bf0-c9feac16df10@enterprisedb.com>
	<3205803.1661786437@sss.pgh.pa.us>
	<fc3a36eb-0767-d915-cdbd-e531983dc1de@enterprisedb.com>
	<b2f03d6e-083c-b500-b71b-d0acb06abe38@enterprisedb.com>
	<b6c0c5bb-d92d-5140-bbef-93d1a6a3a13e@enterprisedb.com>
	<3478405.1661824539@sss.pgh.pa.us>
	<CAApHDvp0gzQq_sK=kTbFRm+p-1sxcSv5xt_n6cBvm1GAiSDskg@mail.gmail.com>
	<3605020.1661865981@sss.pgh.pa.us>
	<3613565.1661869054@sss.pgh.pa.us>
	<CAApHDvp0DKT9F+d9tVZquzLhiHz3B7S4K7TtT2XUu_5eo+Tn9g@mail.gmail.com>
	<60560f75-8b15-a7cc-67bc-a7bf3e8472ee@enterprisedb.com>
	<CAApHDvrkeikW+ovQb-j4v53mXzpt9qJoXPuE3U6gS7tgK=2q6g@mail.gmail.com>
	<209211.1661991821@sss.pgh.pa.us>
	<CAAp! HDvoKg1Nf1GZgaL9WeS+srja2+UBgFxjYDkO-A2_XHbfU-A@mail.gmail.com>
	<217242.1661993189@sss.pgh.pa.us>
	<CAApHDvqOJ8Uo8=pQwq0nF6EH4ugCdEOMd6sZRgFHL35j5WZv6w@mail.gmail.com>
	<CAApHDvopbjBKHNOY5VADMgQF2v9aud3eAXh2TNPOnX26=7of7Q@mail.gmail.com>
	<CAApHDvrbg1QmHLB3NB_3D22m8Jsq26x98ZjO05pGac+RLn705w@mail.gmail.com>

David Rowley <dgrowleyml@gmail.com> 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





view thread (152+ messages)  latest in thread

Message-ID: <3566065.1662526575@sss.pgh.pa.us>
Permalink:  ../3566065.1662526575@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/3566065.1662526575@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-hackers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, dgrowleyml@gmail.com, tomas.vondra@enterprisedb.com, amit.kapila16@gmail.com, andres@anarazel.de, robertmhaas@gmail.com, y.sokolov@postgrespro.ru
  Subject: Re: Reducing the chunk header sizes on all memory context types
  In-Reply-To: <3566065.1662526575@sss.pgh.pa.us>
  References: <CAApHDvpjauCRXcgcaL6+e3eqecEHoeRm9D-kcbuvBitgPnW=vw@mail.gmail.com> <3205803.1661786437@sss.pgh.pa.us> <fc3a36eb-0767-d915-cdbd-e531983dc1de@enterprisedb.com> <b2f03d6e-083c-b500-b71b-d0acb06abe38@enterprisedb.com> <b6c0c5bb-d92d-5140-bbef-93d1a6a3a13e@enterprisedb.com> <3478405.1661824539@sss.pgh.pa.us> <CAApHDvp0gzQq_sK=kTbFRm+p-1sxcSv5xt_n6cBvm1GAiSDskg@mail.gmail.com> <3605020.1661865981@sss.pgh.pa.us> <3613565.1661869054@sss.pgh.pa.us> <CAApHDvp0DKT9F+d9tVZquzLhiHz3B7S4K7TtT2XUu_5eo+Tn9g@mail.gmail.com> <60560f75-8b15-a7cc-67bc-a7bf3e8472ee@enterprisedb.com> <CAApHDvrkeikW+ovQb-j4v53mXzpt9qJoXPuE3U6gS7tgK=2q6g@mail.gmail.com> <209211.1661991821@sss.pgh.pa.us> <217242.1661993189@sss.pgh.pa.us> <CAApHDvqOJ8Uo8=pQwq0nF6EH4ugCdEOMd6sZRgFHL35j5WZv6w@mail.gmail.com> <CAApHDvopbjBKHNOY5VADMgQF2v9aud3eAXh2TNPOnX26=7of7Q@mail.gmail.com> <CAApHDvrbg1QmHLB3NB_3D22m8Jsq26x98ZjO05pGac+RLn705w@mail.gmail.com> <3566065.1662526575@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox