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, 31 Aug 2022 20:46:29 -0400
Message-ID: <217242.1661993189@sss.pgh.pa.us> (raw)
In-Reply-To: <CAApHDvoKg1Nf1GZgaL9WeS+srja2+UBgFxjYDkO-A2_XHbfU-A@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>
	<a6ab9367-bcf4-116a-39b7-c9b1afbe8cfc@e! nterprisedb.com>
	<209211.1661991821@sss.pgh.pa.us>
	<CAApHDvoKg1Nf1GZgaL9WeS+srja2+UBgFxjYDkO-A2_XHbfU-A@mail.gmail.com>

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





view thread (152+ messages)  latest in thread

Message-ID: <217242.1661993189@sss.pgh.pa.us>
Permalink:  ../217242.1661993189@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/217242.1661993189@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: <217242.1661993189@sss.pgh.pa.us>
  References: <CAApHDvpjauCRXcgcaL6+e3eqecEHoeRm9D-kcbuvBitgPnW=vw@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> <CAApHDvoKg1Nf1GZgaL9WeS+srja2+UBgFxjYDkO-A2_XHbfU-A@mail.gmail.com> <217242.1661993189@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