Re: Minor optimisation of XLogInsert()

Robert Haas <robertmhaas@gmail.com>

From: Robert Haas <robertmhaas@gmail.com>
To: Simon Riggs <simon@2ndquadrant.com>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2011-11-16T14:33:16Z
Lists: pgsql-hackers
On Tue, Nov 15, 2011 at 6:24 AM, Simon Riggs <simon@2ndquadrant.com> wrote:
> Patch adds cacheline padding around parts of XLogCtl.
>
> Idea from way back, but never got performance tested in a situation
> where WALInsertLock was the bottleneck.
>
> So this is speculative, in need of testing to investigate value.

I kicked off a round of benchmarking around this.  I'll post results
in a few hours when the run finishes.

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