Re: [COMMITTERS] pgsql: Move each SLRU's lwlocks to a separate tranche.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: Andres Freund <andres(at)anarazel(dot)de>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [COMMITTERS] pgsql: Move each SLRU's lwlocks to a separate tranche.
Date: 2016-03-25 16:47:02
Message-ID: 14166.1458924422@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

Robert Haas <robertmhaas(at)gmail(dot)com> writes:
> On Fri, Mar 25, 2016 at 9:48 AM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>> Robert Haas <robertmhaas(at)gmail(dot)com> writes:
>>> It's stupid that we keep spending time and energy figuring out which
>>> shared memory data structures require alignment and which ones don't.
>>> Let's just align them *all* and be done with it. The memory cost
>>> shouldn't be more than a few kB.

>> I think such a proposal should come with a measurement, not just
>> speculation about what it costs.

> About 6kB with default settings. See below.

Sold, then.

regards, tom lane

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2016-03-25 19:53:02 pgsql: In PL/Tcl, make database errors return additional info in the er
Previous Message Tom Lane 2016-03-25 16:33:27 pgsql: Fix DROP OPERATOR to reset oprcom/oprnegate links to the dropped

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2016-03-25 16:49:27 Re: Breakage with VACUUM ANALYSE + partitions
Previous Message Tom Lane 2016-03-25 16:39:16 Re: [PATCH] fix DROP OPERATOR to reset links to itself on commutator and negator