Re: CLOG contention - Mailing list pgsql-hackers

From Simon Riggs
Subject Re: CLOG contention
Date
Msg-id CA+U5nM+qzVqsh3ODqzp36yWfRA8niavATpBHzMGbAsT_5X4N_Q@mail.gmail.com
Whole thread Raw
In response to Re: CLOG contention  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: CLOG contention  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
Re: CLOG contention  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
On Thu, Jan 5, 2012 at 4:04 PM, Robert Haas <robertmhaas@gmail.com> wrote:

> It appears to me that increasing the number of CLOG buffers reduced
> the severity of the latency spikes considerably.  In the last 100
> seconds, for example, master has several spikes in the 500-700ms
> range, but with 32 CLOG buffers it never goes above 400 ms.  Also, the
> number of points associated with each spike is considerably less -
> each spike seems to affect fewer transactions.  So it seems that at
> least on this machine, increasing the number of CLOG buffers both
> improves performance and reduces latency.

I believed before that the increase was worthwhile and now even more so.

Let's commit the change to 32.

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


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: FATAL: bogus data in lock file "postmaster.pid": ""
Next
From: "Kevin Grittner"
Date:
Subject: Re: CLOG contention