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

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
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-04-05 19:48:22
Message-ID: CA+TgmobOqZt1FG2YpmvpUoOBRPHL5vjnHy8cay6fs_h1pM-hLw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

On Fri, Mar 25, 2016 at 12:47 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> 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.

Excellent. Done.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2016-04-05 20:02:55 Re: pgsql: Disallow newlines in parameter values to be set in ALTER SYSTEM.
Previous Message Robert Haas 2016-04-05 19:48:09 pgsql: Align all shared memory allocations to cache line boundaries.

Browse pgsql-hackers by date

  From Date Subject
Next Message Fabrízio de Royes Mello 2016-04-05 19:55:31 Unused macros in src/include/access/transam.h
Previous Message Robert Haas 2016-04-05 19:25:51 Re: Combining Aggregates