From: Tom Lane <tgl@sss.pgh.pa.us>
To: Robert Haas <robertmhaas@gmail.com>
Cc: PostgreSQL mailing lists <pgsql-hackers@postgresql.org>
Subject: Re: [COMMITTERS] pgsql: Introduce dynamic shared memory areas.
Date: Mon, 05 Dec 2016 12:41:16 -0500
Message-ID: <20995.1480959676@sss.pgh.pa.us> (raw)
In-Reply-To: <CA+TgmoZHwG631X7PT8pkv3HPtq3-oS=Xux2Y4rDBZ90e4sj5eQ@mail.gmail.com>
References: <E1cCrkl-0000JT-16@gemulon.postgresql.org>
<CAB7nPqSAYdAfMAx0F+r1Z6quebc4SJDaK4uiJW9cpxnDizc8Lg@mail.gmail.com>
<18166.1480955837@sss.pgh.pa.us>
<CA+TgmoZHwG631X7PT8pkv3HPtq3-oS=Xux2Y4rDBZ90e4sj5eQ@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>
Robert Haas <robertmhaas@gmail.com> writes:
> It's not quite the same thing, because control->max_total_segment_size
> is a total of the memory used by all allocations plus the associated
> bookkeeping overhead, not the amount of memory used by a single
> allocation.
Really? Why doesn't it start out at zero then?
Given your later argumentation, I wonder why we're trying to implement
any kind of limit at all, rather than just operating on the principle
that it's the kernel's problem to enforce a limit. In short, maybe
removing max_total_segment_size would do fine.
regards, tom lane
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
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-committers@postgresql.org
Cc: tgl@sss.pgh.pa.us, robertmhaas@gmail.com, pgsql-hackers@postgresql.org
Subject: Re: [COMMITTERS] pgsql: Introduce dynamic shared memory areas.
In-Reply-To: <20995.1480959676@sss.pgh.pa.us>
References: <E1cCrkl-0000JT-16@gemulon.postgresql.org> <CAB7nPqSAYdAfMAx0F+r1Z6quebc4SJDaK4uiJW9cpxnDizc8Lg@mail.gmail.com> <18166.1480955837@sss.pgh.pa.us> <CA+TgmoZHwG631X7PT8pkv3HPtq3-oS=Xux2Y4rDBZ90e4sj5eQ@mail.gmail.com> <20995.1480959676@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