Re: Time to up bgwriter_lru_maxpages?

From: Jim Nasby <Jim(dot)Nasby(at)BlueTreble(dot)com>
To: Andres Freund <andres(at)anarazel(dot)de>
Cc: Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Time to up bgwriter_lru_maxpages?
Date: 2017-02-13 03:21:16
Message-ID: 35135d8a-1f7b-cb0e-2b33-09231e300366@BlueTreble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 2/3/17 7:34 PM, Andres Freund wrote:
> On 2017-02-03 19:26:55 -0600, Jim Nasby wrote:
>> On 2/3/17 6:20 PM, Andres Freund wrote:
>>>> - The ringbuffers in shared buffers can be problematic. One possible way of
>>>> solving that is to get rid of ringbuffers entirely and rely on different
>>>> initial values for usage_count instead, but that's not desirable if it just
>>>> means more clock sweep work for backends.
>>> I'm not quite sure which ringbuffer you're referring to here? If to the
>>> new one, why is it problematic?
>>
>> No, I mean the non-default BufferAccessStrategy's.
>
> That's not a ringbuffer that's a buffer ring ;)

In my defense, there's at least one mention of 'ring buffer' in
storage/buffers. I thought there were more.

Yet more reason to just get rid of them ;P
--
Jim Nasby, Data Architect, Blue Treble Consulting, Austin TX
Experts in Analytics, Data Architecture and PostgreSQL
Data in Trouble? Get it in Treble! http://BlueTreble.com
855-TREBLE2 (855-873-2532)

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Jim Nasby 2017-02-13 03:25:09 Re: Commit fest 2017-01 will begin soon!
Previous Message Jim Nasby 2017-02-13 03:09:35 Re: 'text' instead of 'unknown' in Postgres 10