Re: Scaling shared buffer eviction - Mailing list pgsql-hackers

From Andres Freund
Subject Re: Scaling shared buffer eviction
Date
Msg-id 20141002144420.GA25554@awork2.anarazel.de
Whole thread Raw
In response to Re: Scaling shared buffer eviction  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: Scaling shared buffer eviction
List pgsql-hackers
On 2014-10-02 10:40:30 -0400, Robert Haas wrote:
> On Thu, Oct 2, 2014 at 10:36 AM, Andres Freund <andres@2ndquadrant.com> wrote:
> >> OK.
> >
> > Given that the results look good, do you plan to push this?
> 
> By "this", you mean the increase in the number of buffer mapping
> partitions to 128, and a corresponding increase in MAX_SIMUL_LWLOCKS?

Yes. Now that I think about it I wonder if we shouldn't define MAX_SIMUL_LWLOCKS like
#define MAX_SIMUL_LWLOCKS    (NUM_BUFFER_PARTITIONS + 64)
or something like that?

> If so, and if you don't have any reservations, yeah I'll go change it.

Yes, I'm happy with going forward.


Greetings,

Andres Freund

-- Andres Freund                       http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training &
Services



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: Scaling shared buffer eviction
Next
From: Robert Haas
Date:
Subject: Re: Inefficient barriers on solaris with sun cc